{"id":2764,"date":"2013-01-30T12:22:26","date_gmt":"2013-01-30T12:22:26","guid":{"rendered":"http:\/\/ibizsoftinc.com\/blogs\/uncategorized\/web-services-for-doo-integration\/"},"modified":"2013-01-30T12:28:04","modified_gmt":"2013-01-30T12:28:04","slug":"web-services-for-doo-integration","status":"publish","type":"post","link":"https:\/\/www.ibizsoftinc.com\/blog\/web-services-for-doo-integration\/","title":{"rendered":"Web Services for DOO Integration"},"content":{"rendered":"<h3 class=\"western\">Web Services provided by DOO for order capture:<\/h3>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\">A Web service is a program that can be accessed remotely using different XML-based languages.\u00a0<span style=\"font-size: 1em; line-height: 1.3em\">A Web service <\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">consumer (such as, a desktop application or a Java Platform, Enterprise Edition client such as a portlet) invokes<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\"> a Web service by submitting a request in the form of an XML document to a Web service provider. The <\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">Web service provider processes the request and returns the result to the Web service consumer in an XML <\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">document.<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\">&nbsp;<\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">\u00a0<\/span><span style=\"font-size: 1em; line-height: 1.3em\">Oracle Fusion hosts some Web Services for different modules which can be consumed by External <\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">system to integrate with Oracle Fusion.\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\">&nbsp;<\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">Some of the Web Services that are available for Distributed Order <\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\">Orchestration module under the SCM Domain are \u2018SalesOrderOrchestrationService\u2019,<\/span><span style=\"font-size: 1em; line-height: 1.3em\">\u2018OrderTransformationService\u2019,<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\"> \u2018AssignAndLaunchService\u2019. All the Web Services will be created under a Composite which can be viewed<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\"><span style=\"font-size: 1em; line-height: 1.3em\"> from the Enterprise Manager of the specific Domain.<\/span><\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\">&nbsp;<\/p>\n<p style=\"margin-bottom: 0in\" align=\"JUSTIFY\">Steps to view the existing Web Services for DOO:<\/p>\n<p style=\"text-align: justify\">\u00a01. Login to the Enterprise Manager for SCM Domain<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo1.jpg\" width=\"700\" title=\"oracle-fusion-doo1.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo1.jpg\" \/><\/p>\n<p style=\"text-align: justify\">2. Navigate to \u2018Farm_SCMDomain -&gt; SOA -&gt; soa-infra -&gt; default -&gt;<span style=\"font-size: 1em; line-height: 1.3em\">DooDecompTransformSalesOrderComposite\u2019<\/span><span style=\"font-size: 1em; line-height: 1.3em\">\u00a0<\/span><\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo2.jpg\" width=\"700\" title=\"oracle-fusion-doo2.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo2.jpg\" \/><\/p>\n<p style=\"text-align: justify\">3. Under the Composite DooDecompTransformSalesOrderComposite, we can view and the<\/p>\n<p style=\"text-align: justify\">available Web Services under the column Services and References<\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">4. To view the definition of the any specific Web Service, we need to click on the Web Service<\/p>\n<p style=\"text-align: justify\">name under \u2018Services and References\u2019 and we will see details like Dashboard, Policies, Faults<\/p>\n<p style=\"text-align: justify\">and Rejected Messages and Properties of the WS<\/p>\n<p style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo3.jpg\" width=\"700\" title=\"oracle-fusion-doo3.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo3.jpg\" \/><\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">5. To view the XML definition of the Web Service, we need to find the WSDL under which the WS<\/p>\n<p style=\"text-align: justify\">has been defined. To view the WSDL link, click on the small blue balloon and click on the WSDL<\/p>\n<p style=\"text-align: justify\">link as shown below<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo4.jpg\" width=\"700\" title=\"oracle-fusion-doo4.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo4.jpg\" \/><\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">6. The XML definition will appear in a new Window as shown below:<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo5.jpg\" width=\"700\" title=\"oracle-fusion-doo5.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo5.jpg\" \/><\/p>\n<p style=\"text-align: justify\">7. Using the Dashboard, we can see all the requests that were placed on this Server since the time<\/p>\n<p style=\"text-align: justify\">the server was up<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo6.jpg\" width=\"700\" title=\"oracle-fusion-doo6.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo6.jpg\" \/><\/p>\n<p style=\"text-align: justify\">8. Whenever, a new request is raised for this WS, a Composite Instance ID is created using which<\/p>\n<p style=\"text-align: justify\">we can view the Audit Trail of all the processes that were executed under this Web Service. To<\/p>\n<p style=\"text-align: justify\">view this click on Dashboard tab under the WS SalesOrderOrchestrationService<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo7.jpg\" width=\"700\" title=\"oracle-fusion-doo7.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo7.jpg\" \/><\/p>\n<p style=\"text-align: justify\">\u00a09. Next, click on the Composite Instance ID number which will take us to the Flow Trace window<\/p>\n<p style=\"text-align: justify\">which shows the processes that were executed and the state of each step. Next, click on the link<\/p>\n<p style=\"text-align: justify\">DecompositionProcess as shown below<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo8.jpg\" width=\"700\" title=\"oracle-fusion-doo8.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo8.jpg\" \/><\/p>\n<p style=\"text-align: justify\">10. This will open up the Instance of the BPEL process DecompositionProcess. In this page, navigate<\/p>\n<p style=\"text-align: justify\">to Flow tab which will show pictorial representation of the BPEL process flow.<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo9.jpg\" width=\"700\" title=\"oracle-fusion-doo9.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo9.jpg\" \/><\/p>\n<p style=\"text-align: justify\">11. Review each step to make sure all the processes were executed without any errors.<\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">To test the Web Service, we can use the Test functionality that is available in the Composite of the<\/p>\n<p style=\"text-align: justify\">Enterprise Manager.<\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">Steps to use the Test Functionality:<\/p>\n<p style=\"text-align: justify\">&nbsp;<\/p>\n<p style=\"text-align: justify\">1. Navigate to \u2018Farm_SCMDomain \u00e0 SOA \u00e0 soa-infra \u00e0 default \u00e0<\/p>\n<p style=\"text-align: justify\">DooDecompTransformSalesOrderComposite\u2019<\/p>\n<p style=\"text-align: justify\">2. Under the Composite window, there are two options i.e. Test and Unit Test:<\/p>\n<p style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo10.jpg\" width=\"700\" title=\"oracle-fusion-doo10.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo10.jpg\" \/><\/p>\n<p style=\"text-align: justify\">3. Click on Unit Test tab, to view some existing test XML documents which can be executed to test<\/p>\n<p style=\"text-align: justify\">the Web Service<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo11.jpg\" width=\"700\" title=\"oracle-fusion-doo11.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo11.jpg\" \/><\/p>\n<p style=\"text-align: justify\">\u00a04. Provide a Test Run Name, and click OK<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo12.jpg\" style=\"font-size: 1em; line-height: 1.3em\" alt=\"oracle-fusion-doo12.jpg\" \/><\/p>\n<p style=\"text-align: justify\">5. Once the request completes, we can view the status of the Test Run under the tab \u2018Test Run\u2019<\/p>\n<p style=\"text-align: justify\">\u00a0<img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo13.jpg\" width=\"700\" title=\"oracle-fusion-doo13.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo13.jpg\" \/><\/p>\n<p style=\"text-align: justify\">6. Alternatively, we can use the Test option to execute a Web Service with new test data. Click<\/p>\n<p style=\"text-align: justify\">on the Test Button as shown in Step 2. This will take us to the Test Web Service page as shown<\/p>\n<p style=\"text-align: justify\">below:<\/p>\n<p style=\"text-align: justify\"><img decoding=\"async\" src=\"https:\/\/www.ibizsoftinc.com\/blogs\/wp-content\/uploads\/2013\/01\/oracle-fusion-doo14.jpg\" width=\"700\" title=\"oracle-fusion-doo14.jpg\" style=\"font-size: 1em; line-height: 1.3em; width: 700px\" alt=\"oracle-fusion-doo14.jpg\" \/><\/p>\n<p style=\"text-align: justify\">7. In this page, we need to first select the appropriate Operation that we need to perform and<\/p>\n<p style=\"text-align: justify\">then we can enter the test data under the Tab Request \u00e0 Input Parameters. Once all the<\/p>\n<p style=\"text-align: justify\">required information is entered, click on Test Web Service Button to execute the request.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Web Services provided by DOO for order capture: A Web service is a program that can be accessed remotely using different XML-based languages.\u00a0A Web service consumer (such as,&hellip;<\/p>\n","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2764","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/2764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/comments?post=2764"}],"version-history":[{"count":0,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/posts\/2764\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/media?parent=2764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/categories?post=2764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ibizsoftinc.com\/blog\/wp-json\/wp\/v2\/tags?post=2764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}