Menu
- General Information
- Architecture :
- Services & Processes
- CookBooks
- Deployment
- Bundled Applications
- Source Code :
- Third-Party Setup :
- Polytech Staff Area :
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.
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"/>
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"/>