⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 soapheader.wsdl

📁 这是《ASP.NET编程实作教程》一书中的源文件 如果有此书的朋友不防下载过来参考
💻 WSDL
字号:
<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s0="http://tempuri.org/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <types>
    <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="SecureMethod">
        <s:complexType />
      </s:element>
      <s:element name="SecureMethodResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="SecureMethodResult" nillable="true" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="mySoapHeader" type="s0:mySoapHeader" />
      <s:complexType name="mySoapHeader">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="Username" nillable="true" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Password" nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </types>
  <message name="SecureMethodSoapIn">
    <part name="parameters" element="s0:SecureMethod" />
  </message>
  <message name="SecureMethodSoapOut">
    <part name="parameters" element="s0:SecureMethodResponse" />
  </message>
  <message name="SecureMethodmySoapHeader">
    <part name="mySoapHeader" element="s0:mySoapHeader" />
  </message>
  <portType name="HeaderServiceSoap">
    <operation name="SecureMethod">
      <input message="s0:SecureMethodSoapIn" />
      <output message="s0:SecureMethodSoapOut" />
    </operation>
  </portType>
  <portType name="HeaderServiceHttpGet" />
  <portType name="HeaderServiceHttpPost" />
  <binding name="HeaderServiceSoap" type="s0:HeaderServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <operation name="SecureMethod">
      <soap:operation soapAction="http://tempuri.org/SecureMethod" style="document" />
      <input>
        <soap:body use="literal" />
        <soap:header n1:required="true" message="s0:SecureMethodmySoapHeader" part="mySoapHeader" use="literal" xmlns:n1="http://schemas.xmlsoap.org/wsdl/" />
      </input>
      <output>
        <soap:body use="literal" />
      </output>
    </operation>
  </binding>
  <binding name="HeaderServiceHttpGet" type="s0:HeaderServiceHttpGet">
    <http:binding verb="GET" />
  </binding>
  <binding name="HeaderServiceHttpPost" type="s0:HeaderServiceHttpPost">
    <http:binding verb="POST" />
  </binding>
  <service name="HeaderService">
    <port name="HeaderServiceSoap" binding="s0:HeaderServiceSoap">
      <soap:address location="http://127.0.0.1/samples/chapter19/webservice/soapheader.asmx" />
    </port>
    <port name="HeaderServiceHttpGet" binding="s0:HeaderServiceHttpGet">
      <http:address location="http://127.0.0.1/samples/chapter19/webservice/soapheader.asmx" />
    </port>
    <port name="HeaderServiceHttpPost" binding="s0:HeaderServiceHttpPost">
      <http:address location="http://127.0.0.1/samples/chapter19/webservice/soapheader.asmx" />
    </port>
  </service>
</definitions>

⌨️ 快捷键说明

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