<http:urlReplacement/> 要素:
入力メッセージを構成しているすべてのメッセージパートが、WSDL 1.1 仕様で詳細に記述されている置換アルゴリズムを使用して、要求 URI 内にエンコードされることを示します。
<wsdl:input/> の従属要素として指定する必要があります。
オペレーションの基底 URI を指定する location 属性が必要です。
GET メソッドの HTTP バインディングコンポーネントでのみサポートされます。POST メソッドの場合、<http:urlEncoded> は無視されます。詳細については、POST URL Processing of the HTTP WSDL Binding Implementation を参照してください。
例:
Given this description:
<wsd:message name="MyMessage">
<wsdl:part name="partA" type="xsd:string"/>
<wsdl:part name="partB" type="xsd:string"/>
</wsdl:message>
...
<wsdl:portType name="MyPortType">
<wsdl:operation name="MyOperation">
<wsdl:input message="MyMessage"/>
</wsdl:operation>
</wsdl:portType>
...
<wsdl:binding name="MyBinding" type="MyPortType">
<http:binding verb="GET"/>
<wsdl:operation name="MyOperation/(partA)/subcategory/(partB)">
<wsdl:input>
<http:urlReplacement/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
...
<wsdl:service name="MyService">
<wsdl:port name="Port1" binding="MyBinding">
<http:address location="http://localhost/MyService/MyPort"/>
</wsdl:port>
</wsdl:service>
Given these values mapped to the input parts:
"valueY" -> "partA"
"valueZ" -> "partB"
The full HTTP request URI is:
http://localhost/MyService/MyPort/MyOperation/valueY/subcategory/valueZ
|