The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: Metro: How to determine the size of the SOAP response on the server?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0
alecswan

Posts: 19
Metro: How to determine the size of the SOAP response on the server?
Posted: Jul 5, 2009 6:22 PM
 
  Click to reply to this thread Reply

(Sorry for the double-post. I wasn't able to figure out how to mark my old message as a question.)

I am looking for a way to determine the size of the SOAP response returned from a web service call before it is sent back to the client. A rough size estimate will be sufficient.

I tried to estimate the size of the response in a handler method with @PreDestroy annotation, but wasn't able to find a way to do that.

Does anybody have an idea on how to get a rough estimate of the SOAP response before sending it to the client?

Thanks.




 XML java.net RSS