This chapter discusses setting up the ODI web service for Global Order Promising.
This chapter covers the following topics:
To set up the ODI web service
In ODI Studio, navigate to E1APSProject, Common, Packages.
Run the CREATEWORKREPTABLES and SYNCHRONIZE XML scenarios and verify their completion.
Navigate to E1APSProject, Variables and set the Default value for the #PVV_OP_WSURL variable.
The default value should be the full URL for the deployed GOP web service. For example:
http://slc60036sems.us.oracle.com:7038/OrderPromising-OrderPromisingProject-context- root/OrderPromisingServicePort?WSDL
Navigate to E1APSProject, Common, Packages, and regenerate the LOADPARAMETERSDATATOWORKREPPKG scenario.
In the Master Repository Database Schema, enter a value for Work Repository Schema Name and run the following query:
CREATE OR REPLACE SYNONYM WR_DVM for <Work Repository Schema Name>.WR_DVM; ddATE
In the External Database Schema, run the following query:
CREATE OR REPLACE VIEW E1BASE_NONPLANUOM_V AS select "ITEM_CODE","UOM" from (SELECT BASE_ITEMCODE.ITEMCODE_DATA as item_code,BASE_ITEM.SHIPPINGUOM as UOM from BASE_ITEM ,BASE_ITEMCODE where BASE_ITEM.ITEMPK=BASE_ITEMCODE.ITEMFK UNION SELECT BASE_ITEMCODE.ITEMCODE_DATA as item_code,BASE_ITEM.VOLUMEUOM as UOM from BASE_ITEM ,BASE_ITEMCODE where BASE_ITEM.ITEMPK=BASE_ITEMCODE.ITEMFK UNION SELECT BASE_ITEMCODE.ITEMCODE_DATA as item_code,BASE_ITEM.WEIGHTUOM as UOM from BASE_ITEM ,BASE_ITEMCODE where BASE_ITEM.ITEMPK=BASE_ITEMCODE.ITEMFK UNION SELECT BASE_ITEMCODE.ITEMCODE_DATA as item_code,BASE_ITEMUOM.TOUOM as UOM from BASE_ITEMUOM ,BASE_ITEMCODE where BASE_ITEMUOM.ITEMUOMPK=BASE_ITEMCODE.ITEMUOMFK);
In the Work Repository Schema, enter a value for External Database Schema Name and run the following query:
CREATE OR REPLACE SYNONYM WR_E1BASE_NONPLANUOM FOR <External Database Schema>.E1BASE_NONPLANUOM_V;
In steps 6 and 7, the External Database Schema Name should be the same name as the external database schema you previously created.
Additional Information: For additional information, see Configuring External Databases.