<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://api.hi5.com/music" xmlns:xspf="http://xspf.org/ns/0/" 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/" xmlns:hi5music="http://api.hi5.com/music">
  <types>
    <xs:schema targetNamespace="http://api.hi5.com/music">
      <xs:import namespace="http://api.hi5.com/" schemaLocation="hi5.xsd"/>
      <xs:import namespace="http://xspf.org/ns/0/" schemaLocation="xspf.xsd"/>
      <xs:element name="getArtists">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "getArtists". (Returns all the artists the user is interested in)]]>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="getArtistsResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "getArtists". (Returns all the artists the user is interested in)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:artists" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[all the artists the user is interested in]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="getGenres">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "getGenres". (Returns the genres the user is interested in)]]>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="getGenresResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "getGenres". (Returns the genres the user is interested in)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:genres" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[the genres the user is interested in]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="getPlaylists">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "getPlaylists". (Returns all the user's hi5 playlists including track info)]]>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="getPlaylistsResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "getPlaylists". (Returns all the user's hi5 playlists including track info)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="return" type="hi5:playlists" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[all the user's hi5 playlists including track info]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="songUpdate">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit request wrapper for operation "songUpdate". (Creates a new friend update (activity event) for when a user adds a new song]]>
<![CDATA[The attributes used on TrackType are:]]>
<![CDATA[creator (required) - the artist of the song]]>
<![CDATA[title (required) - the name of the song]]>
<![CDATA[image (required) - the fully-qualified url to a image (50x50px jpg) for the song or album]]>
<![CDATA[<p>]]>
<![CDATA[<b>Deprecated</b> in favor of using more generic OpenSocial methods.)]]>
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="song" type="xspf:TrackType" minOccurs="1" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  <![CDATA[the newly added song with the required parameters]]>
                </xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="songUpdateResponse">
        <xs:annotation>
          <xs:documentation>
            <![CDATA[doc/lit response wrapper for operation "songUpdate". (Creates a new friend update (activity event) for when a user adds a new song]]>
<![CDATA[The attributes used on TrackType are:]]>
<![CDATA[creator (req]]>
<![CDATA[uired) - the artist of the song]]>
<![CDATA[title (required) - the name of the song]]>
<![CDATA[image (required) - the fully-qualified url to a image (50x50px jpg) for the song or album]]>
<![CDATA[<p>]]>
<![CDATA[<b>Deprecated</b> in favor of using more generic OpenSocial methods.)]]>
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:schema>
  </types>
  <message name="MusicApi.getPlaylists">
    <documentation>
      <![CDATA[request message for operation "getPlaylists". (Returns all the user's hi5 playlists including track info)]]>
    </documentation>
    <part name="getPlaylists" element="hi5music:getPlaylists"/>
  </message>
  <message name="MusicApi.getPlaylistsResponse">
    <documentation>
      <![CDATA[response message for operation "getPlaylists". (Returns all the user's hi5 playlists including track info)]]>
    </documentation>
    <part name="getPlaylistsResponse" element="hi5music:getPlaylistsResponse"/>
  </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="MusicApi.getGenres">
    <documentation>
      <![CDATA[request message for operation "getGenres". (Returns the genres the user is interested in)]]>
    </documentation>
    <part name="getGenres" element="hi5music:getGenres"/>
  </message>
  <message name="MusicApi.getGenresResponse">
    <documentation>
      <![CDATA[response message for operation "getGenres". (Returns the genres the user is interested in)]]>
    </documentation>
    <part name="getGenresResponse" element="hi5music:getGenresResponse"/>
  </message>
  <message name="MusicApi.getArtists">
    <documentation>
      <![CDATA[request message for operation "getArtists". (Returns all the artists the]]>
<![CDATA[user is interested in)]]>
    </documentation>
    <part name="getArtists" element="hi5music:getArtists"/>
  </message>
  <message name="MusicApi.getArtistsResponse">
    <documentation>
      <![CDATA[response message for operation "getArtists". (Returns all the artists the user is interested in)]]>
    </documentation>
    <part name="getArtistsResponse" element="hi5music:getArtistsResponse"/>
  </message>
  <message name="MusicApi.songUpdate">
    <documentation>
      <![CDATA[request message for operation "songUpdate". (Creates a new friend update (activity event) for when a user adds a new song]]>
<![CDATA[The attributes used on TrackType are:]]>
<![CDATA[creator (required) - the artist of the song]]>
<![CDATA[title (required) - the name of the song]]>
<![CDATA[image (required) - the fully-qualified url to a image (50x50px jpg) for the song or album]]>
<![CDATA[<p>]]>
<![CDATA[<b>Deprecated</b> in favor of using more generic OpenSocial methods.)]]>
    </documentation>
    <part name="songUpdate" element="hi5music:songUpdate"/>
  </message>
  <message name="MusicApi.songUpdateResponse">
    <documentation>
      <![CDATA[response message for operation "songUpdate". (Creates a new friend update (activity event) for when a user adds a new song]]>
<![CDATA[The attributes used on TrackType are:]]>
<![CDATA[creator (required) - the artist of the song]]>
<![CDATA[title (required) - the name of the song]]>
<![CDATA[image (required) - the fully-qualified url to a image (50x50px jpg) for the song or album]]>
<![CDATA[<p>]]>
<![CDATA[<b>Deprecated</b> in favor of using more generic OpenSocial methods.)]]>
    </documentation>
    <part name="songUpdateResponse" element="hi5music:songUpdateResponse"/>
  </message>
  <portType name="MusicApi">
    <documentation>
      <![CDATA[The MusicApiService is used to performing all music related activities.]]>
<![CDATA[Currently it is used only for retrieving data such as a user's playlists.]]>
    </documentation>
    <operation name="getPlaylists">
      <documentation>
        <![CDATA[Returns all the user's hi5 playlists including track info]]>
      </documentation>
      <input message="hi5music:MusicApi.getPlaylists"/>
      <output message="hi5music:MusicApi.getPlaylistsResponse"/>
      <fault name="UnauthorizedException" message="hi5music:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5music:PermissionDeniedException"/>
    </operation>
    <operation name="getGenres">
      <documentation>
        <![CDATA[Returns the genres the user is interested in]]>
      </documentation>
      <input message="hi5music:MusicApi.getGenres"/>
      <output message="hi5music:MusicApi.getGenresResponse"/>
      <fault name="UnauthorizedException" message="hi5music:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5music:PermissionDeniedException"/>
    </operation>
    <operation name="getArtists">
      <documentation>
        <![CDATA[Returns all the artists the user is interested in]]>
      </documentation>
      <input message="hi5music:MusicApi.getArtists"/>
      <output message="hi5music:MusicApi.getArtistsResponse"/>
      <fault name="UnauthorizedException" message="hi5music:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5music:PermissionDeniedException"/>
    </operation>
    <operation name="songUpdate">
      <documentation>
        <![CDATA[Creates a new friend update (activity event) for when a user adds a new song]]>
<![CDATA[The attributes used on TrackType are:]]>
<![CDATA[creator (required) - the artist of the song]]>
<![CDATA[title (required) - the name of the song]]>
<![CDATA[image (required) - the fully-qualified url to a image (50x50px jpg) for the song or album]]>
<![CDATA[<p>]]>
<![CDATA[<b>Deprecated</b> in favor of using more generic OpenSocial methods.]]>
      </documentation>
      <input message="hi5music:MusicApi.songUpdate"/>
      <output message="hi5music:MusicApi.songUpdateResponse"/>
      <fault name="UnauthorizedException" message="hi5music:UnauthorizedException"/>
      <fault name="PermissionDeniedException" message="hi5music:PermissionDeniedException"/>
    </operation>
  </portType>
  <binding name="MusicApiSOAPBinding" type="hi5music:MusicApi">
    <documentation>
      <![CDATA[SOAP Binding for MusicApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPlaylists">
      <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>
    </operation>
    <operation name="getGenres">
      <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>
    </operation>
    <operation name="getArtists">
      <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>
    </operation>
    <operation name="songUpdate">
      <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>
    </operation>
  </binding>
  <service name="MusicApiService">
    <port name="MusicApiSOAPPort" binding="hi5music:MusicApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/MusicApiService"/>
    </port>
  </service>
</definitions>
