Saturday, August 21, 2010

HTTP Binding Adapter in SOA 11g

With the release of SOA Suite 11gR1 Patch Set 2 (PS2)! Oracle has added support for HTTP binding (helpful when we want to do away with SOAP and looking for simple GET and POST). 
I had a requirement recently where I had to integrate with an external vendor which supported HTTP(s) posting of files. So I started looking at ways to post a XML file to the HTTP(s) location. Luckily with Jdeveloper 11g (11.1.1.3) version we have a HTTP binding adapter available which can be made use of.


You can drag the HTTP binding from component palette into your composite and configure it to post XML data to a HTTP(s) endpoint. Incase you are using HTTPS you would require the certificates to be installed on the SOA server if it is server authentication and your certificates need to be installed on vendor side if its mutual authentication. Apart from that it should be similar to HTTP.


For more details on how to configure the HTTP binding adapter wizard please follow the below blogpost from Edwin Biemond where he has illustrated this with screenshots.
Http Binding Adapter Configuration In Soa Suite 11g

8 comments:

  1. Hi.
    I have started an new BPEL blog i am able to access the url on internet but not able to find on google.com.
    can you please tell me how to publish my blog post on google?

    Thanks,
    Nagaraju D

    ReplyDelete
  2. Go to settings and there should be an option to publish your blog on search engines.

    ReplyDelete
  3. Hi subs,
    I have a requirement in which I have to do a https call using http binding adapter.They have given me the username and password.
    How should I call it from soa suite 11g.
    I have soa suite 11.1.1.3

    ReplyDelete
  4. Hi Naresh,

    You can use the http binding adapter available in Jdeveloper 11.1.1.3 version and create either a service/reference adapter in your composite. Configure your http binding adapter (using the required request/response xsds) and while invoking make sure you use the credentials as header variables.

    ReplyDelete
  5. Hi subs,

    I have a requirement to make a HTTP binding service.

    I have tried everything but nothing has worked as yet.

    Do you have any working example? If I can look at a simple working example that can really help me. I just need an exposed REST GET service. A Hello world example can be good enough.

    Thanks

    Rakesh

    ReplyDelete
  6. Hi Rakesh,

    I don't have a working example as such. I have got this adapter working in SOA 11.1.1.4 and the below post may help you.

    http://myexperienceswithsoa.blogspot.com/2011/08/http-binding-adapter-in-soa-11g.html

    ReplyDelete
  7. Hi Subhankar,

    Please suggest me a way to manipulate custom http headers while making REST calls via BPEL.

    Regards,
    Monika Ahuja

    ReplyDelete
  8. Hi Shubankar,

    Can you please tell me what is the purpose of using http binding???

    Regards
    Mithun

    ReplyDelete