Wednesday, December 3, 2008

Modifying BPEL partner link endpoints after deployment

BPEL dev guide advises one to use "wsdlRuntimeLocation" property of a partner link definition to override endpoints in the WSDL files. But the console does not allow this value to be edited if it ever need to be modified.

This is how one can do it OC4J - 10.1.3.3.0 deployment.
  • Shut OC4J down

  • cd to $OC4J_HOME/bpel/domains/$YOUR_DOMAIN/tmp/

  • Locate the directory that starts with ".bpel_***" and corresponds to your process and version. This directory has some hexa-decimal value in it and also ends with ".tmp".

  • cd to the above identified directory.

  • Modify "wsdlRuntimeLocation" property in bpel.xml found in this directory.(If you never used "wsdlRuntimeLocation" property, modify endpoint in the partner link WSDL directly)

  • Bring up OC4J.

No comments: