Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="HelloService" targetNamespace="http://ep.ws.jboss/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ep.ws.jboss/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  2.   <wsdl:types>
  3. <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ep.ws.jboss/" xmlns:tns="http://ep.ws.jboss/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  4. <xs:element name="sayHello" type="tns:sayHello" />
  5. <xs:element name="sayHelloException" type="tns:sayHelloException" />
  6. <xs:element name="sayHelloExceptionResponse" type="tns:sayHelloExceptionResponse" />
  7. <xs:element name="sayHelloResponse" type="tns:sayHelloResponse" />
  8. <xs:complexType name="sayHello">
  9. <xs:sequence>
  10. <xs:element minOccurs="0" name="Person" type="tns:person" />
  11. </xs:sequence>
  12. </xs:complexType>
  13. <xs:complexType name="person">
  14. <xs:sequence>
  15. <xs:element minOccurs="0" name="firstName" type="xs:string" />
  16. <xs:element minOccurs="0" name="lastName" type="xs:string" />
  17. </xs:sequence>
  18. </xs:complexType>
  19. <xs:complexType name="authHeader">
  20. <xs:sequence>
  21. <xs:element minOccurs="0" name="status" type="xs:string" />
  22. </xs:sequence>
  23. </xs:complexType>
  24. <xs:complexType name="sayHelloResponse">
  25. <xs:sequence>
  26. <xs:element minOccurs="0" name="return" type="xs:string" />
  27. </xs:sequence>
  28. </xs:complexType>
  29. <xs:complexType name="sayHelloException">
  30. <xs:sequence />
  31. </xs:complexType>
  32. <xs:complexType name="sayHelloExceptionResponse">
  33. <xs:sequence>
  34. <xs:element minOccurs="0" name="return" type="xs:string" />
  35. </xs:sequence>
  36. </xs:complexType>
  37. <xs:element name="wsException" type="tns:wsException" />
  38. <xs:complexType name="wsException">
  39. <xs:sequence />
  40. </xs:complexType>
  41. <xs:element name="AuthHeader" nillable="true" type="tns:authHeader" />
  42. </xs:schema>
  43.   </wsdl:types>
  44.   <wsdl:message name="sayHelloExceptionResponse">
  45.     <wsdl:part element="tns:sayHelloExceptionResponse" name="parameters">
  46.     </wsdl:part>
  47.   </wsdl:message>
  48.   <wsdl:message name="sayHelloResponse">
  49.     <wsdl:part element="tns:sayHelloResponse" name="result">
  50.     </wsdl:part>
  51.     <wsdl:part element="tns:AuthHeader" name="AuthHeader">
  52.     </wsdl:part>
  53.   </wsdl:message>
  54.   <wsdl:message name="sayHello">
  55.     <wsdl:part element="tns:sayHello" name="parameters">
  56.     </wsdl:part>
  57.     <wsdl:part element="tns:AuthHeader" name="AuthHeader">
  58.     </wsdl:part>
  59.   </wsdl:message>
  60.   <wsdl:message name="UserDefinedWSException">
  61.     <wsdl:part element="tns:wsException" name="UserDefinedWSException">
  62.     </wsdl:part>
  63.   </wsdl:message>
  64.   <wsdl:message name="sayHelloException">
  65.     <wsdl:part element="tns:sayHelloException" name="parameters">
  66.     </wsdl:part>
  67.   </wsdl:message>
  68.   <wsdl:portType name="Hello">
  69.     <wsdl:operation name="sayHello">
  70.       <wsdl:input message="tns:sayHello" name="sayHello">
  71.     </wsdl:input>
  72.       <wsdl:output message="tns:sayHelloResponse" name="sayHelloResponse">
  73.     </wsdl:output>
  74.     </wsdl:operation>
  75.     <wsdl:operation name="sayHelloException">
  76.       <wsdl:input message="tns:sayHelloException" name="sayHelloException">
  77.     </wsdl:input>
  78.       <wsdl:output message="tns:sayHelloExceptionResponse" name="sayHelloExceptionResponse">
  79.     </wsdl:output>
  80.       <wsdl:fault message="tns:UserDefinedWSException" name="UserDefinedWSException">
  81.     </wsdl:fault>
  82.     </wsdl:operation>
  83.   </wsdl:portType>
  84.   <wsdl:binding name="HelloServiceSoapBinding" type="tns:Hello">
  85.     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
  86.     <wsdl:operation name="sayHello">
  87.       <soap:operation soapAction="" style="document" />
  88.       <wsdl:input name="sayHello">
  89.         <soap:header message="tns:sayHello" part="AuthHeader" use="literal">
  90.         </soap:header>
  91.         <soap:body parts="parameters" use="literal" />
  92.       </wsdl:input>
  93.       <wsdl:output name="sayHelloResponse">
  94.         <soap:header message="tns:sayHelloResponse" part="AuthHeader" use="literal">
  95.         </soap:header>
  96.         <soap:body parts="result" use="literal" />
  97.       </wsdl:output>
  98.     </wsdl:operation>
  99.     <wsdl:operation name="sayHelloException">
  100.       <soap:operation soapAction="" style="document" />
  101.       <wsdl:input name="sayHelloException">
  102.         <soap:body use="literal" />
  103.       </wsdl:input>
  104.       <wsdl:output name="sayHelloExceptionResponse">
  105.         <soap:body use="literal" />
  106.       </wsdl:output>
  107.       <wsdl:fault name="UserDefinedWSException">
  108.         <soap:fault name="UserDefinedWSException" use="literal" />
  109.       </wsdl:fault>
  110.     </wsdl:operation>
  111.   </wsdl:binding>
  112.   <wsdl:service name="HelloService">
  113.     <wsdl:port binding="tns:HelloServiceSoapBinding" name="HelloPort">
  114.       <soap:address location="http://localhost:8080/iJBossWS/ws/testService" />
  115.     </wsdl:port>
  116.   </wsdl:service>
  117. </wsdl:definitions>