*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Removing empty nodes from SOAP requests and responses
 
Similar Threads
wsdl schema validation and validation message
getting null response while calling glue webservice
Seeking ideas on testing web services with JUnit/Ant
Cannot find child element: arg0
Code to get SOAP request