getting url to bpel process instance in SOA 11g
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