<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HydstraWebService"
             targetNamespace="hydstra.ocpublicworks.com/Hydstra"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:tns="hydstra.ocpublicworks.com/Hydstra"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
  <documentation>
    This web service enables data requests from the Hydstra water database of [enter your organisation name here]. Please visit hydstra.ocpublicworks.com/cgi/webservice.pl for more details.
  </documentation>

  <message name="helloWorldRequest"/>
  <message name="helloWorldResponse">
    <part name="response" type="xsd:string"/>
  </message>
 
  <message name="JSonCallRequest">
    <part name="call" type="xsd:string"/>
  </message>
  <message name="JSonCallResponse">
    <part name="response" type="xsd:string"/>
  </message>
 
  <portType name="PortType">
    <operation name="helloWorld">
      <input message="tns:helloWorldRequest"/>
      <output message="tns:helloWorldResponse"/>
    </operation>
    <operation name="JSonCall">
      <input message="tns:JSonCallRequest"/>
      <output message="tns:JSonCallResponse"/>
    </operation>
  </portType>
   
  <binding name="Hydstra_Binding" type="tns:PortType">
    <soap:binding style="rpc" 
                  transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="helloWorld" namespace="hydstra.ocpublicworks.com/Hydstra">
      <soap:operation soapAction="hydstra.ocpublicworks.com/Hydstra#helloWorld"/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                   namespace="hydstra.ocpublicworks.com/Hydstra"
                   use="encoded"/>
      </input>
      <output>
        <soap:body namespace="hydstra.ocpublicworks.com/Hydstra"
                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                   use="encoded"/>
      </output>
    </operation>

    <operation name="JSonCall" namespace="hydstra.ocpublicworks.com/Hydstra">
      <soap:operation soapAction="hydstra.ocpublicworks.com/Hydstra#JSonCall"/>
      <input>
        <soap:body namespace="hydstra.ocpublicworks.com/Hydstra"
                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                   use="encoded"/>
      </input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                   namespace="hydstra.ocpublicworks.com/Hydstra"
                   use="encoded"/>
      </output>
    </operation>
  </binding>
 
  <service name="HydstraWebService">
    <documentation>
      This web service enables data requests from the Hydstra water database of [enter your organisation name here]. Please visit hydstra.ocpublicworks.com/cgi/webservice.pl for more details.
    </documentation>
    <port binding="tns:Hydstra_Binding" name="Hydstra_Port">
      <soap:address location="hydstra.ocpublicworks.com/cgi/webservice.pl"/>
    </port>
  </service>
</definitions>
