<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HydstraWebService"
             targetNamespace="https://water-monitoring.information.qld.gov.au/Hydstra"
             xmlns="https://schemas.xmlsoap.org/wsdl/"
             xmlns:soap="https://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:tns="https://water-monitoring.information.qld.gov.au/Hydstra"
             xmlns:xsd="https://www.w3.org/2001/XMLSchema">
 
  <documentation>
    This webservice enables data requests from the Hydstra water database of the Queensland Department of Regional Development, Manufacturing and Water. Please visit https://water-monitoring.information.qld.gov.au/cgi/webservice.exe for detailed documentation.
  </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="https://schemas.xmlsoap.org/soap/https"/>
    <operation name="helloWorld" namespace="https://water-monitoring.information.qld.gov.au/Hydstra">
      <soap:operation soapAction="https://water-monitoring.information.qld.gov.au/Hydstra#helloWorld"/>
      <input>
        <soap:body encodingStyle="https://schemas.xmlsoap.org/soap/encoding/"
                   namespace="https://water-monitoring.information.qld.gov.au/Hydstra"
                   use="encoded"/>
      </input>
      <output>
        <soap:body namespace="https://water-monitoring.information.qld.gov.au/Hydstra"
                   encodingStyle="https://schemas.xmlsoap.org/soap/encoding/"
                   use="encoded"/>
      </output>
    </operation>

    <operation name="JSonCall" namespace="https://water-monitoring.information.qld.gov.au/Hydstra">
      <soap:operation soapAction="https://water-monitoring.information.qld.gov.au/Hydstra#JSonCall"/>
      <input>
        <soap:body namespace="https://water-monitoring.information.qld.gov.au/Hydstra"
                   encodingStyle="https://schemas.xmlsoap.org/soap/encoding/"
                   use="encoded"/>
      </input>
      <output>
        <soap:body encodingStyle="https://schemas.xmlsoap.org/soap/encoding/"
                   namespace="https://water-monitoring.information.qld.gov.au/Hydstra"
                   use="encoded"/>
      </output>
    </operation>
  </binding>
 
  <service name="HydstraWebService">
    <documentation>
      This webservice enables data requests from the Hydstra water database of the Queensland Department of Regional Development, Manufacturing and Water. Please visit https://water-monitoring.information.qld.gov.au/cgi/webservice.exe for detailed documentation.
    </documentation>
    <port binding="tns:Hydstra_Binding" name="Hydstra_Port">
      <soap:address location="https://water-monitoring.information.qld.gov.au/cgi/webservice.exe"/>
    </port>
  </service>
</definitions>
