<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://api.hi5.com/invite" xmlns:ns4="http://api.hi5.com/invite" 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/invite">
      <xs:import namespace="http://api.hi5.com/" schemaLocation="hi5.xsd"/>
    </xs:schema>
  </types>
  <message name="InviteApi.sendInvites">
    <documentation>
      <![CDATA[Input message for operation "sendInvites". (Sends an invite with the specified text to a set of users.
Users to be sent to are specified as a list of userids, passed in via the toIds parameter.
<p>
The number of invites sent is limited by quotas. See the Platform
<a href="http://www.hi5networks.com/platform/wiki">Wiki</a> for more information.)]]>
    </documentation>
    <part name="toIds" type="xs:string">
      <documentation>
        <![CDATA[List of hi5 userids to attempt to send the invite to. This should be passed in as multiple params (i.e. toIds=1000&toIds=2000&toIds=3000...) A maximum of 200 ids are allowed or the request will fail with an error. A list of ids for users to whom the invite was successfully sent is set in the response.]]>
      </documentation>
    </part>
  </message>
  <message name="InviteApi.sendInvitesResponse">
    <documentation>
      <![CDATA[Output message for operation "sendInvites". (Sends an invite with the specified text to a set of users.
Users to be sent to are specified as a list of userids, passed in via the toIds parameter.
<p>
The number of invites sent is limited by quotas. See the Platform
<a href="http://www.hi5networks.com/platform/wiki">Wiki</a> for more information.)]]>
    </documentation>
    <part name="return" type="hi5:invitationResponse">
      <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>
  <portType name="InviteApi">
    <documentation>
      <![CDATA[This service enables inviting users to an application.]]>
    </documentation>
    <operation name="sendInvites">
      <documentation>
        <![CDATA[Sends an invite with the specified text to a set of users.
Users to be sent to are specified as a list of userids, passed in via the toIds parameter.
<p>
The number of invites sent is limited by quotas. See the Platform
<a href="http://www.hi5networks.com/platform/wiki">Wiki</a> for more information.]]>
      </documentation>
      <input message="ns4:InviteApi.sendInvites"/>
      <output message="ns4:InviteApi.sendInvitesResponse"/>
      <fault name="UnauthorizedException" message="ns4:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="ns4:PermissionDeniedException"/>
    </operation>
  </portType>
  <binding name="InviteApiSOAPBinding" type="ns4:InviteApi">
    <documentation>
      <![CDATA[SOAP Binding for InviteApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="sendInvites">
      <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>
    </operation>
  </binding>
  <service name="InviteApiService">
    <port name="InviteApiSOAPPort" binding="ns4:InviteApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/InviteApiService"/>
    </port>
  </service>
</definitions>

