📄 customerservice.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="GetDetails">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="intID" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="strEmail" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strPassword" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strFName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strLName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strAddress" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strCompany" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetDetailsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="strEmail" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strPassword" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strFName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strLName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strAddress" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strCompany" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddCustomer">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="strEmail" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strPassword" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strFName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strLName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strAddress" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strCompany" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddCustomerResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="AddCustomerResult" type="s:int" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="LogOn">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="strEmail" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strPassword" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="intID" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="strFName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strLName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strAddress" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strCompany" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="LogOnResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="intID" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="strFName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strLName" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strAddress" nillable="true" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="strCompany" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="int" type="s:int" />
</s:schema>
</types>
<message name="GetDetailsSoapIn">
<part name="parameters" element="s0:GetDetails" />
</message>
<message name="GetDetailsSoapOut">
<part name="parameters" element="s0:GetDetailsResponse" />
</message>
<message name="AddCustomerSoapIn">
<part name="parameters" element="s0:AddCustomer" />
</message>
<message name="AddCustomerSoapOut">
<part name="parameters" element="s0:AddCustomerResponse" />
</message>
<message name="LogOnSoapIn">
<part name="parameters" element="s0:LogOn" />
</message>
<message name="LogOnSoapOut">
<part name="parameters" element="s0:LogOnResponse" />
</message>
<message name="AddCustomerHttpGetIn">
<part name="strEmail" type="s:string" />
<part name="strPassword" type="s:string" />
<part name="strFName" type="s:string" />
<part name="strLName" type="s:string" />
<part name="strAddress" type="s:string" />
<part name="strCompany" type="s:string" />
</message>
<message name="AddCustomerHttpGetOut">
<part name="Body" element="s0:int" />
</message>
<message name="AddCustomerHttpPostIn">
<part name="strEmail" type="s:string" />
<part name="strPassword" type="s:string" />
<part name="strFName" type="s:string" />
<part name="strLName" type="s:string" />
<part name="strAddress" type="s:string" />
<part name="strCompany" type="s:string" />
</message>
<message name="AddCustomerHttpPostOut">
<part name="Body" element="s0:int" />
</message>
<portType name="CustomerServiceSoap">
<operation name="GetDetails">
<documentation>Retrieves customer details based on the Customer ID.</documentation>
<input message="s0:GetDetailsSoapIn" />
<output message="s0:GetDetailsSoapOut" />
</operation>
<operation name="AddCustomer">
<documentation>Adds a customer to the system.</documentation>
<input message="s0:AddCustomerSoapIn" />
<output message="s0:AddCustomerSoapOut" />
</operation>
<operation name="LogOn">
<documentation>Retrieves customer details based on logon details.</documentation>
<input message="s0:LogOnSoapIn" />
<output message="s0:LogOnSoapOut" />
</operation>
</portType>
<portType name="CustomerServiceHttpGet">
<operation name="AddCustomer">
<documentation>Adds a customer to the system.</documentation>
<input message="s0:AddCustomerHttpGetIn" />
<output message="s0:AddCustomerHttpGetOut" />
</operation>
</portType>
<portType name="CustomerServiceHttpPost">
<operation name="AddCustomer">
<documentation>Adds a customer to the system.</documentation>
<input message="s0:AddCustomerHttpPostIn" />
<output message="s0:AddCustomerHttpPostOut" />
</operation>
</portType>
<binding name="CustomerServiceSoap" type="s0:CustomerServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<operation name="GetDetails">
<soap:operation soapAction="http://tempuri.org/GetDetails" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="AddCustomer">
<soap:operation soapAction="http://tempuri.org/AddCustomer" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="LogOn">
<soap:operation soapAction="http://tempuri.org/LogOn" style="document" />
<input>
<soap:body use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<binding name="CustomerServiceHttpGet" type="s0:CustomerServiceHttpGet">
<http:binding verb="GET" />
<operation name="AddCustomer">
<http:operation location="/AddCustomer" />
<input>
<http:urlEncoded />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<binding name="CustomerServiceHttpPost" type="s0:CustomerServiceHttpPost">
<http:binding verb="POST" />
<operation name="AddCustomer">
<http:operation location="/AddCustomer" />
<input>
<mime:content type="application/x-www-form-urlencoded" />
</input>
<output>
<mime:mimeXml part="Body" />
</output>
</operation>
</binding>
<service name="CustomerService">
<documentation>Stores and retrieves Customer information.</documentation>
<port name="CustomerServiceSoap" binding="s0:CustomerServiceSoap">
<soap:address location="http://localhost/2373/Labs/Lab072/Ex01/Solution/CustomerService.asmx" />
</port>
<port name="CustomerServiceHttpGet" binding="s0:CustomerServiceHttpGet">
<http:address location="http://localhost/2373/Labs/Lab072/Ex01/Solution/CustomerService.asmx" />
</port>
<port name="CustomerServiceHttpPost" binding="s0:CustomerServiceHttpPost">
<http:address location="http://localhost/2373/Labs/Lab072/Ex01/Solution/CustomerService.asmx" />
</port>
</service>
</definitions>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -