Simple WSDL

Submitted by code_admin on Fri, 07/20/2018 - 16:08

Simple request-response wsdl

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <definitions targetNamespace="urn:SimpleWSDL2222"
  3.              xmlns="http://schemas.xmlsoap.org/wsdl/&quot;
  4.              xmlns:tnss="urn:SimpleWSDL2222"
  5.              xmlns:tns="urn:SimpleWSDL2222/types"
  6.              xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot;
  7.              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/&quot;
  8.              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/&quot;
  9.              xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"&gt;
  10.   <types>
  11.     <xsd:schema targetNamespace="urn:SimpleWSDL2222/types"
  12.                 elementFormDefault="qualified">
  13.     <xsd:element name="requestMessage">
  14.         <xsd:complexType>
  15.           <xsd:sequence>
  16.             <xsd:element name="input" type="xsd:string"/>
  17.           </xsd:sequence>
  18.         </xsd:complexType>
  19.       </xsd:element>
  20.       <xsd:element name="responseMessage">
  21.         <xsd:complexType>
  22.           <xsd:sequence>
  23.             <xsd:element name="output" type="xsd:string"/>
  24.           </xsd:sequence>
  25.         </xsd:complexType>
  26.       </xsd:element>
  27.     </xsd:schema>
  28.   </types>
  29.   <message name="request">
  30.     <part name="requestPart" element="tns:requestMessage"/>
  31.   </message>
  32.   <message name="response">
  33.     <part name="responsePart" element="tns:responseMessage"/>
  34.   </message>
  35.   <portType name="main_porttype">
  36.     <operation name="execute">
  37.       <input message="tnss:request"/>
  38.       <output message="tnss:response"/>
  39.     </operation>
  40.   </portType>
  41.   <binding name="main_porttypeSOAP12Binding" type="tnss:main_porttype">
  42.     <soap12:binding style="document"
  43.                     transport="http://schemas.xmlsoap.org/soap/http"/&gt;
  44.     <operation name="execute">
  45.       <soap12:operation style="document" soapAction="urn:SimpleWSDL2222/execute"/>
  46.       <input>
  47.         <soap12:body use="literal" parts="requestPart"/>
  48.       </input>
  49.       <output>
  50.         <soap12:body use="literal" parts="responsePart"/>
  51.       </output>
  52.     </operation>
  53.   </binding>
  54.   <service name="main_service">
  55.     <port name="main_port" binding="tnss:main_porttypeSOAP12Binding">
  56.       <soap12:address location="https://devsoa.imperial.ac.uk/TODO"/&gt;
  57.     </port>
  58.   </service>
  59. </definitions>
RJM Article Type
Work Notes