473,493 Members | 4,319 Online
Bytes | Software Development & Data Engineering Community
Create 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 1513

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

Similar topics

0
1605
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
2230
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
2636
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
9768
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
7663
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
4807
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
2677
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
11961
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
6980
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
7192
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...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
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
5452
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
3087
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
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.