my dog learned polymorphism*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Removing empty nodes from SOAP requests and responses
 
Similar Threads
Seeking ideas on testing web services with JUnit/Ant
Code to get SOAP request
Cannot find child element: arg0
getting null response while calling glue webservice
wsdl schema validation and validation message