PictureAlbums

Overview

This orchestration from the album registry a set of valid albums description (repository, name, identifiers, …). It then asks pictures repository (Picasa & Flickr) for album contents, and return a set of albums, containing some descriptive information and a set of URL (truncated to maxSize) to reach the pictures.

Architectural Description

Business Process Description

Request

The orchestration expects a given maxSize to truncate the albums contents to this size.

<xsd:complexType name="PictureAlbumIn">
  <xsd:sequence>
    <xsd:element name="maxSize" type="xsd:integer"/>
  </xsd:sequence>
</xsd:complexType>
<xsd:element name="PictureAlbumRequest" type="tns:PictureAlbumIn"/>

Response

The orchestration define a business object PhotoAlbum, which contains meta-information for an album, and a set of URL for its content.

<xsd:complexType name="UrlSet">
  <xsd:sequence>
    <xsd:element name="url" type="xsd:anyURI" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PhotoAlbum">
  <xsd:sequence>
    <xsd:element name="source" type="xsd:string"/>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="photo_star" type="tns:UrlSet"/>
  </xsd:sequence>
</xsd:complexType>

The response message contains a set of PhotoAlbums as result of the business process execution.

<xsd:complexType name="PhotoAlbumSet">
  <xsd:sequence>
    <xsd:element name="photoAlbum" maxOccurs="unbounded" minOccurs="0" type="tns:PhotoAlbum"/>
  </xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PictureAlbumOut">
  <xsd:sequence>
    <xsd:element name="result" type="tns:PhotoAlbumSet"/>
  </xsd:sequence>
</xsd:complexType>
<xsd:element name="PictureAlbumResponse" type="tns:PictureAlbumOut"/>

Download

services/orch/picturealbums.txt · Last modified: 2009/03/12 16:06 by mosser
CC Attribution-Noncommercial-Share Alike 3.0 Unported www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0