File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Structure of SOAP response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Structure of SOAP response" Watch "Structure of SOAP response" New topic

Structure of SOAP response

sangeeta kapoor
Ranch Hand

Joined: Jun 15, 2004
Posts: 70
I have to write an XSLT to transform a SOAP response XML.
Since I have no idea about SOAP, I need some info to proceed with the XSLT.

The XML is in the form of

What I want to know it that
1. Is it possible that one <content> element has 3 <Attribute> elements, while another <Content> element has a differnet no. of attribute elements, say 4. In the XML which I have received all <content> elements have 3 <Attribute> elements. But I want to be sure (as per the rules of SOAP), if it can change in future.

2. Also, if one <content> element has 3 <Attribute> elements with "Name" attribute values as "object_id", "resource_name" and "title". Is it possible that another <content> element has 3 <<Attribute> elements which have completely different "Name" attribute values, say "abc", "xyz", "pqr".

Please help me with this.

Thank You
[ May 11, 2007: Message edited by: sangeeta kapoor ]
I agree. Here's the link:
subject: Structure of SOAP response
It's not a secret anymore!