<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://api.hi5.com/widget" xmlns:hi5widget="http://api.hi5.com/widget" 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/widget">
      <xs:import namespace="http://api.hi5.com/" schemaLocation="hi5.xsd"/>
    </xs:schema>
  </types>
  <message name="WidgetApi.getRemoteWidget">
    <documentation>
      <![CDATA[Input message for operation "getRemoteWidget". (Note: This functionality pre-dates OpenSocial. It should only be used
by existing Widget Providers.
Note: Widget Providers - this method is deprecated and will soon be deleted
Redirects to a page. Currently only for internal use.)]]>
    </documentation>
    <part name="url" type="xs:string">
      <documentation>
        <![CDATA[the target url]]>
      </documentation>
    </part>
    <part name="str" type="xs:string">
      <documentation>
        <![CDATA[encrypted text]]>
      </documentation>
    </part>
  </message>
  <message name="WidgetApi.getRemoteWidgetResponse">
    <documentation>
      <![CDATA[Output message for operation "getRemoteWidget". (Note: This functionality pre-dates OpenSocial. It should only be used
by existing Widget Providers.
Note: Widget Providers - this method is deprecated and will soon be deleted
Redirects to a page. Currently only for internal use.)]]>
    </documentation>
  </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="WidgetApi">
    <documentation>
      <![CDATA[Note: This service and functionality pre-dates OpenSocial. It should only be used
by existing Widget Providers.
Services all requests for adding, updating and retrieving widgets.]]>
    </documentation>
    <operation name="getRemoteWidget">
      <documentation>
        <![CDATA[Note: This functionality pre-dates OpenSocial. It should only be used
by existing Widget Providers.
Note: Widget Providers - this method is deprecated and will soon be deleted
Redirects to a page. Currently only for internal use.]]>
      </documentation>
      <input message="hi5widget:WidgetApi.getRemoteWidget"/>
      <output message="hi5widget:WidgetApi.getRemoteWidgetResponse"/>
      <fault name="UnauthorizedException" message="hi5widget:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5widget:PermissionDeniedException"/>
    </operation>
  </portType>
  <binding name="WidgetApiSOAPBinding" type="hi5widget:WidgetApi">
    <documentation>
      <![CDATA[SOAP Binding for WidgetApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="getRemoteWidget">
      <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="WidgetApiService">
    <port name="WidgetApiSOAPPort" binding="hi5widget:WidgetApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/WidgetApiService"/>
    </port>
  </service>
</definitions>

