How to modify http header
Hi,
I use the wso2 esb as a agent in order to transform message format and forward it to a soap server.
So,in my scenario,
client sends a POX message to esb and the POX message content type is application/xml,
esb would uses xslt to transform the message format from POX to SOAP and esb forwards it to a soap server.
but it doesn't work, why?
Is that problem occur in content-type(application/xml)?
Can I modify the content type from application/xml to text/xml in esb configuration?
and how to do it?
Thanks.
- Login or register to post comments
- Printer friendly version
- 168 reads











Can you please attach any
Can you please attach any error logs or output etc? We cannot help you without more details on the issue you encounter.
First of all, does the ESB accept your POX message? If so you should be able to use the Log mediator and see the payload. Then after your XSLT, do another Log and see how the message is. Then on the endpoint you defined for the SOAP service, specify format as either SOAP 1.1 or 1.2
Usually people use text/xml etc as the Content-type for POX and not application/xml - but that shouldn't be a problem
asankha