This link may help you understand
Example: You can use direct binding between BPEL-OSB which uses JAVA RMI optimized for invoking SOA Services.
Direct binding should be used with Java clients which used Java RMI to call services and are optimized for that.
HTTP is transport level whereas SOAP is message level.. HTTP is used for REST based calls, SOAP is generally used for WSDL based calls.
Thanks Sahil for your answer.
But my doubt is still not clear.
Why we are using direct binding between BPEL and OSB? Why cant we use SOAP over HTTP for call between BPEL and OSB? You can frame the question in another way: How we should decide which way we should call Direct binding or SOAP over HTTP or HTTP binding? What are the factors we should keep in mind at design time for service invocation.
Direct binding is using t3 protocol to call the exposed service. SOAP over HTTP has performance overhead as compared to Java RMI which Direct binding is using. Then why we use SOAP over HTTP when we call one soa service from another soa service. For Exm: Service A is calling another Service B through SOAP over HTTP? Why it should not be direct binding call?
Moreover where we should use HTTP binding? How it is different from SOAP binding? What are the factors we should keep in mind to decide which binding to use for service invocation?
When we call SOA service from another SOA service most of the time Local RMI call is used even you are using SOAP over http to invoke the service, this based on your SOA configuration - Refer the following url for more details on Local optimization.
SOAP binding will help us to invoke the service exposed with WSDL and accepts XML as request/response.
HTTP Binding will help us to invoke any services that will accept HTTP GET/POST messages but there is restriction with input/output message type(refer this document for more details Getting Started with Binding Components - 11g Release 1 (126.96.36.199)).
HTTP binding is light weight and provides better performance.
I hope this will help you.
I had the same problem and I could find nothing about this issue, so I were researching about it. My site is:
I hope my study can help you with this issue.