📄 productsservice.wsdl
字号:
<?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.wrox.com/Books/ProASPNET20XML/" 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.wrox.com/Books/ProASPNET20XML/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.wrox.com/Books/ProASPNET20XML/">
<s:element name="GetProducts">
<s:complexType />
</s:element>
<s:element name="GetProductsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProductsResult" type="tns:ArrayOfProduct" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfProduct">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Product" nillable="true" type="tns:Product" />
</s:sequence>
</s:complexType>
<s:complexType name="Product">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ProductID" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="CategoryID" type="s:int" />
<s:element minOccurs="0" maxOccurs="1" name="ModelNo" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ModelName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Image" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Price" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="OnSale" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="GetProductsByCategoryID">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="categoryID" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetProductsByCategoryIDResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProductsByCategoryIDResult" type="tns:ArrayOfProduct" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetProductDetails">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="productID" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetProductDetailsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetProductDetailsResult" type="tns:ArrayOfProduct" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="GetProductsSoapIn">
<wsdl:part name="parameters" element="tns:GetProducts" />
</wsdl:message>
<wsdl:message name="GetProductsSoapOut">
<wsdl:part name="parameters" element="tns:GetProductsResponse" />
</wsdl:message>
<wsdl:message name="GetProductsByCategoryIDSoapIn">
<wsdl:part name="parameters" element="tns:GetProductsByCategoryID" />
</wsdl:message>
<wsdl:message name="GetProductsByCategoryIDSoapOut">
<wsdl:part name="parameters" element="tns:GetProductsByCategoryIDResponse" />
</wsdl:message>
<wsdl:message name="GetProductDetailsSoapIn">
<wsdl:part name="parameters" element="tns:GetProductDetails" />
</wsdl:message>
<wsdl:message name="GetProductDetailsSoapOut">
<wsdl:part name="parameters" element="tns:GetProductDetailsResponse" />
</wsdl:message>
<wsdl:portType name="ProductsServiceSoap">
<wsdl:operation name="GetProducts">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method allows a remote client to retrieve all the products available in the site.</wsdl:documentation>
<wsdl:input message="tns:GetProductsSoapIn" />
<wsdl:output message="tns:GetProductsSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetProductsByCategoryID">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This method allows a remote client to retrieve all the products based on the category id</wsdl:documentation>
<wsdl:input message="tns:GetProductsByCategoryIDSoapIn" />
<wsdl:output message="tns:GetProductsByCategoryIDSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetProductDetails">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">The ProductDetailsGetObject method allows a remote client to retrieve the details of a product based on the product id in the form of a ProductDetails object.</wsdl:documentation>
<wsdl:input message="tns:GetProductDetailsSoapIn" />
<wsdl:output message="tns:GetProductDetailsSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ProductsServiceSoap" type="tns:ProductsServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetProducts">
<soap:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProducts" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductsByCategoryID">
<soap:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProductsByCategoryID" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductDetails">
<soap:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProductDetails" 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="ProductsServiceSoap12" type="tns:ProductsServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetProducts">
<soap12:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProducts" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductsByCategoryID">
<soap12:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProductsByCategoryID" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetProductDetails">
<soap12:operation soapAction="http://www.wrox.com/Books/ProASPNET20XML/GetProductDetails" 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="ProductsService">
<wsdl:port name="ProductsServiceSoap" binding="tns:ProductsServiceSoap">
<soap:address location="http://localhost/myprojects/wrox/chapter15/contentpublisherservice/productsservice.asmx" />
</wsdl:port>
<wsdl:port name="ProductsServiceSoap12" binding="tns:ProductsServiceSoap12">
<soap12:address location="http://localhost/myprojects/wrox/chapter15/contentpublisherservice/productsservice.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -