service.wsdl
来自「微软(Microsoft)出版社C井练习文件及解答」· WSDL 代码 · 共 122 行
WSDL
122 行
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.contentmaster.com/NorthwindServices" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.contentmaster.com/NorthwindServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.contentmaster.com/NorthwindServices">
<s:element name="HowMuchWillItCost">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="productName" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="howMany" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="HowMuchWillItCostResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="HowMuchWillItCostResult" type="s:decimal" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetProductInfo">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="productName" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetProductInfoResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProductInfoResult" type="tns:Product" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Product">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ProductID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="ProductName" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="SupplierID" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="CategoryID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="QuantityPerUnit" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="UnitPrice" type="s:decimal" />
<s:element minOccurs="1" maxOccurs="1" name="UnitsInStock" type="s:short" />
<s:element minOccurs="1" maxOccurs="1" name="UnitsOnOrder" type="s:short" />
<s:element minOccurs="1" maxOccurs="1" name="ReorderLevel" type="s:short" />
<s:element minOccurs="1" maxOccurs="1" name="Discontinued" type="s:boolean" />
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="HowMuchWillItCostSoapIn">
<wsdl:part name="parameters" element="tns:HowMuchWillItCost" />
</wsdl:message>
<wsdl:message name="HowMuchWillItCostSoapOut">
<wsdl:part name="parameters" element="tns:HowMuchWillItCostResponse" />
</wsdl:message>
<wsdl:message name="GetProductInfoSoapIn">
<wsdl:part name="parameters" element="tns:GetProductInfo" />
</wsdl:message>
<wsdl:message name="GetProductInfoSoapOut">
<wsdl:part name="parameters" element="tns:GetProductInfoResponse" />
</wsdl:message>
<wsdl:portType name="ServiceSoap">
<wsdl:operation name="HowMuchWillItCost">
<wsdl:input message="tns:HowMuchWillItCostSoapIn" />
<wsdl:output message="tns:HowMuchWillItCostSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetProductInfo">
<wsdl:input message="tns:GetProductInfoSoapIn" />
<wsdl:output message="tns:GetProductInfoSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceSoap" type="tns:ServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="HowMuchWillItCost">
<soap:operation soapAction="http://www.contentmaster.com/NorthwindServices/HowMuchWillItCost" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductInfo">
<soap:operation soapAction="http://www.contentmaster.com/NorthwindServices/GetProductInfo" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="HowMuchWillItCost">
<soap12:operation soapAction="http://www.contentmaster.com/NorthwindServices/HowMuchWillItCost" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductInfo">
<soap12:operation soapAction="http://www.contentmaster.com/NorthwindServices/GetProductInfo" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="Service">
<wsdl:port name="ServiceSoap" binding="tns:ServiceSoap">
<soap:address location="http://localhost:4500/NorthwindServices%20Complete/Service.asmx" />
</wsdl:port>
<wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12">
<soap12:address location="http://localhost:4500/NorthwindServices%20Complete/Service.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?