This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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]
 
 
subject: SOAP Format
 
Similar Threads
Jini a Web Service ?
WA #1.....word association
I am dense
C++ to Java communication for Game Server
New IBM Cert - Developing Web Services