📄 xmlfile1.xml
字号:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="wsdl-viewer.xsl"?>
<definitions name="TravelAgent" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:titan="http://www.titan.com/TravelAgent"
targetNamespace="http://www.titan.com/TravelAgent">
<!-- message elements describe the parameters and return values -->
<message name="RequestMessage">
<part name="cruiseId" type="xsd:int" />
<part name="cabinId" type="xsd:int" />
<part name="customerId" type="xsd:int" />
<part name="price" type="xsd:double" />
</message>
<message name="ResponseMessage">
<part name="reservationId" type="xsd:string" />
</message>
<!-- portType element describes the abstract interface of a web service -->
<portType name="TravelAgent">
<operation name="makeReservation">
<input message="titan:RequestMessage"/>
<output message="titan:ResponseMessage"/>
</operation>
</portType>
<!-- binding element tells us which protocols and encoding styles are used -->
<binding name="TravelAgentBinding" type="titan:TravelAgent">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="makeReservation">
<soap:operation soapAction="" />
<input>
<soap:body use="literal" namespace="http://www.titan.com/TravelAgent"/>
</input>
<output>
<soap:body use="literal" namespace="http://www.titan.com/TravelAgent"/>
</output>
</operation>
</binding>
<!-- service element tells us the Internet address of a web service -->
<service name="TravelAgentService">
<port name="TravelAgentPort" binding="titan:TravelAgentBinding">
<soap:address location="http://www.titan.com/webservices/TravelAgent" />
</port>
</service>
</definitions>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -