着信 XML を受け取り、必要な xml 形式を取得するために xslt 変換を実行するプロキシがあります。次に、JSON としてサービスに送信する必要があるため、messageType を application/json として設定しましたが、XML として到着します。
<proxy xmlns="http://ws.apache.org/ns/synapse" name="XSLTTRANSPROXY_BRYN" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
<inSequence>
<xslt key="gov:/Complete.xsl">
<property xmlns:ns="http://org.apache.synapse/xsd" name="GUID" expression="fn:substring-after(get-property('MessageID'), 'urn:uuid:')"/>
</xslt>
<property name="messageType" value="application/json" scope="axis2"/>
<log level="full"/>
</inSequence>
<outSequence>
<send/>
</outSequence>
<endpoint>
<address uri="http://localhost:54150/"/>
</endpoint>
</target>
<description></description>
</proxy>
axis2.xml ファイルでさまざまなタイプのビルダーを試しましたが、結果を変えるものはないようです。現在実行中の WSO2 ESB 4.6.0