File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP Format