helloservice.wsdl

来自「精通Jboss——Ejb和Web Services开发精解的随书源代码」· WSDL 代码 · 共 32 行

WSDL
32
字号
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://localhost:8080/axis/services/HelloService" xmlns:impl="http://localhost:8080/axis/services/HelloService" xmlns:intf="http://localhost:8080/axis/services/HelloService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:message name="sayHelloRequest">
    <wsdl:part name="name" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="sayHelloResponse">
    <wsdl:part name="sayHelloReturn" type="xsd:string"/>
  </wsdl:message>
  <wsdl:portType name="HelloService">
    <wsdl:operation name="sayHello" parameterOrder="name">
      <wsdl:input name="sayHelloRequest" message="impl:sayHelloRequest"/>
      <wsdl:output name="sayHelloResponse" message="impl:sayHelloResponse"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="HelloServiceSoapBinding" type="impl:HelloService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
      <wsdlsoap:operation soapAction=""/>
      <wsdl:input name="sayHelloRequest">
        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://server.axis.liuyang.com"/>
      </wsdl:input>
      <wsdl:output name="sayHelloResponse">
        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/HelloService"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="HelloServiceService">
    <wsdl:port name="HelloService" binding="impl:HelloServiceSoapBinding">
      <wsdlsoap:address location="http://localhost:8080/axis/services/HelloService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

⌨️ 快捷键说明

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