<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://api.hi5.com/feed" xmlns:atom="http://www.w3.org/2005/Atom" 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:hi5feed="http://api.hi5.com/feed">
  <types>
    <xs:schema targetNamespace="http://api.hi5.com/feed">
      <xs:import namespace="http://api.hi5.com/" schemaLocation="hi5.xsd"/>
      <xs:import namespace="http://www.w3.org/2005/Atom" schemaLocation="atom.xsd"/>
    </xs:schema>
  </types>
  <message name="FeedApi.readGroupFeed">
    <documentation>
      <![CDATA[Input message for operation "readGroupFeed". (Returns an Atom feed of groups that specific user has signed up for.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/groups/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/groups/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation>
        <![CDATA[Hi5 user id.]]>
      </documentation>
    </part>
    <part name="startIndex" type="xs:int">
      <documentation>
        <![CDATA[Index to start reading roups from. Default is 0.]]>
      </documentation>
    </part>
    <part name="count" type="xs:int">
      <documentation>
        <![CDATA[number of groups to return counting from startIndex. Default is 100.]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readGroupFeedResponse">
    <documentation>
      <![CDATA[Output message for operation "readGroupFeed". (Returns an Atom feed of groups that specific user has signed up for.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/groups/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/groups/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="NotFoundException">
    <documentation>
      <![CDATA[Thrown when attempting to access a missing resource]]>
    </documentation>
    <part name="NotFoundException" element="hi5:NotFoundException"/>
  </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="FeedApi.readJournalFeed">
    <documentation>
      <![CDATA[Input message for operation "readJournalFeed". (Public Journal Entries Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of recent journal entries for a specific userId.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/journal/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/journal/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation>
        <![CDATA[A Hi5 User ID value]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation>
        <![CDATA[The language for the feed, default is the specified users language.]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.readJournalFeedResponse">
    <documentation>
      <![CDATA[Output message for operation "readJournalFeed". (Public Journal Entries Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of recent journal entries for a specific userId.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/journal/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/journal/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readAlbumListFeed">
    <documentation>
      <![CDATA[Input message for operation "readAlbumListFeed". (Public List of Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/albumlist/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/albumlist/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[TODO - add <a href="http://www.livejournal.com/bots/">Livejournal</a> authentication compatibility (auth tag for digest)]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation>
        <![CDATA[A Hi5 User ID value]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation>
        <![CDATA[The language for the feed, default is the specified users language.]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.readAlbumListFeedResponse">
    <documentation>
      <![CDATA[Output message for operation "readAlbumListFeed". (Public List of Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/albumlist/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/albumlist/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[TODO - add <a href="http://www.livejournal.com/bots/">Livejournal</a> authentication compatibility (auth tag for digest)]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.createNewAlbum">
    <documentation>
      <![CDATA[Input message for operation "createNewAlbum". (Endpoint to create an album. Provide album name with a "name" parameter in the request.<p>]]>
<![CDATA[For example: api.hi5.com/rest/feed/albumlist/<i>userId<i>?name=newalbum1&Hi5AuthToken=.....)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation/>
    </part>
    <part name="lang" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.createNewAlbumResponse">
    <documentation>
      <![CDATA[Output message for operation "createNewAlbum". (Endpoint to create an album. Provide album name with a "name" parameter in the request.<p>]]>
<![CDATA[For example: api.hi5.com/rest/feed/albumlist/<i>userId<i>?name=newalbum1&Hi5AuthToken=]]>
<![CDATA[.....)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="Hi5ApiGeneralException">
    <documentation>
      <![CDATA[Thrown when attempting to access a missing resource]]>
    </documentation>
    <part name="Hi5ApiGeneralException" element="hi5:Hi5ApiGeneralException"/>
  </message>
  <message name="FeedApi.readAlbumFeed">
    <documentation>
      <![CDATA[Input message for operation "readAlbumFeed". (Public Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/album?userId=1000&albumId=XXXXX</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/album?userId=1000&albumId=XXXXX</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="albumIdStr" type="xs:string">
      <documentation/>
    </part>
    <part name="userId" type="xs:int">
      <documentation>
        <![CDATA[A Hi5 User ID value]]>
      </documentation>
    </part>
    <part name="updatedSince" type="xs:string">
      <documentation>
        <![CDATA[Filters out all photos before provided date. The format is yyyy-MM-dd-HH:mm.]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation>
        <![CDATA[The language for the feed, default is the specified users language.]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.readAlbumFeedResponse">
    <documentation>
      <![CDATA[Output message for operation "readAlbumFeed". (Public Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/album?userId=1000&albumId=XXXXX</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/album?userId=1000&albumId=XXXXX</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readAlbums">
    <documentation>
      <![CDATA[Input message for operation "readAlbums". (Retrieve albums of the given user. If the photos are s]]>
<![CDATA[et to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation/>
    </part>
    <part name="lang" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readAlbumsResponse">
    <documentation>
      <![CDATA[Output message for operation "readAlbums". (Retrieve albums of the given user. If the photos are set to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readPhotos">
    <documentation>
      <![CDATA[Input message for operation "readPhotos". (Retrieve photos of a given user from a given album. If the photos are set to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation/>
    </part>
    <part name="albumId" type="xs:string">
      <documentation>
        <![CDATA[Either album id, "@all" to retrieve photos from all albums, or "@mobile" to get photos from mobile album]]>
      </documentation>
    </part>
    <part name="updatedSince" type="xs:string">
      <documentation>
        <![CDATA[Filters out all photos before provided date. The format is yyyy-MM-dd-HH:mm.]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readPhotosResponse">
    <documentation>
      <![CDATA[Output message for operation "readPhotos". (Retrieve photos of a given user from a given album. If the photos are set to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.addAlbumPhotos">
    <documentation>
      <![CDATA[Input message for operation "addAlbumPhotos". (In order to upload photos one must post to this endpoint with multi-part attachment containing photo files.]]>
<![CDATA[This endpoint will upload photos into specified album for a particular user.]]>
<![CDATA[Here is an example of how a photo can be uploaded with <b>curl</b> command.]]>
<![CDATA[<p>]]>
<![CDATA[curl -F upload=@<i>filename</i> "api.hi5.com/rest/feed/photos/user/<i>userId</i>/albumid/<i>albumid</i>?Hi5AuthToken=<i>token</i>"]]>
<![CDATA[<p>]]>
<![CDATA[If <i>@mobile</i> is specified as album id, photos will go to a designated album for photos uploaded from mobile devices.]]>
<![CDATA[<p>]]>
<![CDATA[Authorization token is required. It can be obtained using the following endpoint <a href="../rest_.auth.plain.html">auth/plain</a>)]]>
    </documentation>
    <part name="photos" type="xs:base64Binary">
      <documentation>
        <![CDATA[list of photos as a multi-part post]]>
      </documentation>
    </part>
    <part name="userId" type="xs:int">
      <documentation>
        <![CDATA[user who is uploading photos]]>
      </documentation>
    </part>
    <part name="albumId" type="xs:string">
      <documentation>
        <![CDATA[target album]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.addAlbumPhotosResponse">
    <documentation>
      <![CDATA[Output message for operation "addAlbumPhotos". (In order to upload photos one must post to this endpoint with multi-part attachment containing photo files.]]>
<![CDATA[This endpoint will upload photos into specified album for a particular user.]]>
<![CDATA[Here is an example of how a photo can be uploaded with <b>curl</b> command.]]>
<![CDATA[<p>]]>
<![CDATA[curl -F upload=@<i>filename</i> "api.hi5.com/rest/feed/photos/user/<i>userId</i>/albumid/<i>albumid</i>?Hi5AuthToken=<i>token</i>"]]>
<![CDATA[<p>]]>
<![CDATA[If <i>@mobile</i> is specified as album id, photos will go to a designated album for photos uploaded from mobile devices.]]>
<![CDATA[<p>]]>
<![CDATA[Authorization token is required. It can be obtained using the following endpoint <a href="../rest_.auth.plain.html">auth/plain</a>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.addPhotos">
    <documentation>
      <![CDATA[Input message for operation "addPhotos". (Add photos to the default album. Like feed/photos/user/userId/.../albumid/... only no albumid required.)]]>
    </documentation>
    <part name="photos" type="xs:base64Binary">
      <documentation/>
    </part>
    <part name="userId" type="xs:int">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.addPhotosResponse">
    <documentation>
      <![CDATA[Output message for operation "addPhotos". (Add photos to the default album. Like feed/photos/user/userId/.../albumid/... only no albumid required.)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readGroupDiscussions">
    <documentation>
      <![CDATA[Input message for operation "readGroupDiscussions". (Recent Discussions/Topics/Replies Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns a feed of group topics and replies from the given group.]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[<b>Examples:</b>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/group/topics/1000</tt> - Atom Feed<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/group/topics/1000</tt> - JSON<br/>]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<b><a href="http://www.flickr.com/services/feeds/docs/groups_discuss/">Flickr Compatibility</a></b>]]>
<![CDATA[<p>]]>
<![CDATA[Use a URL conforming to the flickr groups_discuss feed as follows:]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/services/feeds/groups_discuss.gne</tt><br/>]]>
<![CDATA[Supported Parameters: id, lang, format]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="id" type="xs:int">
      <documentation>
        <![CDATA[The id of the group (Required)]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation>
        <![CDATA[web browser or ISO language (Language of specified group id is the default)]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.readGroupDiscussionsResponse">
    <documentation>
      <![CDATA[Output message for operation "readGroupDiscussions". (Recent Discussions/Topics/Replies Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns a feed of group topics an]]>
<![CDATA[d replies from the given group.]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[<b>Examples:</b>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/group/topics/1000</tt> - Atom Feed<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/group/topics/1000</tt> - JSON<br/>]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<b><a href="http://www.flickr.com/services/feeds/docs/groups_discuss/">Flickr Compatibility</a></b>]]>
<![CDATA[<p>]]>
<![CDATA[Use a URL conforming to the flickr groups_discuss feed as follows:]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/services/feeds/groups_discuss.gne</tt><br/>]]>
<![CDATA[Supported Parameters: id, lang, format]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.readGroupTopicReplies">
    <documentation>
      <![CDATA[Input message for operation "readGroupTopicReplies". (Retrieve a list of followup comments for a specific topic.]]>
<![CDATA[See http://www.ietf.org/rfc/rfc4685.txt for more.)]]>
    </documentation>
    <part name="groupId" type="xs:int">
      <documentation>
        <![CDATA[The value of the group containing these comments]]>
      </documentation>
    </part>
    <part name="topicId" type="xs:int">
      <documentation>
        <![CDATA[The topicId]]>
      </documentation>
    </part>
    <part name="lang" type="xs:string">
      <documentation>
        <![CDATA[Optional language for formatting content text.]]>
      </documentation>
    </part>
  </message>
  <message name="FeedApi.readGroupTopicRepliesResponse">
    <documentation>
      <![CDATA[Output message for operation "readGroupTopicReplies". (Retrieve a list of followup comments for a specific topic.]]>
<![CDATA[See http://www.ietf.org/rfc/rfc4685.txt for more.)]]>
    </documentation>
    <part name="return" type="atom:feedType">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.updatePhotoDescription">
    <documentation>
      <![CDATA[Input message for operation "updatePhotoDescription". (Set or update description of a photo. The description text must not be longer than 200 characters.)]]>
    </documentation>
    <part name="userId" type="xs:int">
      <documentation/>
    </part>
    <part name="albumId" type="xs:int">
      <documentation/>
    </part>
    <part name="photoId" type="xs:long">
      <documentation/>
    </part>
    <part name="description" type="xs:string">
      <documentation/>
    </part>
  </message>
  <message name="FeedApi.updatePhotoDescriptionResponse">
    <documentation>
      <![CDATA[Output message for operation "updatePhotoDescription". (Set or update description of a photo. The description text must not be longer than 200 characters.)]]>
    </documentation>
    <part name="return" type="hi5:photo">
      <documentation/>
    </part>
  </message>
  <portType name="FeedApi">
    <documentation>
      <![CDATA[This module implements a wide variety of Atom/JSON feeds.]]>
    </documentation>
    <operation name="readGroupFeed">
      <documentation>
        <![CDATA[Returns an Atom feed of groups that specific user has signed up for.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/groups/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/groups/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
      </documentation>
      <input message="hi5feed:FeedApi.readGroupFeed"/>
      <output message="hi5feed:FeedApi.readGroupFeedResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
    </operation>
    <operation name="readJournalFeed">
      <documentation>
        <![CDATA[Public Journal Entries Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of recent journal entries for a specific userId.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/journal/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/journal/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
      </documentation>
      <input message="hi5feed:FeedApi.readJournalFeed"/>
      <output message="hi5feed:FeedApi.readJournalFeedResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
    </operation>
    <operation name="readAlbumListFeed">
      <documentation>
        <![CDATA[Public List of Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/albumlist/1000</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/albumlist/1000</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[TODO - add <a href="http://www.livejournal.com/bots/">Livejournal</a> authentication compatibility (auth tag for digest)]]>
<![CDATA[</p>]]>
      </documentation>
      <input message="hi5feed:FeedApi.readAlbumListFeed"/>
      <output message="hi5feed:FeedApi.readAlbumListFeedResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
    </operation>
    <operation name="createNewAlbum">
      <documentation>
        <![CDATA[Endpoint to create an album. Provide album name with a "name" parameter in the request.<p>]]>
<![CDATA[For example: api.hi5.com/rest/feed/albumlist/<i>userId<i>?name=newalbum1&Hi5AuthToken=.....]]>
      </documentation>
      <input message="hi5feed:FeedApi.createNewAlbum"/>
      <output message="hi5feed:FeedApi.createNewAlbumResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
    <operation name="readAlbumFeed">
      <documentation>
        <![CDATA[Public Albums Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns an Atom feed of Albums for a specific user.</p>]]>
<![CDATA[<p>Examples:<br/>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/album?userId=1000&albumId=XXXXX</tt> (Atom XML)<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/album?userId=1000&albumId=XXXXX</tt> (Atom as JSON)]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
      </documentation>
      <input message="hi5feed:FeedApi.readAlbumFeed"/>
      <output message="hi5feed:FeedApi.readAlbumFeedResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
    <operation name="readAlbums">
      <documentation>
        <![CDATA[Retrieve albums of the given user. If the photos are set to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.]]>
      </documentation>
      <input message="hi5feed:FeedApi.readAlbums"/>
      <output message="hi5feed:FeedApi.readAlbumsResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
    </operation>
    <operation name="readPhotos">
      <documentation>
        <![CDATA[Retrieve photos of a given user from a given album. If the photos are set to private you must provide]]>
<![CDATA[an authorization token and be either the target user or the friend of the target user.]]>
      </documentation>
      <input message="hi5feed:FeedApi.readPhotos"/>
      <output message="hi5feed:FeedApi.readPhotosResponse"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
    <operation name="addAlbumPhotos">
      <documentation>
        <![CDATA[In order to upload photos one must post to this endpoint with multi-part attachment containing photo files.]]>
<![CDATA[This endpoint will upload photos into specified album for a particular user.]]>
<![CDATA[Here is an example of how a photo can be uploaded with <b>curl</b> command.]]>
<![CDATA[<p>]]>
<![CDATA[curl -F upload=@<i>filename</i> "api.hi5.com/rest/feed/photos/user/<i>userId</i>/albumid/<i>albumid</i>?Hi5AuthToken=<i>token</i>"]]>
<![CDATA[<p>]]>
<![CDATA[If <i>@mobile</i> is specified as album id, photos will go to a designated album for photos uploaded from mobile devices.]]>
<![CDATA[<p>]]>
<![CDATA[Authorization token is required. It can be obtained using the following endpoint <a href="../rest_.auth.plain.html">auth/plain</a>]]>
      </documentation>
      <input message="hi5feed:FeedApi.addAlbumPhotos"/>
      <output message="hi5feed:FeedApi.addAlbumPhotosResponse"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
    <operation name="addPhotos">
      <documentation>
        <![CDATA[Add photos to the default album. Like feed/photos/user/userId/.../albumid/... only no albumid required.]]>
      </documentation>
      <input message="hi5feed:FeedApi.addPhotos"/>
      <output message="hi5feed:FeedApi.addPhotosResponse"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
    <operation name="readGroupDiscussions">
      <documentation>
        <![CDATA[Recent Discussions/Topics/Replies Feed.]]>
<![CDATA[<p>]]>
<![CDATA[Returns a feed of group topics and replies from the given group.]]>
<![CDATA[</p>]]>
<![CDATA[<p>]]>
<![CDATA[<b>Examples:</b>]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/rest/feed/group/topics/1000</tt> - Atom Feed<br/>]]>
<![CDATA[<tt>http://api.hi5.com/json/feed/group/topics/1000</tt> - JSON<br/>]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
<![CDATA[<b><a href="http://www.flickr.com/services/feeds/docs/groups_discuss/">Flickr Compatibility</a></b>]]>
<![CDATA[<p>]]>
<![CDATA[Use a URL conforming to the flickr groups_discuss feed as follows:]]>
<![CDATA[<blockquote>]]>
<![CDATA[<tt>http://api.hi5.com/services/feeds/groups_discuss.gne</tt><br/>]]>
<![CDATA[Supported Parameters: id, lang, format]]>
<![CDATA[</blockquote>]]>
<![CDATA[</p>]]>
      </documentation>
      <input message="hi5feed:FeedApi.readGroupDiscussions"/>
      <output message="hi5feed:FeedApi.readGroupDiscussionsResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
    </operation>
    <operation name="readGroupTopicReplies">
      <documentation>
        <![CDATA[Retrieve a list of followup comments for a specific topic.]]>
<![CDATA[See http://www.ietf.org/rfc/rfc4685.txt for more.]]>
      </documentation>
      <input message="hi5feed:FeedApi.readGroupTopicReplies"/>
      <output message="hi5feed:FeedApi.readGroupTopicRepliesResponse"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
    </operation>
    <operation name="updatePhotoDescription">
      <documentation>
        <![CDATA[Set or update description of a photo. The description text must not be longer than 200 characters.]]>
      </documentation>
      <input message="hi5feed:FeedApi.updatePhotoDescription"/>
      <output message="hi5feed:FeedApi.updatePhotoDescriptionResponse"/>
      <fault name="PermissionDeniedException" message="hi5feed:PermissionDeniedException"/>
      <fault name="NotFoundException" message="hi5feed:NotFoundException"/>
      <fault name="Hi5ApiGeneralException" message="hi5feed:Hi5ApiGeneralException"/>
    </operation>
  </portType>
  <binding name="FeedApiSOAPBinding" type="hi5feed:FeedApi">
    <documentation>
      <![CDATA[SOAP Binding for FeedApi]]>
    </documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="readGroupFeed">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
    </operation>
    <operation name="readJournalFeed">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
    </operation>
    <operation name="readAlbumListFeed">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
    </operation>
    <operation name="createNewAlbum">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
    <operation name="readAlbumFeed">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
    <operation name="readAlbums">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
    </operation>
    <operation name="readPhotos">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
    <operation name="addAlbumPhotos">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
    <operation name="addPhotos">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
    <operation name="readGroupDiscussions">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
    </operation>
    <operation name="readGroupTopicReplies">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
    </operation>
    <operation name="updatePhotoDescription">
      <soap:operation soapAction="" style="rpc"/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
      <fault name="PermissionDeniedException">
        <soap:fault name="PermissionDeniedException" use="literal"/>
      </fault>
      <fault name="NotFoundException">
        <soap:fault name="NotFoundException" use="literal"/>
      </fault>
      <fault name="Hi5ApiGeneralException">
        <soap:fault name="Hi5ApiGeneralException" use="literal"/>
      </fault>
    </operation>
  </binding>
  <service name="FeedApiService">
    <port name="FeedApiSOAPPort" binding="hi5feed:FeedApiSOAPBinding">
      <soap:address location="http://api.hi5.com/soap/FeedApiService"/>
    </port>
  </service>
</definitions>
