This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Structure of SOAP response" Watch "Structure of SOAP response" New topic
Author

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: http://aspose.com/file-tools
 
subject: Structure of SOAP response
 
Similar Threads
How do I add custom tag libraries in a JSP page?
have a question about checking an array of input text
Best practice in setting xml node values
javax/servlet/jsp/tagext/JspIdConsumer exception in JSF Richfaces
Element values in different rows