wsdl詳解

<message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>

<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>

<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>

在這個例子中,端口 "glossaryTerms" 定義了一個名爲 "getTerm" 的 request-response 操作。

"getTerm" 操作會請求一個名爲 "getTermRequest" 的輸入消息,此消息帶有一個名爲 "term" 的參數,並將返回一個名爲 "getTermResponse" 的輸出消息,此消息帶有一個名爲 "value" 的參數。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章