Friday, April 11, 2008

Undeployment of BPEL process and ESB Services

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
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}"/>
To undeploy a ESB service you use the following task:
<undeployESBEntities
esbMetadataServerHostname="${deploy.hostname}"
esbMetadataServerPort="${deploy.httpport}"
userName="${deploy.user}"
password="${deploy.password}">
<service guid="${guid}"/>
</undeployESBEntities>



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).

Post a Comment