Creating your first OSB project(Simple Pass Through Proxy Service)
Hi guys in this post we are going to create a Simple Pass through Proxy in Oracle Service Bus. I hope you have successfully setup your OSB configuration project, if not please follow my previous post here. Now moving on to Develop your first OSB project.
Step 1--> Right click on your OSB configuration project and select Oracle Service Bust project
Step 2--> Give it a name. I have given Calculator since i am going to connect OSB to an external web service(calculator). U can give any name.
Step 3--> Now right click on ur Project and create four folders i.e, WSDL, Proxy, Business Service and XSD. Its always a good practice to keep all your files in respective folders.
Step 4--> Now copy XSD and WSDL files of your existing service in respective folders.[Note: You need working WSDL and corresponding Schema files of an existing service. i.e you need a running web service which you want to call from your OSB. You can get free web service WSDLs from here ]
Step 5--> Now right click on Business Service folder and new Business Service give it a name. I have given CalculatorBusinessService.
Step 6--> Now Select WSDLweb service--> browse--> provide wsdl file location-->Select port of your WSDL. Finish and override previous transport configuration.
Step 7--> Now right click on Proxy folder and create new Proxy service. Give it a name. I have given
Step 8--> Now you need to configure the proxy with the same WSDL file. Select WSDL web service and provide the wsdl file location and select port--> Finish and override the previous Transport configuration.
Step 9--> Now click on Message Flow tab in CalculatorProxyService.
Step 10--> Drag a route node from Oracle Service Bus Message Flow(Right Hand side)
Step 10-->Drag a routing node from Route Actions
Step11--> In Routing Service* provide a link to your Business Service. So that your Proxy directly routes to the Business Service.
Click on ok .
Now You are ready to deploy your OSB project. To deploy right click on configuration project and run as server.
Work Flow:
Client--> Proxy Service-->Business Service--> External Service
1) Business Service: Wraps the external Web Service and provides an extra layer of abstraction .
2) Proxy Service: Routes requests coming from Client to that Business Service. And provide response back to client
Step 1--> Right click on your OSB configuration project and select Oracle Service Bust project
Step 2--> Give it a name. I have given Calculator since i am going to connect OSB to an external web service(calculator). U can give any name.
Step 3--> Now right click on ur Project and create four folders i.e, WSDL, Proxy, Business Service and XSD. Its always a good practice to keep all your files in respective folders.
Step 4--> Now copy XSD and WSDL files of your existing service in respective folders.[Note: You need working WSDL and corresponding Schema files of an existing service. i.e you need a running web service which you want to call from your OSB. You can get free web service WSDLs from here ]
Step 5--> Now right click on Business Service folder and new Business Service give it a name. I have given CalculatorBusinessService.
Step 6--> Now Select WSDLweb service--> browse--> provide wsdl file location-->Select port of your WSDL. Finish and override previous transport configuration.
Step 7--> Now right click on Proxy folder and create new Proxy service. Give it a name. I have given
Step 8--> Now you need to configure the proxy with the same WSDL file. Select WSDL web service and provide the wsdl file location and select port--> Finish and override the previous Transport configuration.
Step 9--> Now click on Message Flow tab in CalculatorProxyService.
Step 10--> Drag a route node from Oracle Service Bus Message Flow(Right Hand side)
Step 10-->Drag a routing node from Route Actions
Step11--> In Routing Service* provide a link to your Business Service. So that your Proxy directly routes to the Business Service.
Click on ok .
Now You are ready to deploy your OSB project. To deploy right click on configuration project and run as server.
Work Flow:
Client--> Proxy Service-->Business Service--> External Service
1) Business Service: Wraps the external Web Service and provides an extra layer of abstraction .
2) Proxy Service: Routes requests coming from Client to that Business Service. And provide response back to client
888sport trustpilot - ThauberBet planet win 365 planet win 365 12bet 12bet クイーンカジノ クイーンカジノ 488morongo casino login free spins no deposit bonus
ReplyDeleteRespect and that i have a super supply: When To Renovate House house renovation pictures
ReplyDelete