You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Asankha C. Perera" <as...@wso2.com> on 2007/05/04 13:39:43 UTC

Converting a SOAP 1.1 Message Context (with an existing envelope) into SOAP 1.2 MessageContext

Hi

What is the correct way to "convert" an existing SOAP 1.1 message 
context (with a SOAP 1.1 envelope as well) into a SOAP 1.2 message 
context? Do I have to create a new SOAP 1.2 envelope and copy the 
payload from the 1.1.. or is there any other way?

Seems like MessageContext.setIsSOAP11Explicit(false) etc. does not 
convert the existing envelope.. but only the content type of the message 
when serialized, causing "Transport level information does not match 
with SOAP Message namespace URI" error..

thanks
asankha

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org