⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oneway.wsdl

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 WSDL
字号:
<?xml version="1.0" ?><definitions name="urn:oneway.wsdl.test"             targetNamespace="urn:oneway.wsdl.test"             xmlns:tns="urn:oneway.wsdl.test"             xmlns:typens="urn:oneway.wsdl.test"             xmlns:xsd="http://www.w3.org/1999/XMLSchema"             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"             xmlns="http://schemas.xmlsoap.org/wsdl/">  <!-- type defs -->  <types>    <xsd:schema targetNamespace="urn:oneway.wsdl.test"                xmlns:xsd="http://www.w3.org/1999/XMLSchema">      <xsd:simpleType name="stateType">        <xsd:restriction base="xsd:string">            <xsd:enumeration value="TX"/>                                  <xsd:enumeration value="IN"/>                                <xsd:enumeration value="OH"/>                            </xsd:restriction>      </xsd:simpleType>      <xsd:complexType name="phone">        <xsd:all>            <xsd:element name="areaCode" type="xsd:int"/>            <xsd:element name="exchange" type="xsd:string"/>            <xsd:element name="number" type="xsd:string"/>        </xsd:all>      </xsd:complexType>      <xsd:complexType name="address">        <xsd:all>            <xsd:element name="streetNum" type="xsd:int"/>            <xsd:element name="streetName" type="xsd:string"/>            <xsd:element name="city" type="xsd:string"/>            <xsd:element name="state" type="typens:stateType"/>            <xsd:element name="zip" type="xsd:int"/>            <xsd:element name="phoneNumber" type="typens:phone"/>        </xsd:all>      </xsd:complexType>    </xsd:schema>  </types>  <!-- message declns -->  <message name="AddEntryRequest">    <part name="name" type="xsd:string"/>    <part name="address" type="typens:address"/>  </message>  <message name="GetAddressFromNameRequest">    <part name="name" type="xsd:string"/>  </message>  <message name="GetAddressFromNameResponse">    <part name="address" type="typens:address"/>  </message>  <message name="ThrowExceptionRequest"/>  <!-- port type declns -->  <portType name="Oneway">    <operation name="addEntry">      <input message="tns:AddEntryRequest"/>    </operation>    <operation name="getAddressFromName">      <input message="tns:GetAddressFromNameRequest"/>      <output message="tns:GetAddressFromNameResponse"/>    </operation>    <operation name="throwException">      <input message="tns:ThrowExceptionRequest"/>    </operation>  </portType>  <!-- binding declns -->  <binding name="OnewayBinding" type="tns:Oneway">    <soap:binding style="rpc"                  transport="http://schemas.xmlsoap.org/soap/http"/>    <operation name="addEntry">      <soap:operation soapAction=""/>      <input>        <soap:body use="encoded"                   namespace="urn:oneway.wsdl.test"                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>      </input>      <output>        <soap:body use="encoded"                   namespace="urn:oneway.wsdl.test"                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>      </output>    </operation>    <operation name="getAddressFromName">      <soap:operation soapAction=""/>      <input>        <soap:body use="encoded"                   namespace="urn:oneway.wsdl.test"                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>      </input>      <output>        <soap:body use="encoded"                   namespace="urn:oneway.wsdl.test"                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>      </output>    </operation>    <operation name="throwException">      <soap:operation soapAction=""/>      <input>        <soap:body use="encoded"                   namespace="urn:oneway.wsdl.test"                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>      </input>    </operation>  </binding>  <!-- service decln -->  <service name="OnewayService">    <port name="Oneway" binding="tns:OnewayBinding">      <soap:address location="http://localhost:8080/axis/services/Oneway"/>    </port>  </service></definitions>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -