Hi,

Could you explain why calling :

        String str = msgCtx.getEnvelope().toString();
        byte[] message = str.getBytes();

and:

      msgCtx.getEnvelope().serializeAndConsume(outputStream);


results in very  different SOAP messages? Payload is OK, but one
message has some namespace declarations, while the other hasn't. Also,
one message uses :

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <SOAP-ENV:Body> 


while the other message uses :

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>
  <s:Body>

Thanks.

Regards,
Angel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to