Σάββατο 8 Ιανουαρίου 2011

Amazon S3 and BPEL

As Amazon cloud offers web services interfaces to access its resources, it is possible to call amazon web services from a BPEL process. Here is a simple example of a BPEL process that calls the Amazon S3 ListAllMyBuckets operation. In order to be able to test this BPEL process you should have an Amazon account and to subscribe for Amazon S3. Then, you should use openssl as described in an older post (http://softwaretechnologiesblog.blogspot.com/2010/12/soapui-and-amazon-s3.html) in order to generate a signature based on amazon public key in order to execute BPEL process and invoke the AmazonS3 operation.

At this BPEL process two assign activites are used and one Invoke activity.

The BPEL file AmazonBPEL.bpel can be found here


https://docs.google.com/document/pub?id=1rYZq-vOTxg8C3yRKJ1yaCu6_EKB_6FK2owawoOJTJgk

and the AmazonBPELArtifacts.wsdl can be found here

https://docs.google.com/document/pub?id=1NKCpRF9D8UV9IB6-LLvpATcX29Ul978BDS45zP6fCtw

This BPEL process was created using eclipse designor and the BPEL plugin.In order to execute the BPEL process you should download a server like Apache Ode and configure it on eclipse.


M.P.

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου