atlsrvweb.wsdl

来自「Visual_C++.NET实用编程百例」· WSDL 代码 · 共 56 行

WSDL
56
字号
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="urn:atlSrvWebService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="urn:atlSrvWebService" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="urn:atlSrvWebService">
      <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    </s:schema>
  </types>
  <message name="HelloWorldIn">
    <part name="bstrInput" type="s:string" />
  </message>
  <message name="HelloWorldOut">
    <part name="return" type="s:string" />
  </message>
  <message name="MyMethodIn">
    <part name="dNum" type="s:double" />
  </message>
  <message name="MyMethodOut">
    <part name="return" type="s:double" />
  </message>
  <portType name="atlSrvWebServiceSoap">
    <operation name="HelloWorld">
      <input message="s0:HelloWorldIn" />
      <output message="s0:HelloWorldOut" />
    </operation>
    <operation name="MyMethod">
      <input message="s0:MyMethodIn" />
      <output message="s0:MyMethodOut" />
    </operation>
  </portType>
  <binding name="atlSrvWebServiceSoap" type="s0:atlSrvWebServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
    <operation name="HelloWorld">
      <soap:operation soapAction="#HelloWorld" style="rpc" />
      <input>
        <soap:body use="encoded" namespace="urn:atlSrvWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:atlSrvWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
    <operation name="MyMethod">
      <soap:operation soapAction="#MyMethod" style="rpc" />
      <input>
        <soap:body use="encoded" namespace="urn:atlSrvWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:atlSrvWebService" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
      </output>
    </operation>
  </binding>
  <service name="atlSrvWebService">
    <port name="atlSrvWebServiceSoap" binding="s0:atlSrvWebServiceSoap">
      <soap:address location="http://localhost:80/atlSrvWeb/atlSrvWeb.dll?Handler=Default" />
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

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