aspose 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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Removing empty nodes from SOAP requests and responses