473,512 Members | 15,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SOAP Web Service output and href= ??

I'm trying to process output from a Web Service using XSL. The output
XML seems to randomly render some tags as hrefs to other tags, making
the job of parsing the result with XSL really difficult.

In the example below, the "comments" block contains an array of objects,
each of which has various properties defined by contained tags. Instead
of including the text values of those properties, the web service's
serializer created the property tags with href= attributes pointing to
xsd:string tags OUTSIDE the response object (i.e. at the top level
within the SOAP envelope body)
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:fetchRequestResponse xmlns:m="http://cesd7001:8001/webservices/javaclass">
<result xmlns:n1="java:com.wholefoods.ittoolkit.ws.ccf"
type="n1:FetchRequestResults">
<exception nil="true" />
<request type="n1:Request">
[snip]
<comments arrayType="xsd:anyType[1]">
<anyType type="n1:Comment">
<createTs type="xsd:dateTime">2007-03-23T10:21:51-05:00</createTs>
<reqId type="xsd:long">0</reqId>
<sectionId href="#ID_40" />
<text href="#ID_41" />
<userId href="#ID_42" />
</anyType>
</comments>
[snip]
</request>
<result nil="true" />
</result>
</m:fetchRequestResponse>
<xsd:string id="ID_40" type="xsd:string">A</xsd:string>
<xsd:string id="ID_41" type="xsd:string">This is a test comment</xsd:string>
<xsd:string id="ID_42" type="xsd:string">garrisoj</xsd:string>
</env:Body>
</env:Envelope>

Some questions:

1) Is there a parameter I can specify at the server end that will cause
it to generate all output inline instead of using HREFs? The server
is WebLogic 8.1.6.

2) Alternatively, is there an XSL processor option that automatically
resolves hrefs and expands them inline?
Mar 28 '07 #1
0 1515

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1609
by: chr | last post by:
Hi, I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the...
0
404
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
0
2233
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. ...
4
2639
by: Jit Prasad | last post by:
I have been consuming a IBM Websphere (Java) web service using .Net 1.0 front end writen in VB.NET. The proxy class submits a soap request and gets a soap response. When I migrated the front-end...
3
9775
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
4
7666
by: Henrik | last post by:
Hi all,, I'm trying to make a program, that calls a webservice, and then does somthing about the data, that i recive.. But i don't know what to do with this data??.. i tried to load into an...
0
4811
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
0
610
by: Jim Garrison | last post by:
I'm trying to process output from a Web Service using XSL. The output XML seems to randomly render some tags as hrefs to other tags, making the job of parsing the result with XSL really difficult....
0
2679
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
4
11979
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.