SAAJ SOAPMessage: how to find content length?

L

Luke Webber

Hi.

I'm writing a SOAP service which uses SAAJ from the JWSDP to parse and
build SOAP messages. But I have one problem that has me tearing out my
little remaining hair.

I need to calculate the length of the SOAP message I'm sending out, so
that I can provide a conformant HTTP Content-Length header. Only I can't
for the life of me find anything in the APIs that will give me that
information. Can anybody help?

TIA,
Luke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top