I have been working on SOAP webserivces for some time, but never really used REST services with OSB up untill recently.

I thought it would be useful to add a new post on to my blog to help users who like me are trying to hook their REST services with OSB and then may be trying to expose as a SOAP webservice. I will be covering both aspects

1. Calling Restful services from OSB.

2. Creating Restful services using OSB.

I have taken an example of the Google Geocoding service for this.

http://code.google.com/apis/maps/documentation/geocoding/

What is does is takes in an address and gives you long & lat for that place and vice versa.

This is a rest service and the request format is

http://maps.googleapis.com/maps/api/geocode/xml?address=Harrow%20HA2%200ET&sensor=false

Oracle have now added several examples on this topic on the examples page.

The link to the same is at http://java.net/projects/oraclesoasuite11g/pages/OSB

Hope you guys will find them useful.

About these ads