xslt メディエータを使用してメッセージを変換し、JSON に変換するプロキシ サービスを作成しました。JSON メッセージを残りの Web サービスに投稿したいのですが、プロキシ サービスで直接行うにはどうすればよいですか? これは私のプロキシサービスです:
<proxy xmlns="http://ws.apache.org/ns/synapse" name="CategoryProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
<inSequence>
<property name="Authorization" expression="fn:concat('Basic ', base64Encode('admin:admin'))" scope="transport" type="STRING"/>
<send>
<endpoint>
<address uri="http://localhost:8068/database/library.author/301"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<xslt key="conf:/ressources/catXsl.xsl"/>
<property name="messageType" value="application/json" scope="axis2" type="STRING"/>
<send/>
</outSequence>
<faultSequence/>
</target>
<description></description>
</proxy>
このプロキシによって送信されたメッセージを残りの Web リソースに投稿したいのですが、プロキシでそれを行うにはどうすればよいですか?