Hi,

Suppose ESB receives an application/xml response from backend and need to
convert it to a SOAP-1.1 message when sending out to client. I
expected <property name="messageType" value="text/xml" scope="axis2"
type="STRING"/> would use SOAP message formatter and wrap the pure XML body
inside SOAP envelope.
But it did not. The outgoing message was still PoX with text/xml
Content-Type.

Next, I tried  <property name="messageType" value="application/soap+xml"
scope="axis2" type="STRING"/> assuming that it converted the message into
SOAP-1.2. But it did not. Instead the Content-Type was changed to
"application/soap+xml" but the message was formatted as a SOAP-1.1 message.

Can someone please explain this behaviour? Isn't this a bug?

Thanks!
Charitha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to