Tuesday, February 09, 2016

Invoke Web service hosted at Oracle Integration Cloud Service (ICS) using SOAPUI

In this post we will invoke a Web service using SOAPUI, The web service is hosted at Oracle Integration Cloud Service (ICS).

If you want to go through the the Introduction of Oracle ICS, refer my previous post at:

1. Oracle Integration Cloud Service (ICS)

http://osb-dheeraj.blogspot.in/2016/02/oracle-integration-cloud-service-ics.html

2. Oracle Integration Cloud Service (ICS) - Monitoring and Tracking Messages & Errors

http://osb-dheeraj.blogspot.in/2016/02/oracle-integration-cloud-service-ics_10.html


3. Oracle Integration Cloud Service (ICS) - Monitoring and Tracking Messages & Errors

http://osb-dheeraj.blogspot.in/2016/02/oracle-integration-cloud-service-ics_10.html



Lets start with testing steps for ICS web service.

Note: Since Oracle ICS is publically hosted cloud at Internet, hence ICS webservice will always be a secured service i.e. protected by some security policy.


There could be two possible ways, how you get a web service hosted Oracle ICS.

Scenario 1: 

Some target system provides you the WSDL and WSDL URL of target service and Security credentials. This service is not developed by you.
You can also download wsdl from URL given. A URL will look something similar to below one

https://ics-mycompany.integration.us2.oraclecloud.com/integration/flowsvc/soap/DEMO_AIRPORT_INTEGRATIO/v01/?wsdl

Scenario 2 : 

You have created a Integration using Oracle ICS, either for Demo purpose or Actual Integration.
Here are steps to Get the WSDL URL from your ICS designer portal.

Step 1:
Login to your Oracle ICS portal. Home page look similar to below. Click on Integrations



Step 2:
Locate your Integration (In  previous Post we created, Demo_Airport_Integration). Click on the 'i' button located at right side of screen in the same box as your integration. A pop up window will appear. Copy the Endpoint URL from pop up window.





Now lets start with creating a project in SOAPUI. (Recommended SOAPUI version is 5.2.1)

SOAPUI testing :

Step 1:
Launch SoapUI, Click on File --> New SOAP Project. This will launch new project wizard



Step 2 :
Provide Project Name, and enter WSDL URL in 'Initial WSDL' field.
Then Click OK button. This will take sometime to download to WSDL and create a new project.




Step 3:
Click on the 'Auth' Button at Bottom of the request tab. This will open a small window at bottom.



Step 4:
In the newly opened wind at bottom, Select 'Add New Authorization' from drop down against authorization.



http://osb-dheeraj.blogspot.in/2016/02/invoke-web-service-hosted-at-oracle_17.html

2 comments:


  1. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp a great deal more around this condition. and I could assume you are an expert on this subject. Same as your blog i found another one Oracle Fusion Financials.Actually I was looking for the same information on internet for Oracle Financials Cloud and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.

    ReplyDelete