Sunday, October 12, 2014

XML Gateway Transaction for PO Creation and Update using seeded map and transaction

Setup:

1. Creating Hub:
Go to ‘XML Gateway’ ResponsibilityàSelect ‘Define Hubs’
We need to Enter Protocol Address from ‘Application Diagnostics’ Responsibilityà Select Application à Select ‘Application Object Library’ à Select ‘XML Gateway Tests’ à




For HTTP Protocol Address URL Execute ‘OTA Round Trip Test’




For HTTPS Protocol Address URL Execute ‘SSL Test’





2. Trading Partner Setup:

Navigate to ‘XML Gateway’ ResponsibilityàSelect ‘Define Trading Partners’
We Created ‘Supp_Test1’ as a Trading Partner and we will use this supplier in PO.
Transaction Type PO is for Purchasing, and subtype PRO is for Process PO (i.e. a new purchasing document). For change order transmission POCO subtype is entered in the setup. The last letter of the subtype signifies the direction of messaging which is OUTBOUND.







Test

Creating a PO with the Supplier we mentioned in Trading Partner Setup Window.




Click on Approve. In Approval Window ensure that transmission method is XML.



Once PO is Approved .Go to System Administrator-àWorkFlow-àTransaction Monitor
Select ‘Outbound Messages’ and click on ‘Go’.




As Shown above For PO Number 20 the Transaction Sub Type PRO is Created Success- fully. Now we will update this PO to generate Transaction Sub Type POCO.




To View the XML Data, select Document ID and Click on Document, then click on View XML.

Following is the XML File Generated.





This example demonstrates using seeded transaction and map. I will cover custom transaction and map in next posts.

2 comments:

  1. What about other setups? Can you put that step by step as well? As per Oracle user guide below are the setup required. In this post you only did the hub and trading partner. What about others? Please let us know. Thanks,
    •System Profile Options
    •Hub Definitions
    •Define XML Standards
    •Define Transactions
    •Oracle XML Gateway Lookups
    •Define Trading Partner Setup
    •Define Code Conversion

    ReplyDelete
  2. Thanks for sharing great article about cXML.
    What is cXML

    ReplyDelete