Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting url to bpel process instance in SOA 11g

Sumit-OracleJul 7 2011 — edited Dec 2 2012
Hi - I have a requirement to be able to display BPEL process instance URL in BAM reports. Is there a method to get the url of individual BPEL process instances? I tried ora:getProcessURL() which returns me a URL that is not the same as the one in enterprise manager. I need to pass a URL to individual BPEL process instances from SOA server to BAM server or construct a URL on BAM server by using pieces from SOA (hostname, port, domain name, process instance id).

To do so, I pursued another alternative. I used ora:getInstanceID() and was able to retrieve the instance ID of individual bpel process and construct the url. The url contains 3 pieces - hostname:port, domain name and the bpel process instance id. Is there a way to obtain the hostname:port and domain name programmatically in BPEL process and assign to variables that can be sent to BAM server?

Sumit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2012
Added on Jul 7 2011
8 comments
2,224 views