<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:element name="auth">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "auth". (<p>A testing method that verifies that authentication is working correctly.]]>
<![CDATA[Semantically similar to the echo() method above, except that this on requires]]>
<![CDATA[valid auth credentials.</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[Optional message String]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="authResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "auth". (<p>A testing method that verifies that authentication is working correctly.]]>
<![CDATA[Semantically similar to the echo() method above, except that this on requires]]>
<![CDATA[valid auth credentials.</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:testResponse" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[The message supplied or "ACK"]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="echo">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format]]>
<![CDATA[.]]>
<![CDATA[</p>]]>
<![CDATA[<h4>Authentication</h4>]]>
<![CDATA[<p>No authentication is required</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[Optional message String]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="echoCreate">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "echoCreate". (Test method using PUT)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[Optional message String]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="tr" type="hi5:testResponse" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[An instance of a TestResponse]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="echoCreateResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "echoCreate". (Test method using PUT)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:testResponse" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[Another TestResponse Object]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="echoDelete">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "echoDelete".]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="message" type="xs:string" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation/>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="echoDeleteResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response]]>
<![CDATA[wrapper for operation "echoDelete".]]>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="echoResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format.]]>
<![CDATA[</p>]]>
<![CDATA[<h4>Authentication</h4>]]>
<![CDATA[<p>No authentication is required</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:testResponse" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[The message supplied or "ACK".]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="exception">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "exception". (Test Exceptions]]>
<![CDATA[<p>This routine throws an exception of the given type. Useful for client]]>
<![CDATA[writers who want to see how their code reacts to a given exception</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="exception_name" type="xs:string" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[The name of the exception to throw]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="exceptionResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "exception". (Test Exceptions]]>
<![CDATA[<p>This routine throws an exception of the given type. Useful for client]]>
<![CDATA[writers who want to see how their code reacts to a given exception</p>)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:testResponse" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[An empty Test Response if not exception is specified]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
  </types>
  <message name="TestApi.echo">
    <documentation>
      <![CDATA[request message]]>
<![CDATA[for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format.]]>
<![CDATA[</p>]]>
<![CDATA[<h4>Authentication</h4>]]>
<![CDATA[<p>No authentication is required</p>)]]>
    </documentation>
    <part name="echo" element="hi5test:echo"/>
  </message>
  <message name="TestApi.echoResponse">
    <documentation>
      <![CDATA[response message for operation "echo". (<p>A testing method that returns a message back to you in either SOAP or XML format.]]>
<![CDATA[</p>]]>
<![CDATA[<h4>Authentication</h4>]]>
<![CDATA[<p>No authentication is required</p>)]]>
    </documentation>
    <part name="echoResponse" element="hi5test:echoResponse"/>
  </message>
  <message name="TestApi.echoCreate">
    <documentation>
      <![CDATA[request message for operation "echoCreate". (Test method using PUT)]]>
    </documentation>
    <part name="echoCreate" element="hi5test:echoCreate"/>
  </message>
  <message name="TestApi.echoCreateResponse">
    <documentation>
      <![CDATA[response message for operation "echoCreate". (Test method using PUT)]]>
    </documentation>
    <part name="echoCreateResponse" element="hi5test:echoCreateResponse"/>
  </message>
  <message name="TestApi.echoDelete">
    <documentation>
      <![CDATA[request message for operation "echoDelete".]]>
    </documentation>
    <part name="echoDelete" element="hi5test:echoDelete"/>
  </message>
  <message name="TestApi.echoDeleteResponse">
    <documentation>
      <![CDATA[response message for operation "echoDelete".]]>
    </documentation>
    <part name="echoDeleteResponse" element="hi5test:echoDeleteResponse"/>
  </message>
  <message name="TestApi.auth">
    <documentation>
      <![CDATA[request message for operation "auth". (<p>A testing method that verifies that authentication is working correctly.]]>
<![CDATA[Semantically similar to the echo() method above, except that this on requires]]>
<![CDATA[valid auth credentials.</p>)]]>
    </documentation>
    <part name="auth" element="hi5test:auth"/>
  </message>
  <message name="TestApi.authResponse">
    <documentation>
      <![CDATA[response message for operation "auth". (<p>A testing method that verifies that authentication is working correctly.]]>
<![CDATA[Semantically]]>
<![CDATA[similar to the echo() method above, except that this on requires]]>
<![CDATA[valid auth credentials.</p>)]]>
    </documentation>
    <part name="authResponse" element="hi5test:authResponse"/>
  </message>
  <message name="TestApi.exception">
    <documentation>
      <![CDATA[request message for operation "exception". (Test Exceptions]]>
<![CDATA[<p>This routine throws an exception of the given type. Useful for client]]>
<![CDATA[writers who want to see how their code reacts to a given exception</p>)]]>
    </documentation>
    <part name="exception" element="hi5test:exception"/>
  </message>
  <message name="TestApi.exceptionResponse">
    <documentation>
      <![CDATA[response message for operation "exception". (Test Exceptions]]>
<![CDATA[<p>This routine throws an exception of the given type. Useful for client]]>
<![CDATA[writers who want to see how their code reacts to a given exception</p>)]]>
    </documentation>
    <part name="exceptionResponse" element="hi5test:exceptionResponse"/>
  </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 use]]>
<![CDATA[rname/password from the browser.]]>
    </documentation>
    <part name="AuthenticationRequiredException" element="hi5:AuthenticationRequiredException"/>
  </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.]]>
<![CDATA[</p>]]>
<![CDATA[<h4>Authentication</h4>]]>
<![CDATA[<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.]]>
<![CDATA[Semantically similar to the echo() method above, except that this on requires]]>
<![CDATA[valid auth credentials.</p>]]>
      </documentation>
      <input message="hi5test:TestApi.auth"/>
      <output message="hi5test:TestApi.authResponse"/>
    </operation>
    <operation name="exception">
      <documentation>
        <![CDATA[Test Exceptions]]>
<![CDATA[<p>This routine throws an exception of the given type. Useful for client]]>
<![CDATA[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>
  </portType>
  <binding name="TestApiSOAPBinding" type="hi5test:TestApi">
    <documentation>
      <![CDATA[SOAP Binding for TestApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="echo">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="echoCreate">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="echoDelete">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="auth">
      <soap:operation soapAction="" style="document"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
    <operation name="exception">
      <soap:operation soapAction="" style="document"/>
      <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>
  </binding>
  <service name="TestApiService">
    <port name="TestApiSOAPPort" binding="hi5test:TestApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/TestApiService"/>
    </port>
  </service>
</definitions>
