Can you set the content type property as follows:
<property name="Content-Type" value="application/rdf+xml" scope="transport"/>
Remove other content type properties.
If you define it like this:
[1]<property name="messageType" value="application/rdf+xml" scope="axis2" type="STRING"/> [2]<property name="ContentType" value="application/rdf+xml" scope="axis2" type="STRING"/>
[1] to select messageformatter
[2] to select message builders
Change try like this
<inSequence> <log level="custom"> <property name="in seq --------------of proxy" expression="$trp:Content-Type"/> </log> <property name="messageType" value="application/json" scope="axis2" type="STRING"/> <property name="Content-Type" value="application/json" scope="transport" type="STRING"/> <log level="custom"> <property name="in seq --------------of proxy" expression="$trp:Content-Type"/> </log> <send> <endpoint> <address uri="http://localhost:5555/com"/> </endpoint> </send>
Ratha source share