<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://api.hi5.com/test" xmlns:hi5test="http://api.hi5.com/test" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:hi5="http://api.hi5.com/">
  <types>
    <xs:schema targetNamespace="http://api.hi5.com/test">
      <xs:import namespace="http://api.hi5.com/" schemaLocation="hi5.xsd"/>
    </xs:schema>
  </types>
  <message name="TestApi.echo">
    <documentation>
      <![CDATA[Input message for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format.
</p>
<h4>Authentication</h4>
<p>No authentication is required</p>)]]>
    </documentation>
    <part name="message" type="xs:string">
      <documentation>
        <![CDATA[Optional message String]]>
      </documentation>
    </part>
  </message>
  <message name="TestApi.echoResponse">
    <documentation>
      <![CDATA[Output message for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format.
</p>
<h4>Authentication</h4>
<p>No authentication is required</p>)]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.echoCreate">
    <documentation>
      <![CDATA[Input message for operation "echoCreate". (Test method using PUT)]]>
    </documentation>
    <part name="message" type="xs:string">
      <documentation>
        <![CDATA[Optional message String]]>
      </documentation>
    </part>
    <part name="tr" type="hi5:testResponse">
      <documentation>
        <![CDATA[An instance of a TestResponse]]>
      </documentation>
    </part>
  </message>
  <message name="TestApi.echoCreateResponse">
    <documentation>
      <![CDATA[Output message for operation "echoCreate". (Test method using PUT)]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.echoDelete">
    <documentation>
      <![CDATA[Input message for operation "echoDelete".]]>
    </documentation>
    <part name="message" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.echoDeleteResponse">
    <documentation>
      <![CDATA[Output message for operation "echoDelete".]]>
    </documentation>
  </message>
  <message name="TestApi.auth">
    <documentation>
      <![CDATA[Input message for operation "auth". (<p>A testing method that verifies that authentication is working correctly.
Semantically similar to the echo() method above, except that this on requires
valid auth credentials.</p>)]]>
    </documentation>
    <part name="message" type="xs:string">
      <documentation>
        <![CDATA[Optional message String]]>
      </documentation>
    </part>
  </message>
  <message name="TestApi.authResponse">
    <documentation>
      <![CDATA[Output message for operation "auth". (<p>A testing method that verifies that authentication is working correctly.
Semantically similar to the echo() method above, except that this on requires
valid auth credentials.</p>)]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.exception">
    <documentation>
      <![CDATA[Input message for operation "exception". (Test Exceptions
<p>This routine throws an exception of the given type. Useful for client
writers who want to see how their code reacts to a given exception</p>)]]>
    </documentation>
    <part name="exception_name" type="xs:string">
      <documentation>
        <![CDATA[The name of the exception to throw]]>
      </documentation>
    </part>
  </message>
  <message name="TestApi.exceptionResponse">
    <documentation>
      <![CDATA[Output message for operation "exception". (Test Exceptions
<p>This routine throws an exception of the given type. Useful for client
writers who want to see how their code reacts to a given exception</p>)]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="UnauthorizedException">
    <documentation>
      <![CDATA[Thrown when an attempt is made to do something that violates internal API constraints.]]>
    </documentation>
    <part name="UnauthorizedException" element="hi5:UnauthorizedException"/>
  </message>
  <message name="PermissionDeniedException">
    <documentation>
      <![CDATA[Thrown when an attempt is made to do something without the correct permissions.]]>
    </documentation>
    <part name="PermissionDeniedException" element="hi5:PermissionDeniedException"/>
  </message>
  <message name="NotFoundException">
    <documentation>
      <![CDATA[Thrown when attempting to access a missing resource]]>
    </documentation>
    <part name="NotFoundException" element="hi5:NotFoundException"/>
  </message>
  <message name="NotImplementedException">
    <documentation>
      <![CDATA[Thrown when an attempt is made to do something without the correct permissions.]]>
    </documentation>
    <part name="NotImplementedException" element="hi5:NotImplementedException"/>
  </message>
  <message name="AuthenticationRequiredException">
    <documentation>
      <![CDATA[Thrown by auth/basic to prompt for a username/password from the browser.]]>
    </documentation>
    <part name="AuthenticationRequiredException" element="hi5:AuthenticationRequiredException"/>
  </message>
  <message name="TestApi.oauth">
    <documentation>
      <![CDATA[Input message for operation "oauth".]]>
    </documentation>
    <part name="message" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.oauthResponse">
    <documentation>
      <![CDATA[Output message for operation "oauth".]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.buildnum">
    <documentation>
      <![CDATA[Input message for operation "buildnum". (Test build number
Return the build number of this API Server. For informational purposes only.)]]>
    </documentation>
  </message>
  <message name="TestApi.buildnumResponse">
    <documentation>
      <![CDATA[Output message for operation "buildnum". (Test build number
Return the build number of this API Server. For informational purposes only.)]]>
    </documentation>
    <part name="return" type="hi5:testResponse">
      <documentation/>
    </part>
  </message>
  <message name="TestApi.releasenum">
    <documentation>
      <![CDATA[Input message for operation "releasenum".]]>
    </documentation>
  </message>
  <message name="TestApi.releasenumResponse">
    <documentation>
      <![CDATA[Output message for operation "releasenum".]]>
    </documentation>
    <part name="return" type="hi5:textResponse">
      <documentation/>
    </part>
  </message>
  <portType name="TestApi">
    <operation name="echo">
      <documentation>
        <![CDATA[<p>A testing method that returns a message back to you in either SOAP or XML format.
</p>
<h4>Authentication</h4>
<p>No authentication is required</p>]]>
      </documentation>
      <input message="hi5test:TestApi.echo"/>
      <output message="hi5test:TestApi.echoResponse"/>
    </operation>
    <operation name="echoCreate">
      <documentation>
        <![CDATA[Test method using PUT]]>
      </documentation>
      <input message="hi5test:TestApi.echoCreate"/>
      <output message="hi5test:TestApi.echoCreateResponse"/>
    </operation>
    <operation name="echoDelete">
      <input message="hi5test:TestApi.echoDelete"/>
      <output message="hi5test:TestApi.echoDeleteResponse"/>
    </operation>
    <operation name="auth">
      <documentation>
        <![CDATA[<p>A testing method that verifies that authentication is working correctly.
Semantically similar to the echo() method above, except that this on requires
valid auth credentials.</p>]]>
      </documentation>
      <input message="hi5test:TestApi.auth"/>
      <output message="hi5test:TestApi.authResponse"/>
    </operation>
    <operation name="exception">
      <documentation>
        <![CDATA[Test Exceptions
<p>This routine throws an exception of the given type. Useful for client
writers who want to see how their code reacts to a given exception</p>]]>
      </documentation>
      <input message="hi5test:TestApi.exception"/>
      <output message="hi5test:TestApi.exceptionResponse"/>
      <fault name="UnauthorizedException" message="hi5test:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5test:PermissionDeniedException"/>
      <fault name="NotFoundException" message="hi5test:NotFoundException"/>
      <fault name="NotImplementedException" message="hi5test:NotImplementedException"/>
      <fault name="AuthenticationRequiredException" message="hi5test:AuthenticationRequiredException"/>
    </operation>
    <operation name="oauth">
      <input message="hi5test:TestApi.oauth"/>
      <output message="hi5test:TestApi.oauthResponse"/>
    </operation>
    <operation name="buildnum">
      <documentation>
        <![CDATA[Test build number
Return the build number of this API Server. For informational purposes only.]]>
      </documentation>
      <input message="hi5test:TestApi.buildnum"/>
      <output message="hi5test:TestApi.buildnumResponse"/>
    </operation>
    <operation name="releasenum">
      <input message="hi5test:TestApi.releasenum"/>
      <output message="hi5test:TestApi.releasenumResponse"/>
    </operation>
  </portType>
  <binding name="TestApiSOAPBinding" type="hi5test:TestApi">
    <documentation>
      <![CDATA[SOAP Binding for TestApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="echo">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="echoCreate">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="echoDelete">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="auth">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="exception">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="UnauthorizedException">
        <soap:fault name="UnauthorizedException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="NotImplementedException">
        <soap:fault name="NotImplementedException" use="literal"/>
      </fault>
      <fault name="AuthenticationRequiredException">
        <soap:fault name="AuthenticationRequiredException" use="literal"/>
      </fault>
    </operation>
    <operation name="oauth">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="buildnum">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="releasenum">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="TestApiService">
    <port name="TestApiSOAPPort" binding="hi5test:TestApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/TestApiService"/>
    </port>
  </service>
</definitions>

