Hi I am trying to send a request with header content-type as text/xml but I am getting application/xml.
wire logs are as follows:
DEBUG {header} - >> "Content-Type: application/xml; charset=UTF-8[\r][\n]"
The code I have used to make content-type text/xml is as follows:
1. <header name="Content-Type" scope="transport" value="text/xml"/>
2. <property name="ContentType" scope="axis2" value="text/xml"/>
I have used both of these lines both resulted in application/xml. How to ensure the content-type is text/xml instead of application/xml ?
Any help would mean a lot
Set the following property.
<property name="messageType" value="text/xml" scope="axis2"/>