OSB-11g : Create Simple Proxy service in Eclipse IDE

In this blog I am going to explain the process of creating simple proxy service in OSB using eclipse IDE.

OSB version used : 11.1.1.7
Eclipse version : Indigo (Ships with OSB package)

1. Create new eclipse workspace and click on 'work bench' option at right end top of eclipse.
It will open eclipse perspective.




2. Once login to eclipse perspective we can migrate to OSB perspective.
Window -> Open Perspective -> Oracle Service Bus.



3. Now lets create OSB configuration project.
Project Explorer ->(right Click) -> New -> Oracle Service Bus Configuration Project


Give any specific name to project. Here i have used default name.


Next step is to create OSB project.

OSB Configuration -> (Right Click) -> New -> Oracle Service Bus Project


Give proper name for OSB project . Here I have given 'SampleOSBProject'


Create below folders inside OSB project. Refer screen shot.
Resources - To Maintain WSDL,XSDs files
Services - To Maintain business and proxy services
Transformations - To Maintain Xquery and XSLT files


Now lets create proxy service. 
Services -> (Right Click) -> New -> ProxyService


Give Proper name for proxy service . Here I have specified name as 'SampleProxy'.


In 'General' type select 'Any XML service' type as we are intended to create Any XML based service.


Select 'HTTP' as transport protocol.

We can locate Endpoint URI of our service which is generated automatically .
/SampleOSBProject/Services/SampleProxy



Keep all  values of  'HTTP Transport tab' as it is.


Keep all values of 'Message handling' tabs as it is.


Let Service Policy Configuration as 'OWSM Policies'(Default values)


Lets keep 'Message Level Security Configuration' as 'None'.


In 'Message Flow' tab you can see proxy node is being created with name 'SampleProxy'.


Now you can drag required Nodes, Route Actions, Stage Actions from 'Design Pallet'.


For a time being i have selected 'PipeLine Pair node' and drag the same into OSB workbench.


This completes creation of simple proxy service in OSB.

Note : In OSB everything will be in XML format at backend. The proxy service which we have created is also in XML format. This we can confirm by below steps.

SampleProxy.proxy ->(Right Click)->Open With -> Text Editor

We can see proxy service opened in text editor and we can locate that all details are embedded in XML format.


Comments

Post a Comment

Popular posts from this blog

OSB-12C : XA Transactional Support feature

Static code analysis of Terraform .tf files using ‘Checkov’ — Secure your infrastructure

OSB12c : Schema Validation - Dynamic Validation