Showing posts with label soapui test ICS. Show all posts
Showing posts with label soapui test ICS. Show all posts

Wednesday 17 February 2016

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

This post is in continuation with my previous post, you can find the part 1 here
http://osb-dheeraj.blogspot.in/2016/02/invoke-web-service-hosted-at-oracle.html




Let's continue with steps


Step 5:
This will open a new Pop up, Select Basic, then click on OK.



Step 6:
Provide your Username and Password.




Step 7:
Now Right Click on the Request tab. You will see a window similar to below. Select 'Add WSS Username Token'



Step 8:
Select 'Password Text' and Click OK. This will add a Security Header in your Request.





Step 9:
Now again Right Click on Request Tab. Then Select "Add WS-Timestamp"




Step 10:
Select 60 in new pop up window Then click Ok. 
This will Add Timestamp to your request






Step 11:
Now click on Test button, to execute the request. This button is highlighted in yellow 



Step 12:
Thats all, you will receive the response from your ICS service








Congrats !, You have successfully invoked Web service hosted at Oracle ICS






For More Integrations and Design patterns, Please refer to My Other posts on ICS webservice integrations

1. Integration using Oracle ICS - Source ( Webservice ) to Target (Webservice)

http://osb-dheeraj.blogspot.in/2016/02/integration-using-oracle-ics-source.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)

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





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

This post is in continuation with my previous post, you can find the part 1 here
http://osb-dheeraj.blogspot.in/2016/02/invoke-web-service-hosted-at-oracle.html




Let's continue with steps


Step 5:
This will open a new Pop up, Select Basic, then click on OK.



Step 6:
Provide your Username and Password.




Step 7:
Now Right Click on the Request tab. You will see a window similar to below. Select 'Add WSS Username Token'



Step 8:
Select 'Password Text' and Click OK. This will add a Security Header in your Request.





Step 9:
Now again Right Click on Request Tab. Then Select "Add WS-Timestamp"




Step 10:
Select 60 in new pop up window Then click Ok. 
This will Add Timestamp to your request






Step 11:
Now click on Test button, to execute the request. This button is highlighted in yellow 



Step 12:
Thats all, you will receive the response from your ICS service








Congrats !, You have successfully invoked Web service hosted at Oracle ICS






For More Integrations and Design patterns, Please refer to My Other posts on ICS webservice integrations

1. Integration using Oracle ICS - Source ( Webservice ) to Target (Webservice)

http://osb-dheeraj.blogspot.in/2016/02/integration-using-oracle-ics-source.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)

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




Tuesday 9 February 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