Monday, November 21, 2016

Oracle ICS - Basic connections

Oracle ICS - Basic connections

Oracle has been introducing numerous PaaS solutions in the last couple of years. And there’s one we’re really excited about: Integration Cloud Service. It’s the next generation PaaS solution for easy integration of your cloud or on premise silo’s! We’re going to try and keep you posted on the new features, possibilities and awesomeness that Oracle is aiming for with the new Cloud Middleware.
I really want to show everyone how easy it is to connect something with this new Cloud Solution. So I’ll start easy and set up a tutorial to walk you through your first integration in ICS.
We’re going to setup a basic request, where we want to retrieve information from a free weather service.
There’s an interface exposed, we can use for getting some information and what the input should be.
When we login to ICS you see the dashboard where we can define our integrations and connections. We want to setup a new integration. But before that, we’ll need a couple of connections.


1) First we’ll setup a new connection, by creating a new one:


2) Select the SOAP connection type and create it.


This message will inform you whether it was successful, topleft of your screen:

Now it’s time to configure your connection:



3) Upload the WSDL of the interface you’re trying to connect to.
Upload and Ok.


4) Configure the security by setting the security settings to ‘No Security Policy’.

Repeat steps 1 to 4 but your connection role is ‘Trigger’ instead of ‘Invoke’.
Make sure it has the same configuration, and remove any security policies.

5) Now we’re ready to make an integration:



Click New Integration. This opens your integration window, where you’ll be able to link to new endpoint.
Give it a nice name and click Create.

6) We now need a trigger, and an invoke. Which fortunately we just made!

Drag and drop your Trigger to the left side, and your Invoke to the right!






Don’t forget to give them a meaningfull name. Name the integrations something usefull,and stick to naming conventions you agreed upon.
We now should have a similar setup as below.

This is what your integration should look like:


- Left shows the information that triggers your integration.
- Right shows the interface that will be invoked (for instance your on premise application).
- The menu on the right (not on the picture above) shows the connections you have available, that you may want to invoke (inside your ICS environment)


7) All that’s left is map your input/output in both directions, and some tracking!


Now define some tracking items:


Now activate your integration! We can skip tracing.


You can now verify your integration by looking at the details (little information icon). It will give you the WSDL location and endpoint for your integration!


Now we’ll test the application using SOAP-UI. Integration Cloud requires you to use Timestamp, Username and Password, so be sure to add these to your request!

And we’ll have a response!

As you see you can click new connections and integrations together really quickly! Plenty of time left to get a beer!

0 comments:

Post a Comment