Thursday, April 19, 2012

WS-BPEL 2.0 Extension Activity Development for WSO2 BPS

There are several ways to extend WSO2 BPS runtime functionalities such as
  • BPEL extension activities
  • Custom XPath extensions
  • Message Exchange Interceptors etc.

BPEL extension activities enable a pluggable architecture that allows for registering third party functionality to the WS-BPEL 2.0 execution runtime.
There are several BPEL extension activities supported by WSO2 BPS and with the upcoming WSO2 BPS 3.0.0 release, we are going to introduce several new BPEL extension activities such as

Here I have written a simplest extension activity implementation with a sample BPEL process so, a BPEL developer can re-use and extend it to have their own implementation.
The extension activity implementation can be found from https://svn.wso2.org/repos/wso2/people/denis/org.wso2.carbon.bpel.extension.activity.sample/.

To come up this implementation, I followed this blog-post from Waruna Ranasinghe and it brings you more in-depth knowledge on BPEL extension activity development.

7 comments:

Unknown said...

Hi Denis, thank you for you blog. I was wondering how to go about adding such an extension to the BPEL deisgner so I can make use of it in the BPEL process? I can find a fair amount on writing an extension but little if anything on actually adding the extensionsion to Carbon Studio so we can use it effectively.

thanks
Paul

Unknown said...

Hi Paul,

I also don't know exact way. But if you follow this tutorial (https://www.eclipse.org/bpel/users/pdf/CreateAnExtensionActivity.pdf ) , it will help to build up a basic extension in the Carbon Studio.

Unknown said...

Thanks Denis, I have read that blog, the problem is they refer to resources which are not available as far as I can tell. (bpel.ecore for example). Do you know how I go about getting those resources. I cannot find them anywhere within dev studio so I assume they are eclipse artifacts.

thanks
Paul

Unknown said...

Hi Paul,
You are correct I guess. I also don't have hands-on experience on this.

Unknown said...

BPEL Developer Online Training, ONLINE TRAINING – IT SUPPORT – CORPORATE TRAINING http://www.21cssindia.com/courses/bpel-developer-online-training-66.html The 21st Century Software Solutions of India offers one of the Largest conglomerations of Software Training, IT Support, Corporate Training institute in India - +919000444287 - +917386622889 - Visakhapatnam,Hyderabad BPEL Developer Online Training, BPEL Developer Training, BPEL Developer, BPEL Developer Online Training| BPEL Developer Training| BPEL Developer| Courses at 21st Century Software Solutions
Talend Online Training -Hyperion Online Training - IBM Unica Online Training - Siteminder Online Training - SharePoint Online Training - Informatica Online Training - SalesForce Online Training - Many more… | Call Us +917386622889 - +919000444287 - contact@21cssindia.com
Visit: http://www.21cssindia.com/courses.html

Unknown said...

Hello,
Thanks for previous reply
I have another issue while running WSO2 governance registry sample
I have instlled MVN tried to build the project using
mvn clean install" project But it is giving error as below. Can please help me to getout of this problem.




[INFO] ------------------------------------------------------------------------
Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/core/org.eclipse.core.runtime/3.5.0.v200
90429-1800/org.eclipse.core.runtime-3.5.0.v20090429-1800.jar
[WARNING] Checksum validation failed, expected 9260d3189b2c4198b0c7e151980bed7780ced236 but is c22d24447380c44c0df4bf1ca
c135c47270a38bc for http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/core/org.eclipse.core.runtime/3.5
.0.v20090429-1800/org.eclipse.core.runtime-3.5.0.v20090429-1800.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.451 s
[INFO] Finished at: 2014-11-19T18:44:38+05:30
[INFO] Final Memory: 11M/26M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.wso2.carbon.registry.samples.handler: Could not resolve dependencies for p
roject org.wso2.governance:org.wso2.carbon.registry.samples.handler:bundle:4.6.0: Could not transfer artifact org.eclips
e.core:org.eclipse.core.runtime:jar:3.5.0.v20090429-1800 from/to wso2-nexus (http://maven.wso2.org/nexus/content/groups/
wso2-public/): Checksum validation failed, expected 9260d3189b2c4198b0c7e151980bed7780ced236 but is c22d24447380c44c0df4
bf1cac135c47270a38bc -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
G:\BPEL\wso2greg-4.6.0\samples\handler\src>

Unknown said...

Hi,

You can see how to fix this checksum error. Please google for "how to avoid maven Checksum validation failed error"