0
私は内部のREST実装をwso2経由で公開しようとしています。 ここAPIの定義APIを使用して内部RESTサービスを公開する
<api xmlns="http://ws.apache.org/ns/synapse" name="API" context="/api" hostname="http://toto.com" port="80">
<resource methods="POST GET" uri-template="/{methodName}">
<inSequence trace="disable">
<send>
<endpoint>
<http uri-template="http://toto.com/1.0.1/api/{uri.var.methodName}" method="GET|POST|PUSH|PUT|DELETE"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<send/>
</outSequence>
</resource>
</api>
は私だけmethodNameのを中継するために抱き合わせています。 私はwso2でかなり新しいですが、ここで何が間違っているのかわかりません。 ご協力ありがとうございます。
APIMまたはESBを使用していますか? –
この場合はAPIMを使用 –