Web Services for DOO Integration

January 30, 2013 · Uncategorized

Web Services provided by DOO for order capture:

A Web service is a program that can be accessed remotely using different XML-based languages. A Web service

consumer (such as, a desktop application or a Java Platform, Enterprise Edition client such as a portlet) invokes

a Web service by submitting a request in the form of an XML document to a Web service provider. The

Web service provider processes the request and returns the result to the Web service consumer in an XML

document.

 

 Oracle Fusion hosts some Web Services for different modules which can be consumed by External

system to integrate with Oracle Fusion. 

 

Some of the Web Services that are available for Distributed Order

Orchestration module under the SCM Domain are ‘SalesOrderOrchestrationService’,‘OrderTransformationService’,

‘AssignAndLaunchService’. All the Web Services will be created under a Composite which can be viewed

from the Enterprise Manager of the specific Domain.

 

Steps to view the existing Web Services for DOO:

 1. Login to the Enterprise Manager for SCM Domain

 oracle-fusion-doo1.jpg

2. Navigate to ‘Farm_SCMDomain -> SOA -> soa-infra -> default ->DooDecompTransformSalesOrderComposite’ 

 oracle-fusion-doo2.jpg

3. Under the Composite DooDecompTransformSalesOrderComposite, we can view and the

available Web Services under the column Services and References

 

4. To view the definition of the any specific Web Service, we need to click on the Web Service

name under ‘Services and References’ and we will see details like Dashboard, Policies, Faults

and Rejected Messages and Properties of the WS

oracle-fusion-doo3.jpg

 

5. To view the XML definition of the Web Service, we need to find the WSDL under which the WS

has been defined. To view the WSDL link, click on the small blue balloon and click on the WSDL

link as shown below

 oracle-fusion-doo4.jpg

 

6. The XML definition will appear in a new Window as shown below:

 oracle-fusion-doo5.jpg

7. Using the Dashboard, we can see all the requests that were placed on this Server since the time

the server was up

 oracle-fusion-doo6.jpg

8. Whenever, a new request is raised for this WS, a Composite Instance ID is created using which

we can view the Audit Trail of all the processes that were executed under this Web Service. To

view this click on Dashboard tab under the WS SalesOrderOrchestrationService

 oracle-fusion-doo7.jpg

 9. Next, click on the Composite Instance ID number which will take us to the Flow Trace window

which shows the processes that were executed and the state of each step. Next, click on the link

DecompositionProcess as shown below

 oracle-fusion-doo8.jpg

10. This will open up the Instance of the BPEL process DecompositionProcess. In this page, navigate

to Flow tab which will show pictorial representation of the BPEL process flow.

 oracle-fusion-doo9.jpg

11. Review each step to make sure all the processes were executed without any errors.

 

To test the Web Service, we can use the Test functionality that is available in the Composite of the

Enterprise Manager.

 

Steps to use the Test Functionality:

 

1. Navigate to ‘Farm_SCMDomain à SOA à soa-infra à default à

DooDecompTransformSalesOrderComposite’

2. Under the Composite window, there are two options i.e. Test and Unit Test:

oracle-fusion-doo10.jpg

3. Click on Unit Test tab, to view some existing test XML documents which can be executed to test

the Web Service

 oracle-fusion-doo11.jpg

 4. Provide a Test Run Name, and click OK

 oracle-fusion-doo12.jpg

5. Once the request completes, we can view the status of the Test Run under the tab ‘Test Run’

 oracle-fusion-doo13.jpg

6. Alternatively, we can use the Test option to execute a Web Service with new test data. Click

on the Test Button as shown in Step 2. This will take us to the Test Web Service page as shown

below:

oracle-fusion-doo14.jpg

7. In this page, we need to first select the appropriate Operation that we need to perform and

then we can enter the test data under the Tab Request à Input Parameters. Once all the

required information is entered, click on Test Web Service Button to execute the request.