get 要求を受け入れ、XML 検証結果を返すいくつかの XSBRL 検証を実行するようにプロキシ サービスを構成しました。プロキシ サービスの構成は次のとおりです。
<proxy xmlns="http://ws.apache.org/ns/synapse" name="XBRLValidationRESTService" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
<inSequence>
<log level="full"/>
<property name="REST_URL_POSTFIX" value="/example.xbrl/validation/xbrl?media=xml" scope="axis2"/>
<property name="HTTP_METHOD" value="GET" scope="axis2"/>
<send>
<endpoint>
<address uri="http://localhost:10000/rest/xbrl" format="pox"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<log level="full"/>
<send/>
</outSequence>
</target>
<description></description>
</proxy>
ログ ファイルを見ると、基礎となるサービスが期待どおりの応答を返していることがわかりますが、何らかの理由で ESB が NPE で失敗するため、クライアントは何も返されません。
localhost から使用されるリクエスト:
curl -k https://localhost:9443/services/XBRLValidationRESTService
完全なログ: http://pastebin.com/A5jB9wMF
その潜在的な理由と、それを修正する方法。
ありがとう、ウラジミール。