With Oracle SOA Suite and Oracle AIA the whole development process is regulated with ANT. Wir SOA Suite we were able to deploy BPEL and ESB processes. What we missed was the possibility to undeploy these services.
If you are using Oracle AIA Foundation your are able to undeploy these services. This van be done via ANT extension, which are developed along with AIA.
To undeploy a BPEL process you use the following task:<undeployBPELProcess
To undeploy a ESB service you use the following task:
User="${deploy.user}"
Password="${deploy.password}"
Domain="${bpel.domain.name}"
Process="${bpel.process.name}"
Rev="${bpel.deploy.local.version}"
Opmnrequestport="${deploy.opmnport}"
Oc4jinstancename="${deploy.oc4jname}"
hostname="${deploy.hostname}"/>
Note the the GUID for the ESB service is the unique identifier of the service in the ESB system. This can be viewed in the database (wf_event).
esbMetadataServerHostname="${deploy.hostname}"
esbMetadataServerPort="${deploy.httpport}"
userName="${deploy.user}"
password="${deploy.password}">
<service guid="${guid}"/>
</undeployESBEntities>
Friday, April 11, 2008
Undeployment of BPEL process and ESB Services
Posted by
Marc Kelderman SOA Blog
at
13:29
Subscribe to:
Post Comments (Atom)

10 comments:
Thanks, this is useful! Is there any way to retire a process through ANT?
Yes off course. The examples in the articles are based on ant.
Next month I will publish my article on my build system, that is using these tasks.
Hey Marc,
I read your blog posts and they are very helpful. I am in middle of a demo and out of nowhere I am getting an error in bpel console. I have posted it on Oracle Forum.
http://forums.oracle.com/forums/thread.jspa?threadID=672692&tstart=0
If you have nay idea about this issue can you please let me know. Your help will be greatly appreciated.
Thanks
Rajesh
Hi,
i read your blog and found some very usefull information.
can you please tell me where i need to put this code or how to execute. i am new in this SOA field...so now able to get properly.
This mechanism is based on the ANT. You could use this in the ant build.xml file to do your un-deployment.
Hi Marc,
Can you post the link or website from where I can download the jar libraries for undeployBPELProcess task, as I am using only SOA and not integrated with AIA.
Thanks!
Regards,
Sathya
You can download the complete code here:
http://www.namredlek.nl/orasoa/osbs_2.1.3.zip
Marc ,the link is broken.it would be great if you tell the procedure/steps to undeploy a bpel process.
it is updated
http://www.namredlek.nl/orasoa/osbs_2.1.3.zip
Hi, I'm using your script to deploy to ESB and it works. Thank you very much.
Recently I made a mistake, I deployed a ESB project from one workspace, check in the code to CVS.
Then i checked out to another workspace n deploy it to the same server. Since then, I can no longer delete the project from ESB server. I used the script to undeploy but it still doesn;t work. I still see the project exists in the ESB console, the weird thing is I can see the project exists twice in the console. It looks like some sort of caching of previous project which deployed from different workspace.
Any idea how to fix this problem ?
Post a Comment