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