This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Removing empty nodes from SOAP requests and responses
 
It's not a secret anymore!