Below Post will explain the steps to create a Hello World Web-Service in OIC. Its a simple project, with all the screenshots provided. I have tried to compare it with OSB/BPEL for easy understanding.
Once you login to the console, Below is the Home page. Please click on Integrations.
Once you click on Integrations, it will take you to the Designer console.
First we need to create a Connections, It will be exposed as a webservice to external system.
Creating Connections is similar to Proxy Service (OSB) or Exposed Service in BPEL.
Select SOAP Adapter.
Provide a relevant name.
Trigger - Equivalent to Proxy service(OSB) or Exposed Service (BPEL)
Invoke - Equivalent to Business service(OSB) or External Reference (BPEL)
Trigger and Invoke - Can be used as both.
You need to select a Concrete WSDL here. Which will be exposed to the external system.
All the SOAP webservice have to be protected with security. (This usually will be the username-password which you used to login)
Once done, you have to click on Test and make sure you have 100% which means you don't have any error and the connection is ready to use.
Now we will create the Integration where the flow is defined. Which is similar to Proxy Pipeline(OSB) or BPEL (BPEL).
Select the App Driven Orchestration.
Select the connection you have created in above steps.
Note: If your connection doesn't appear here, it means the connection is not 100% and not ready to use. Go back and check the connection.
Configure the endpoint and leave all the others with default.
It will create a flow with a default mapping in it.
Select the edit icon for mapping input-output.
For simpler mapping you can click and drag it from Source to target. If you want to use functions, click on the element name.
Select the function you want to use from left tab and complete your mapping.
Once the mapping is complete you can see there is an error on home page. This is a warning message is set the Instance Tracking.
Save the Project.
Once you activate it, it will provide the URL for you to test.
Create a SOAP UI project and test it.
Once you login to the console, Below is the Home page. Please click on Integrations.
Once you click on Integrations, it will take you to the Designer console.
First we need to create a Connections, It will be exposed as a webservice to external system.
Creating Connections is similar to Proxy Service (OSB) or Exposed Service in BPEL.
Select SOAP Adapter.
Provide a relevant name.
Trigger - Equivalent to Proxy service(OSB) or Exposed Service (BPEL)
Invoke - Equivalent to Business service(OSB) or External Reference (BPEL)
Trigger and Invoke - Can be used as both.
You need to select a Concrete WSDL here. Which will be exposed to the external system.
All the SOAP webservice have to be protected with security. (This usually will be the username-password which you used to login)
Once done, you have to click on Test and make sure you have 100% which means you don't have any error and the connection is ready to use.
Now we will create the Integration where the flow is defined. Which is similar to Proxy Pipeline(OSB) or BPEL (BPEL).
Select the App Driven Orchestration.
Select the connection you have created in above steps.
Note: If your connection doesn't appear here, it means the connection is not 100% and not ready to use. Go back and check the connection.
Configure the endpoint and leave all the others with default.
It will create a flow with a default mapping in it.
Select the edit icon for mapping input-output.
For simpler mapping you can click and drag it from Source to target. If you want to use functions, click on the element name.
Select the function you want to use from left tab and complete your mapping.
Once the mapping is complete you can see there is an error on home page. This is a warning message is set the Instance Tracking.
Save the Project.
Once you activate it, it will provide the URL for you to test.
Create a SOAP UI project and test it.
Nice and Thank you...please have other sessions like java callout and deployments.
ReplyDeletehow to generate WSDL File
ReplyDeleteThanks and I have a tremendous offer you: Whole House Renovation Checklist Pdf top home remodeling companies
ReplyDelete