aspose file tools*
The moose likes Web Services and the fly likes SOAP Format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP Format" Watch "SOAP Format" New topic
Author

SOAP Format

tejaswini vasist
Greenhorn

Joined: Apr 10, 2004
Posts: 17
I would like to know the length of an entire SOAP object and the number of bytes of header, body, envelope etc.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The only reliable way to get a SOAP message's length on the wire, I believe, is to serialize it and count the bytes. How to do this serialization depends on what you mean by "SOAP object"...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: SOAP Format