webstest.wsdl

来自「基于Delphi6的WebServices及其实现」· WSDL 代码 · 共 54 行

WSDL
54
字号
<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IMyAddSubservice" targetNamespace="http://www.borland.com/soapServices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
  <message name="MyAddRequest">
    <part name="Value1" type="xs:int"/>
    <part name="Value2" type="xs:int"/>
  </message>
  <message name="MyAddResponse">
    <part name="return" type="xs:int"/>
  </message>
  <message name="MySubRequest">
    <part name="Value1" type="xs:int"/>
    <part name="Value2" type="xs:int"/>
  </message>
  <message name="MySubResponse">
    <part name="return" type="xs:int"/>
  </message>
  <portType name="IMyAddSub">
    <operation name="MyAdd">
      <input message="MyAddRequest"/>
      <output message="MyAddResponse"/>
    </operation>
    <operation name="MySub">
      <input message="MySubRequest"/>
      <output message="MySubResponse"/>
    </operation>
  </portType>
  <binding name="IMyAddSubbinding" type="IMyAddSub">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="MyAdd">
      <soap:operation soapAction="urn:MyAddSub-IMyAddSub#MyAdd"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyAddSub-IMyAddSub"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyAddSub-IMyAddSub"/>
      </output>
    </operation>
    <operation name="MySub">
      <soap:operation soapAction="urn:MyAddSub-IMyAddSub#MySub"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyAddSub-IMyAddSub"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyAddSub-IMyAddSub"/>
      </output>
    </operation>
  </binding>
  <service name="IMyAddSubservice">
    <port name="IMyAddSubPort" binding="IMyAddSubbinding">
      <soap:address location="http://www.risksoft.com/webservice/webstest.dll/soap/IMyAddSub"/>
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?