- PR -

WSDLの仕様について

1
投稿者投稿内容
あんぷる
会議室デビュー日: 2006/05/30
投稿数: 2
投稿日時: 2006-05-30 11:19
お世話になります。
Web Service の WSDL の仕様について質問があります。

1つのポートタイプに対し、複数のオペレーションを指定したときに、
異なるバインディングに登録するというのは有効でしょうか?
以下の例のようなWSDLになります。実際テストしたところ動作はしました。
が、動くか動かないかではなく、仕様として正しいのか、意味があるのか
というのが質問です。

よろしくお願いします。

<portType nam="testPort">
<operation name="op_1"/>
<operation name="op_2"/>
</portType>

<binding binding_A>
<operation op_1/>
</binding>
<binding binding_B>
<operation op_2/>
</binding>

<service service_A>
<port binding=binding_A>
</port>
<soap:address location="http://test.com:9010/A"/>
<port binding=binding_B>
<soap:address location="http://test2.com:9000/B"/>
</port>
</service>
1

スキルアップ/キャリアアップ(JOB@IT)