HTTP Binding can be used in BPEL to call the RESTful services. We might have come across one common error REPLACE_WITH_ACTUAL_URL while calling. Came across a metalink note that talks about this so thought of sharing the same.
Metalink Note ID: 1328955.1
Following are the few reasons that i found during my testing with the HTTP adapter to invoke REST based urls:
– If the URL is not accessible from the server because of the firewall or HTTP proxy
– Using the XML complex types in the request structure.
Though, the metalink url says that XML complex types are not supported it’s working in 11.1.1.5 version ( i verified only in this version). The same working sample can be downloaded from here.
The example calls the Echo application which can be downloaded from here (Antony Reynold’s blog).
We came across same issue recently and got similar response from Oracle but we did a POC using data from below forum. We were able to call the RESTful service and get response back. It does have complex type.
https://forums.oracle.com/forums/thread.jspa?messageID=10463972#10463972
Still i am getting the same error when i tried. Is it possible to share your POC knowledge with us.