📄 quotesservice.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://wrox.com/quotes" 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://wrox.com/quotes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://wrox.com/quotes">
<s:element name="GetStockPrice">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="symbol" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStockPriceResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetStockPriceResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStockPriceWithPayment">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="symbol" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStockPriceWithPaymentResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetStockPriceWithPaymentResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SoapPaymentHeader" type="tns:SoapPaymentHeader" />
<s:complexType name="SoapPaymentHeader">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="NameOnCard" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="CreditCardNumber" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="CreditCardType" type="tns:CardType" />
<s:element minOccurs="1" maxOccurs="1" name="ExpirationDate" type="s:dateTime" />
</s:sequence>
<s:anyAttribute />
</s:complexType>
<s:simpleType name="CardType">
<s:restriction base="s:string">
<s:enumeration value="VISA" />
<s:enumeration value="MASTERCARD" />
<s:enumeration value="AMX" />
<s:enumeration value="DISCOVER" />
</s:restriction>
</s:simpleType>
<s:element name="GetStockPriceWithSoapExtension">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="symbol" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStockPriceWithSoapExtensionResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="GetStockPriceWithSoapExtensionResult" type="s:double" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="GetStockPriceSoapIn">
<wsdl:part name="parameters" element="tns:GetStockPrice" />
</wsdl:message>
<wsdl:message name="GetStockPriceSoapOut">
<wsdl:part name="parameters" element="tns:GetStockPriceResponse" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithPaymentSoapIn">
<wsdl:part name="parameters" element="tns:GetStockPriceWithPayment" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithPaymentSoapOut">
<wsdl:part name="parameters" element="tns:GetStockPriceWithPaymentResponse" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithPaymentSoapPaymentHeader">
<wsdl:part name="SoapPaymentHeader" element="tns:SoapPaymentHeader" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithSoapExtensionSoapIn">
<wsdl:part name="parameters" element="tns:GetStockPriceWithSoapExtension" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithSoapExtensionSoapOut">
<wsdl:part name="parameters" element="tns:GetStockPriceWithSoapExtensionResponse" />
</wsdl:message>
<wsdl:message name="GetStockPriceWithSoapExtensionSoapPaymentHeader">
<wsdl:part name="SoapPaymentHeader" element="tns:SoapPaymentHeader" />
</wsdl:message>
<wsdl:portType name="QuotesServiceSoap">
<wsdl:operation name="GetStockPrice">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns real time quote for a given stock symbol</wsdl:documentation>
<wsdl:input message="tns:GetStockPriceSoapIn" />
<wsdl:output message="tns:GetStockPriceSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithPayment">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns real time quote for a given stock ticker</wsdl:documentation>
<wsdl:input message="tns:GetStockPriceWithPaymentSoapIn" />
<wsdl:output message="tns:GetStockPriceWithPaymentSoapOut" />
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithSoapExtension">
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns real time quote for a given stock ticker</wsdl:documentation>
<wsdl:input message="tns:GetStockPriceWithSoapExtensionSoapIn" />
<wsdl:output message="tns:GetStockPriceWithSoapExtensionSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="QuotesServiceSoap" type="tns:QuotesServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetStockPrice">
<soap:operation soapAction="http://wrox.com/quotes/GetStockPrice" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithPayment">
<soap:operation soapAction="http://wrox.com/quotes/GetStockPriceWithPayment" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:GetStockPriceWithPaymentSoapPaymentHeader" part="SoapPaymentHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithSoapExtension">
<soap:operation soapAction="http://wrox.com/quotes/GetStockPriceWithSoapExtension" style="document" />
<wsdl:input>
<soap:body use="literal" />
<soap:header message="tns:GetStockPriceWithSoapExtensionSoapPaymentHeader" part="SoapPaymentHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="QuotesServiceSoap12" type="tns:QuotesServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetStockPrice">
<soap12:operation soapAction="http://wrox.com/quotes/GetStockPrice" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithPayment">
<soap12:operation soapAction="http://wrox.com/quotes/GetStockPriceWithPayment" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:GetStockPriceWithPaymentSoapPaymentHeader" part="SoapPaymentHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetStockPriceWithSoapExtension">
<soap12:operation soapAction="http://wrox.com/quotes/GetStockPriceWithSoapExtension" style="document" />
<wsdl:input>
<soap12:body use="literal" />
<soap12:header message="tns:GetStockPriceWithSoapExtensionSoapPaymentHeader" part="SoapPaymentHeader" use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="QuotesService">
<wsdl:port name="QuotesServiceSoap" binding="tns:QuotesServiceSoap">
<soap:address location="http://localhost/MyProjects/Wrox/Review/Chapter13/QuotesService.asmx" />
</wsdl:port>
<wsdl:port name="QuotesServiceSoap12" binding="tns:QuotesServiceSoap12">
<soap12:address location="http://localhost/MyProjects/Wrox/Review/Chapter13/QuotesService.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -