File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Removing empty nodes from SOAP requests and responses Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Removing empty nodes from SOAP requests and responses" Watch "Removing empty nodes from SOAP requests and responses" New topic
Author

Removing empty nodes from SOAP requests and responses

Taariq San
Ranch Hand

Joined: Nov 20, 2007
Posts: 192
Hi

I currently remove empty nodes from my SOAP responses, if there are any, to save a little bit of bandwidth.
When I removed them from incoming requests I ran into trouble but that's another story.
The trouble aside, I'd like to know if a nullable field with minoccurs of 0 should be in the message, to comply with the XSD.
 
jQuery in Action, 2nd edition
 
subject: Removing empty nodes from SOAP requests and responses
 
Similar Threads
Code to get SOAP request
getting null response while calling glue webservice
Seeking ideas on testing web services with JUnit/Ant
wsdl schema validation and validation message
Cannot find child element: arg0