Po requisitions with oracel xml gateway

hi all,
i was given a requirement to use oracle xml gateway in importing data from an external source... client gave me 2 files to play with.
XML
<?xml version = "1.0"?>
<MSG_IP_MAT_ISSUE ID = "WMIS-616002" SRC_SYSTEM_CODE = "WMIS" SRC_SYSTEM_INSTANCE = "WMIS">
     <MATREQ:MAT_REQ xmlns:MATREQ = "MATREQ" >
     <MATREQ:COMMENTS>Testing PLS email</MATREQ:COMMENTS>
     <MATREQ:DELIVERY_DATE>01/22/2010</MATREQ:DELIVERY_DATE>
     <MATREQ:MAT_REQ_BY_PERSON_NO>1782</MATREQ:MAT_REQ_BY_PERSON_NO>
     <MATREQ:MAT_REQ_DATE>01/22/2010</MATREQ:MAT_REQ_DATE>
     <MATREQ:MAT_REQ_ID>71500</MATREQ:MAT_REQ_ID>
     <MATREQ:PROJECT_NO>119488</MATREQ:PROJECT_NO>
     <MATREQ:SHIP_TO_ADDRESS>10TH</MATREQ:SHIP_TO_ADDRESS>
     <MATREQ:SHIP_TO_CITY>INDIANAPOLIS</MATREQ:SHIP_TO_CITY>
     <MATREQ:SHIP_TO_STATE>IN</MATREQ:SHIP_TO_STATE>
     <MATREQ:SHIP_TO_ZIP_CODE>46201</MATREQ:SHIP_TO_ZIP_CODE>
     <MATREQ:SHIP_TO_ZIP_CODE_PLUS4>2005</MATREQ:SHIP_TO_ZIP_CODE_PLUS4>
     <MATREQ:STOREROOM_CODE>PLS</MATREQ:STOREROOM_CODE>
     <MATREQ:WR_NO>292244</MATREQ:WR_NO>
     <MATDTL:MAT_REQ_DETAIL xmlns:MATDTL = "MATDTL" >
          <MATDTL:MATERIAL_DESCRIPTION>CABLE, TRIPLEX, 2--#2 7/W AL, .045&quot; POLYETHYLENE COVERED AND</MATDTL:MATERIAL_DESCRIPTION>
          <MATDTL:MATERIAL_ITEM_ID>1808104</MATDTL:MATERIAL_ITEM_ID>
          <MATDTL:MAT_REQ_ID>71500</MATDTL:MAT_REQ_ID>
          <MATDTL:REQUISITION_QTY>4</MATDTL:REQUISITION_QTY>
          <MATDTL:UNIT_OF_MEASURE_CODE>FT</MATDTL:UNIT_OF_MEASURE_CODE>
     </MATDTL:MAT_REQ_DETAIL>
     </MATREQ:MAT_REQ>
</MSG_IP_MAT_ISSUE>DTD
<?xml version="1.0" encoding="UTF-8" ?>
<!ATTLIST MSG_IP_MAT_ISSUE ID CDATA #IMPLIED
SRC_SYSTEM_CODE CDATA #IMPLIED
SRC_SYSTEM_INSTANCE CDATA #IMPLIED
USER_INFO CDATA #IMPLIED >
<!ATTLIST MATREQ:MAT_REQ xmlns:MATREQ CDATA #FIXED "MATREQ">
<!ATTLIST MATDTL:MAT_REQ_DETAIL xmlns:MATDTL CDATA #FIXED "MATDTL">
<!ELEMENT MSG_IP_MAT_ISSUE (MATREQ:MAT_REQ+)>
<!ELEMENT MATREQ:MAT_REQ ( MATREQ:COMMENTS?, MATREQ:DELIVERY_DATE?, MATREQ:MAT_REQ_BY_PERSON_NO?, MATREQ:MAT_REQ_DATE?, MATREQ:MAT_REQ_ID?, MATREQ:PROJECT_NO?, MATREQ:SHIP_TO_ADDRESS?, MATREQ:SHIP_TO_CITY?, MATREQ:SHIP_TO_STATE?, MATREQ:SHIP_TO_ZIP_CODE?, MATREQ:SHIP_TO_ZIP_CODE_PLUS4?, MATREQ:STOREROOM_CODE?, MATREQ:WR_NO?, MATDTL:MAT_REQ_DETAIL* ) >
<!ELEMENT MATREQ:COMMENTS (#PCDATA) > <!-- COMMENTS STRING (Max 2000) -->
<!ELEMENT MATREQ:DELIVERY_DATE (#PCDATA) > <!-- DELIVERY_DATE DATE (MM/DD/YYYY) -->
<!ELEMENT MATREQ:MAT_REQ_BY_PERSON_NO (#PCDATA) > <!-- MAT_REQ_BY_PERSON_NO NUMBER (5,0) -->
<!ELEMENT MATREQ:MAT_REQ_DATE (#PCDATA) > <!-- MAT_REQ_DATE DATE (MM/DD/YYYY) -->
<!ELEMENT MATREQ:MAT_REQ_ID (#PCDATA) > <!-- MAT_REQ_ID NUMBER (7,0) -->
<!ELEMENT MATREQ:PROJECT_NO (#PCDATA) >
<!ELEMENT MATREQ:SHIP_TO_ADDRESS (#PCDATA) > <!-- SHIP_TO_ADDRESS STRING (Max 60) -->
<!ELEMENT MATREQ:SHIP_TO_CITY (#PCDATA) > <!-- SHIP_TO_CITY STRING (Max 30) -->
<!ELEMENT MATREQ:SHIP_TO_STATE (#PCDATA) > <!-- SHIP_TO_STATE STRING (Max 2) -->
<!ELEMENT MATREQ:SHIP_TO_ZIP_CODE (#PCDATA) > <!-- SHIP_TO_ZIP_CODE STRING (Max 5) -->
<!ELEMENT MATREQ:SHIP_TO_ZIP_CODE_PLUS4 (#PCDATA) > <!-- SHIP_TO_ZIP_CODE_PLUS4 STRING (Max 4) -->
<!ELEMENT MATREQ:STOREROOM_CODE (#PCDATA) > <!-- STOREROOM_CODE STRING (Max 5) -->
<!ELEMENT MATREQ:WR_NO (#PCDATA) > <!-- WR_NO NUMBER (7,0) -->
<!ELEMENT MATDTL:MAT_REQ_DETAIL ( MATDTL:MATERIAL_DESCRIPTION?, MATDTL:MATERIAL_ITEM_ID?, MATDTL:MAT_REQ_ID?, MATDTL:REQUISITION_QTY?, MATDTL:UNIT_OF_MEASURE_CODE? ) >
<!ELEMENT MATDTL:MATERIAL_DESCRIPTION (#PCDATA) > <!-- MATERIAL_DESCRIPTION STRING (Max 10) -->
<!ELEMENT MATDTL:MATERIAL_ITEM_ID (#PCDATA) > <!-- MATERIAL_ITEM_ID STRING (Max 10) -->
<!ELEMENT MATDTL:MAT_REQ_ID (#PCDATA) > <!-- MAT_REQ_ID NUMBER (7,0) -->
<!ELEMENT MATDTL:REQUISITION_QTY (#PCDATA) > <!-- REQUISITION_QTY NUMBER (8,2) -->
<!ELEMENT MATDTL:UNIT_OF_MEASURE_CODE (#PCDATA) > <!-- UNIT_OF_MEASURE_CODE STRING (Max 5) -->having these 2 files, how do i use oracle xml gateway to read the contents of the XML file and load it into oracle?
thanks
allen

hi again,
i managed to make this work and inserted the data in the XML file into my Oracle Table but i had to lessen the tags in the XML to only string values since i seem to get errors whenever i try to retrieve data with date and number values.
does anyone have any ideas why? is there a special way of capturing date type values from xml into oracle xml gateway?
i did some research and noticed that some uses a different approach when dealing with date types. they use something like...
    <MAT_REQ_DATE>
      <YEAR>2010</YEAR>
      <MONTH>09</MONTH>
      <DAY>06</DAY>
    </MAT_REQ_DATE>but i have no idea why. can someone explain the purpose why they need to use the format above. i'm hoping it holds the solution to my problem.
thanks
allen

Similar Messages

  • Order Import after PO Inbound via XML Gateway Error

    I am using Apps Adapter (11g) to connect to EBiz Suite 11.5.10. I am doing PO Inbound and using XML Gateway to create the sales order. Even though I am populating order type in <POTYPE> under the <POORDERHDR>, during order import, I keep getting the error that "please provide order type". Can you please let me know which xml tag I need to populate the order type.
    Thanks
    Shanthi

    Following are some of the pros of using XML Gateway:
    1) XML is being accepted and more and more technologies are moving towards XML, so that "seems" to a future ready solution
    2) XML processing is real-time.
    3) Most of the maps for universally accepted standards are seeded in Oracle.
    4) You can use Oracle Supplier Network(Free service provided by Oracle) with your XML gateway to transmit/receive xml documents to a supplier who may or may not be accepting the format you are generating(e.g. if your PO is in OAG standard and your supplier is accepting cXML format, OSN takes care of translating your document)
    You might want to consider these points while deciding the technology.
    Nitin S. Darji

  • OracleApps Adapter VS Oracle XML Gateway

    Can any one tell me difference between Interconnect Oracle Apps adapter and Oracle XML Gateway. I am not familiar with Oracle XML gateway tool. I wonder if i could use XML Gateway comes with Interconnect Oracle Apps adapter instead of the product Oracle XML Gateway.

    Hi,
    I am also having one question relating to this thread.
    We are using Oracle Applications 11.5.10.
    We have a Business Requirement to send Approved Purchased Orders to Supplier in XML format.
    We have made all the required setup to generate the PO in XML format using XML Gateway, which places the XML message in a queue.
    Our design expert has suggested us to use Oracle Applications Interconnect for sending the message to the supplier through AQ adapter (From Oracle Apps to Interconnect) and HTTP adapter (from Interconnect to supplier).
    As per my knowledge (read in Oracle documentation) this can be done using Oracle Transport Agent (OTA), which comes with Oracle XML Gateway and also I believe that OTA is tightly integrated with Oracle XML gateway and we can easily track the status of the message.
    When contacted our design expert he told that there are some advantages of using Interconnect but I didn't understand his argument well, may be because I am very much new to using Oracle Interconnect.
    I will be grateful if somebody could tell me, how advantageous is using Interconnect over Oracle Transport Agent (OTA) (please note we are not doing any modifications to the message generated by XML gateway, we are transferring as it is).
    Thanks in Advance,
    Thiru

  • XML gateway with multiple XML structures??

    Hi,
    I have a requirement to import data using XML gateway with different XML structures. Third party system sometimes will not provide certain tags itself if there is no data for the tag like contacts in below sample xmls. In that case we need to ignore those tags (CONTACTS in below sample). As per my understanding, we must have tag in XML though it may not have any value.
    We have 2 XMLs
    XML1 for supplier with contacts
    <SUPPLIER>
    <NAMES>
    <NAME1>XYZ </NAME1>
    <NAME2>ABC</NAME2>
    </NAMES>
    <SITE>
    <SITE1>XYZ </SITE1>
    <SITE2>ABC</SITE2>
    </SITE>
    <CONTACT>
    <CONTACT1>XYZ </CONTACT1>
    <CONTACT2>ABC</CONTACT2>
    </CONTACT>
    </SUPPLIER>
    XML2 for supplier without contacts
    XML1
    <SUPPLIER>
    <NAMES>
    <NAME1>XYZ1 </NAME1>
    <NAME2>ABC1</NAME2>
    </NAMES>
    <SITE>
    <SITE1>XYZ1 </SITE1>
    <SITE2>ABC1</SITE2>
    </SITE>
    </SUPPLIER>
    Can we upload data in both these xmls using only one generic dtd and xgm using XML gateway which will skip any missing tag.
    Thanks
    Rishi

    Hi, you can FOR XML PATH for a finer degree of control over your XML.  Use the @ symbol to create attributes.  Here's a simple example:
    DECLARE @t TABLE ( rowId INT IDENTITY PRIMARY KEY, [address] VARCHAR(50), city VARCHAR(30), floor INT, suite INT, doorType VARCHAR(20) )
    INSERT INTO @t VALUES
    ( '123 Fake St', 'Springfield', 10, 512, 'Metal' )
    SELECT
    [address] AS "Address",
    city AS City,
    [floor] AS "Location/@Floor",
    suite AS "Location/@Suite",
    doorType AS "Location/@DoorType"
    FROM @t
    FOR XML PATH ('Company'), ROOT ('Companies'), ELEMENTS;

  • EBS R12 XML Gateway Integration - Supplier information sync with MAXIMO

    Hello Guys.
    Recently I'm working on a EBS R12 implementation project, as customer already has MAXIMO application, they would like keep it ask "supplier" information syncronization between Oracle EBS R12 and MAXIMO through Oracle SOA Suite 10.1.3
    For EBS R12 supplier creation/update screens done, currently I found I can get supplier information out by configuring Oracle APPS adapter within Oracle ESB(Enterprise Service Bus) scenario to catch business events but may not perfect this way.
    Then we would like try XML Gateway but seems there're no "supplier" related XML Gateway fit in Oracle Apdater module browser :-(
    Appreciate if any one can guide/help........
    Finally being in Dec at the moment, Merry Christmas to everyone first !
    Dong

    DOCUMENT_ID is numeric, yet the value passed is not:
    x_value==>192124:0:102

  • Installing ACE XML Gateway with F5 BigIP

    We currently have an F5 BigIP (2 redundant F5s actually) load balancing for our web sites. I am trying to install a Cisco XML Gateway.
    What is the best way to set this up?
    Thanks.
    Jason

    AXG runs as reverse proxy mode, similar to generic server, there is no more concern about deployment, just treat it as reverse proxy server, it will be fine.

  • Dequeuing XML Gateway Messages enqueued with WF_SEND with Block Mode = Y

    I am developing a process to dequeue message from the ECX_OUTBOUND queue. The message is enqueued by an Oracle Workflow processes which raises a WF_SEND event. The Block Mode attribute of the WF_SEND event is set to "Y" which causes the workflow activity to wait for a response from the messaging system. The XML Gateway User's Guide says "the messaging system (such as OTA or Webmethods) will return the delivery status regardless of success or failure".
    My process successfully dequeues the message but the workflow process remains active waiting for a response.
    How do I return a response (the delivery status) to XML Gateway to cause the workflow to continue or error?

    Hi,
    Run the diagnostics script in (Note: 732295.1 - R12.0.6+ : Oracle Application Object Library XML Gateway Engine Setup Test) and see if it returns any error/warning messages.
    Regards,
    Hussein

  • Reg: XML Gateway Error while posting invoice (PROCESS_INVOICE_002 )

    I'm trying to post the PROCESS_INVOICE_002 to Oracle 11i XML gateway which is supposed to route to the mentioned trading partner.
    When I observed the status through Workflow Admin web App - > Transaction Monitor the message has reached the INBOUND Queue but it is not able to route it/ process it ... and goes to error state with
    The Standard:OAG, Transaction Type:INVOICE , Transaction SubType:PROCESS and Location Code Bigmart is not enabled in the XML Gateway Server. Pls check your Setup.
    Then I had corrected the setup with the proper TP configuration.
    Now I'm getting a different error.
    Kindly give me some inputs regarding this.
    Now it is giving the below mentioned error. Here is the Process Summary:
    Document ID blrgislin15:26ae9b47:11a9c4ae5b9:46b1
    Internal Control Number 1656
    External Transaction Type INVOICE
    External Transaction Subtype PROCESS
    Party ID
    Party Type
    Trading Partner Name N/A
    Site Name N/A
    Processing Date 19-Jun-2008 16:41:15
    Processing Status Error
    Processing Message ORA-06502: PL/SQL: numeric or value error: character string buffer too small - ECX_INBOUND_TRIG.WRAP_VALIDATE_MESSAGE
    Processing Logfile
    The XML Invoice I'm posting is :
    <PROCESS_INVOICE_002>
         <CNTROLAREA>
              <BSR>
                   <VERB value="PROCESS">PROCESS</VERB>
                   <NOUN value="INVOICE">INVOICE</NOUN>
                   <REVISION value="002">002</REVISION>
              </BSR>
              <SENDER>
                   <LOGICALID>BigMart</LOGICALID>
                   <COMPONENT>INVOICE</COMPONENT>
                   <TASK>PROCESS</TASK>
                   <REFERENCEID></REFERENCEID>
                   <CONFIRMATION>0</CONFIRMATION>
                   <LANGUAGE>ENG</LANGUAGE>
                   <CODEPAGE>UTF8</CODEPAGE>
                   <AUTHID>APPS</AUTHID>
              </SENDER>
              <DATETIME qualifier="CREATION">
                   <YEAR>2003</YEAR>
                   <MONTH>09</MONTH>
                   <DAY>22</DAY>
                   <HOUR>07</HOUR>
                   <MINUTE>30</MINUTE>
                   <SECOND>18</SECOND>
                   <SUBSECOND>0000</SUBSECOND>
                   <TIMEZONE>-0500</TIMEZONE>
              </DATETIME>
         </CNTROLAREA>
         <DATAAREA>
              <PROCESS_INVOICE>
                   <INVHEADER>
                        <AMOUNT qualifier="DOCUMENT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <DATETIME qualifier="DOCUMENT">
                             <YEAR>2003</YEAR>
                             <MONTH>09</MONTH>
                             <DAY>23</DAY>
                             <HOUR>01</HOUR>
                             <MINUTE>00</MINUTE>
                             <SECOND>00</SECOND>
                             <SUBSECOND>0000</SUBSECOND>
                             <TIMEZONE>-0500</TIMEZONE>
                        </DATETIME>
                        <DOCUMENTID>10000</DOCUMENTID>
                        <DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
                        <REASONCODE>INVOICE</REASONCODE>
                        <PARTNER>
                             <NAME index="1">STAPLES-LA</NAME>
                             <PARTNRID>STAPLES-LA</PARTNRID>
                             <PARTNRTYPE>SUPPLIER</PARTNRTYPE>
                             <ADDRESS>
                                  <ADDRLINE index="1">22355 WEST ELEVEN MILE ROAD</ADDRLINE>
                                  <CITY>LOS ANGELES</CITY>
                                  <COUNTRY>US</COUNTRY>
                                  <POSTALCODE>48034</POSTALCODE>
                                  <STATEPROVN>CA</STATEPROVN>
                             </ADDRESS>
                             <CONTACT>
                                  <NAME index="1">JOHN STAPLES</NAME>
                                  <CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
                                  <EMAIL>[email protected]</EMAIL>
                             </CONTACT>
                        </PARTNER>
                   </INVHEADER>
                   <INVLINE>
                        <AMOUNT qualifier="EXTENDED" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <AMOUNT qualifier="TOTAL" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <OPERAMT qualifier="UNIT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <UOMVALUE>1</UOMVALUE>
                             <UOMNUMDEC>0</UOMNUMDEC>
                             <UOM>EA</UOM>
                        </OPERAMT>
                        <QUANTITY qualifier="ITEM">
                             <VALUE>100</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <UOM>EA</UOM>
                        </QUANTITY>
                        <LINENUM>1</LINENUM>
                        <DESCRIPTN>1st Invoie Line</DESCRIPTN>
                   </INVLINE>
              </PROCESS_INVOICE>
         </DATAAREA>
    </PROCESS_INVOICE_002>

    Hi, Due to some other problem with my setup, I had to reinstall E-Biz, and again did all the configuration freshly and tried posting the same xml but for the current customer configuration. It went successfully. Here is the xml I'have posted. You can try configuring your transactions and Trading Partner as given in the XML gateway User Guide, which is available as part of the documentation.
    <?xml version="1.0"?>
    <!DOCTYPE PROCESS_INVOICE_002 SYSTEM "171_process_invoice_002.dtd">
    <PROCESS_INVOICE_002>
         <CNTROLAREA>
              <BSR>
                   <VERB value="PROCESS">PROCESS</VERB>
                   <NOUN value="INVOICE">INVOICE</NOUN>
                   <REVISION value="002">002</REVISION>
              </BSR>
              <SENDER>
                   <LOGICALID>Bigmart</LOGICALID>
                   <COMPONENT>INVOICE</COMPONENT>
                   <TASK>PROCESS</TASK>
                   <REFERENCEID></REFERENCEID>
                   <CONFIRMATION>0</CONFIRMATION>
                   <LANGUAGE>ENG</LANGUAGE>
                   <CODEPAGE>UTF8</CODEPAGE>
                   <AUTHID>APPS</AUTHID>
              </SENDER>
              <DATETIME qualifier="CREATION">
                   <YEAR>2008</YEAR>
                   <MONTH>07</MONTH>
                   <DAY>08</DAY>
                   <HOUR>07</HOUR>
                   <MINUTE>30</MINUTE>
                   <SECOND>18</SECOND>
                   <SUBSECOND>0000</SUBSECOND>
                   <TIMEZONE>-0500</TIMEZONE>
              </DATETIME>
         </CNTROLAREA>
         <DATAAREA>
              <PROCESS_INVOICE>
                   <INVHEADER>
                        <AMOUNT qualifier="DOCUMENT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <DATETIME qualifier="DOCUMENT">
                             <YEAR>2008</YEAR>
                             <MONTH>07</MONTH>
                             <DAY>08</DAY>
                             <HOUR>01</HOUR>
                             <MINUTE>00</MINUTE>
                             <SECOND>00</SECOND>
                             <SUBSECOND>0000</SUBSECOND>
                             <TIMEZONE>-0500</TIMEZONE>
                        </DATETIME>
                        <DOCUMENTID>10001</DOCUMENTID>
                        <DESCRIPTN>INVOICES FROM STAPLES</DESCRIPTN>
                        <REASONCODE>INVOICE</REASONCODE>
                        <PARTNER>
                             <NAME index="1">BigMart</NAME>
                             <PARTNRID>BigMart</PARTNRID>
                             <PARTNRTYPE>Customer</PARTNRTYPE>
                             <ADDRESS>
                                  <ADDRLINE index="1">100 Main Street Bentonville</ADDRLINE>
                                  <CITY>Arizona</CITY>
                                  <COUNTRY>US</COUNTRY>
                                  <POSTALCODE>38019</POSTALCODE>
                                  <STATEPROVN>AR</STATEPROVN>
                             </ADDRESS>
                             <CONTACT>
                                  <NAME index="1">JOHN STAPLES</NAME>
                                  <CONTCTTYPE>ACCOUNTING</CONTCTTYPE>
                                  <EMAIL>[email protected]</EMAIL>
                             </CONTACT>
                        </PARTNER>
                   </INVHEADER>
                   <INVLINE>
                        <AMOUNT qualifier="EXTENDED" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <AMOUNT qualifier="TOTAL" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <DRCR>D</DRCR>
                        </AMOUNT>
                        <OPERAMT qualifier="UNIT" type="T">
                             <VALUE>6300</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <CURRENCY>USD</CURRENCY>
                             <UOMVALUE>1</UOMVALUE>
                             <UOMNUMDEC>0</UOMNUMDEC>
                             <UOM>EA</UOM>
                        </OPERAMT>
                        <QUANTITY qualifier="ITEM">
                             <VALUE>100</VALUE>
                             <NUMOFDEC>2</NUMOFDEC>
                             <SIGN>+</SIGN>
                             <UOM>EA</UOM>
                        </QUANTITY>
                        <LINENUM>1</LINENUM>
                        <DESCRIPTN>1st Invoie Line</DESCRIPTN>
                   </INVLINE>
              </PROCESS_INVOICE>
         </DATAAREA>
    </PROCESS_INVOICE_002>

  • How to consume XML Gateway WS from a remote Oracle DB (10g)?

    Hi,
    I'm currently looking into consuming EBS web services, particularly the XML Gateway service from a remote database. For ease of use, I'm also using an Oracle 10g database.
    It seems there are several ways to skin a cat though. Hope you can help.
    1) Is it possible to use UTL_HTTP for this? If yes, can you please explain in detail as I have been trying to do this the past few days without success. Note, I was able to consume other web service examples, though. What url & SOAP action should I use?
    2) I built a proxy client stub using JDeveloper and deployed it to the DB. However my plsql procedure doesn't execute the java class. Any thoughts?
    Thanks,
    Charina

    Hi Charina,
    Regarding option 1), the url for the service endpoint and the value for the SOAPaction HTTP heaader are advertized in the WSDL for your service.
    The value of the utl is provided by the 'location' attribute for the soap:address element within a port.
    The value for the SOAPaction header is provided by the 'soapAction' attribute for the soap:operation element within a wsdl:binding/wsdl:operation element.
    You can have multiple ports and bindings advertized in a single WSDL. If this is the case for you, you need to make sure that the operation you are tryin to invoke is from the SOAP binding; the one with the transport attribute set to "http://schemas.xmlsoap.org/soap/http".
    Here is a WSDL snippet for illustration purposes:
      <binding name="CalculatePricePort" type="tns:CalculatePricePort">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
                      style="document"></soap:binding>
        <operation name="CalculatePrice">
          <soap:operation soapAction="document/http://siebel.com/OrderManagement/Quote/PSP:CalculatePrice"></soap:operation>
          <input>
            <soap:body use="literal"></soap:body>
          </input>
          <output>
            <soap:body use="literal"></soap:body>
          </output>
        </operation>
      </binding>
      <service name="CalculatePriceWS">
        <port binding="tns:CalculatePricePort" name="CalculatePricePort">
          <soap:address location="http://130.35.90.150/eai_enu/start.swe?SWEExtSource=SecureWebService&amp;SWEExtCmd=Execute&amp;UserName=XXXX&amp;Password=XXXX"></soap:address>
        </port>
      </service>Note that I took an example where both attributes are not using common format.
    To try to get this working faster, you may want to try to use an existing JAVA (or .Net) client and compare the working payload with what is generated by the UTL_HTTP package. It's usually faster to work of a working sample that to double guess why it's not working.
    Hope it helps,
    -Eric

  • Purchase Order to Purchase Order using BPEL and/or XML Gateway

    Hi,
    Is there a way to do create a duplicate Purchase Order in another instance using BPEL and/or XML Gateway? We're looking to do A2A transactions, namely duplicating data from one instance to another (of course the functional setups would have to be the same). Thanks!!

    this is the perfect usace for the upcoming ESB (shuffling data with transforming from A to B) - but this can be done with BPEL too .. there are some solutions to this
    1) on a database level (db to db)
    2) having events setup'ed in the master instance, that fire a process that get's the data
    3) and then using the functions from iRep
    hth clemens

  • Error in inbound processing: EDI message - XML Gateway

    Hello!
    I've setup a DELFOR transaction in B2B and modified XML Gateway settings for internal delivery channel in order to send the message to EBS, but I'm getting weird errors in b2b.log. (XML Gateway in EBS is not setup yet, but it should't be an issue since incoming errors are handled in EBS, and I would just see an inbound transaction with processing errors in Transaction Monitor.)
    In the beginning of b2b.log I see this:
    2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Push Stack: queryInternalDeliveryChannel
    2009.07.07 at 15:26:31:897: B2BStarter thread: BusinessLogicLayer - (DEBUG) Pop Stack: queryInternalDeliveryChannel
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound initialize
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 Obtaining inbound connection...
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound connect string: jdbc:oracle:thin:@server64.xa.si:1521:test2
    2009.07.07 at 15:26:31:897: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:31 CEST 2009 inbound username: apps
    2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) : Tue Jul 07 15:26:32 CEST 2009 inbound initialize exit
    2009.07.07 at 15:26:32:522: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
    2009.07.07 at 15:26:32:538: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
    2009.07.07 at 15:26:32:538: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
    After I copy the edi file to the incoming directory B2B starts processing the file:
    2009.07.07 at 15:30:01:878: Thread-10: B2B - (DEBUG)
    Protocol = File
    Version = 1.0
    Transport Header
    filename:00003442_23.CMS
    filesize:12345
    file_ext:CMS
    fullpath:C:\xa_endpoint\00003442_23.CMS
    timestamp:2009-07-06T16:14:29.393+01:00
    As I see in the log: B2B finds the trading partner and agreement and all looks fine. But later comes this:
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Enter
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to destination. protocol is XMLGateway Queues
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination deliver message to XMLGW
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Converting B2B message to ECX message..
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 Inbound - B2BtoECX - Enter
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 B2B Message -
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : COLLABORATION_NAME : null
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : ACTION_NAME : DELFOR
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE : DELFOR
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DOCUMENT_TYPE_REVISION : D97A
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : SOURCE_NAME : tpartner
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : DESTINATION_NAME : Xa d.d.
    2009.07.07 at 15:30:05:909: Thread-9: B2B - (DEBUG) : PAYLOAD : UNB+UNOA.............. edi message continues here
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : PAYLOAD : <?xml version="1.0" ?><Transaction-DELFOR............... xml continues here
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) : Tue Jul 07 15:30:05 CEST 2009 ECX Message -
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry Could not deliver the message; exception message is null
    2009.07.07 at 15:30:05:925: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:handleAppMessageRetry No application side retry
    2009.07.07 at 15:30:06:081: Thread-9: B2B - (ERROR) Error -: AIP-50903: Message "0A14011912255682A58000003257C600-1" retry count is zero
         at oracle.tip.adapter.b2b.msgproc.MessageHandler.handleAppMessageRetry(MessageHandler.java:394)
         at oracle.tip.adapter.b2b.msgproc.MessageHandler.deliverMessageToDestination(MessageHandler.java:344)
         at oracle.tip.adapter.b2b.msgproc.Request.putMsg(Request.java:657)
         at oracle.tip.adapter.b2b.msgproc.Request.continueRequest(Request.java:481)
         at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:410)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    Last message repeats once more and then:
    2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:081: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
    2009.07.07 at 15:30:06:096: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:updateMsgError(3 params) Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Enter
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Transaction.commit()
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) DBContext commit: Leave
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.MessageHandler:deliverMessageToDestination Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Exit
    2009.07.07 at 15:30:06:096: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:XXX: processIncomingMessage setting seq numbers
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage Call Incoming Request Processor
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Enter
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest TransportBindings created
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:incomingRequest Create a Message Table Row for Request message with message state Continue Processing
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertMsgTblRow Enter
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryExchangeProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryExchangeProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:null
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Push Stack: queryDocumentProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) Pop Stack: queryDocumentProtocolRevision
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (ERROR) Error -: AIP-13115: Not in an active transaction
         at oracle.tip.repos.core.persistency.BaseObject.prologue(BaseObject.java:1408)
         at oracle.tip.repos.core.persistency.BaseObject.createObject(BaseObject.java:913)
         at oracle.tip.model.instance.DataStorage.create(DataStorage.java:794)
         at oracle.tip.adapter.b2b.message.MessageStorage.create(MessageStorage.java:145)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.insertMsgTblRow(DbAccess.java:953)
         at oracle.tip.adapter.b2b.msgproc.Request.incomingRequest(Request.java:397)
         at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:2062)
         at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:2574)
         at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:2444)
         at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:2399)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:527)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:374)
         at java.lang.Thread.run(Thread.java:534)
    2009.07.07 at 15:30:06:112: Thread-9: BusinessLogicLayer - (DEBUG) setRuntimeActiveandQuiescing()
    2009.07.07 at 15:30:06:112: Thread-9: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:processIncomingMessage General Exception ERROR
    Error repeats a few times.
    Wire message stays in Processing status, Business message is errored and an exception message is created in ip_in_queue.
    Both remote and host delivery channels have retry set to 1. Agreement was re-deployed + all B2B restared, but the problem remained.
    Could anyone help with this? What could be wrong?
    Thanks in advance.
    Kind regards,
    Wanda
    PS. I've checked all threads that might have anything to do with this, but found nothing useful.

    Hi Anuj,
    thanks for taking the time to examine the file.
    Answers to your questions:
    1. Yes, this is the 1st time for B2B, but the EBS I'm trying to connect to is up and running for approx. 2 years (it's a test instance).
    2. Patching was done by the customer's sysadmin, so I don't really have an overview on what and how he did. Result of opatch:
    Installed Patch List:
    =====================
    1) Patch 8298731 applied on Sat Jun 13 09:23:42 CEST 2009
    2) Patch 5907304 applied on Thu Jul 17 14:26:55 CEST 2008
    3. In theory the sysadmin should have run it, but how could I double-check this?
    I know he had problems while applying patch 8298731, but he said it was solved later. (Customer is using windows os, which is making a lot of troubles otherwise.)
    Regarding IDC log there is no success. I've restared B2B at least 5 times plus once the database, but still nothing. In tip.properties:
    oracle.tip.adapter.b2b.transportTrace = C:\APPS\OAS\ip\log/transport.trc
    also I tried the following values:
    C:\\APPS\\OAS\\ip\\log/transport.trc (since there is a similar entry: oracle.tip.LogDirectory = C:\\APPS\\OAS\\ip\\log)
    C:\\\\\\\\\\\\\\\\APPS\\\\\\\\\\\\\\\\OAS\\\\\\\\\\\\\\\\ip\\\\\\\\\\\\\\\\log/transport.trc (this was commented before; maybe it comes from some default)
    true (I had no other idea)
    Result is the same for all the cases: b2b_idc_transport.log file is 0 bytes, but b2b_dc_transport.log has initial data+writes log when processing.
    If I remove or comment the above line from tip.properties, then no transport log files are created.
    I've updated the agreement to have B2B inbound for the internal delivery channel, re-deployed it and it worked fine -> transaction(s) appeared in IP_IN_QUEUE.
    Changing it back to XML Gateway (and re-deploying) causes all original problems.
    Regards,
    Wanda

  • How to use XML Gateway for Order Import and Item Import?

    Hello XML gurus,
    I'm working in Oracle Apps area and do not have much knowledge on XML or web programming. Currently in my project there is a need to use Order Import and Item Import using interface tables and XML Gateway. The items/orders information will be in the XML format from Siebel system, there will be no custom processing...just process the data as-is.
    I've read the XML Gateway user guide but did not understand much.
    Anyone with similar implementation experience?
    I'm looking for a step-by-step guide on what needs to be done in Oracle Apps side to populate the interface tables from XML file and call the import APIs?
    Your inputs, suggestions, tips are highly appreciated. :)
    Thx,
    Jags

    I have a similar requirement to automate the order import and was looking at XML Gateway. Please update if you were able to find more information.
    - Ayyappa

  • Since no replies or help in XML Gateway forum, re-posting it here

    Problem with XML Gateway consuming a map with a DTD

    Problem with XML Gateway consuming a map with a DTD

  • [URGENT] Get Inbound Message in EBS Using XML Gateway + SOAP

    Hi experts,
    I want to ask you about how to process the inbound message using XML Gateway and SOAP protocol.
    I have 2 EBS instances, let's called it A (source) and B (destination).
    FYI, I'm following this ebook: "Oracle E-Business Suite Development and Extensibility Handbook" in chapter 12 regarding Oracle XML Gateway.
    So I don't use BPEL PM to do this.
    I'm just using EBS with XML Gateway and Integrated SOA Gateway responsibilities.
    When I tried to send the XML from A to B using OXTA, it's success, the data can be processed in B and could store in the database.
    But when I tried to use SOAP, the XML message that has been sent from A is success, and when I check it on B (Integrated SOA Gateway -> SOA Monitor), the message is in there and I can see the SOAP request and response as well.
    SOAP request:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.oracle.com/apps/fnd/XMLGateway" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    - <env:Header>
    - <ns0:XMLGateway_Header>
    <ns0:MESSAGE_TYPE>XML</ns0:MESSAGE_TYPE>
    <ns0:MESSAGE_STANDARD>OAG</ns0:MESSAGE_STANDARD>
    <ns0:TRANSACTION_TYPE>XKLB</ns0:TRANSACTION_TYPE>
    <ns0:TRANSACTION_SUBTYPE>ORDER_DETAILS_XO</ns0:TRANSACTION_SUBTYPE>
    <ns0:DOCUMENT_NUMBER>9282</ns0:DOCUMENT_NUMBER>
    <ns0:PARTY_SITE_ID>142</ns0:PARTY_SITE_ID>
    <ns0:USERNAME>cons.ade</ns0:USERNAME>
    <ns0:PASSWORD>cons.ade</ns0:PASSWORD>
    </ns0:XMLGateway_Header>
    </env:Header>
    - <env:Body>
    <ns0:ReceiveDocument xsi:type="xsd:string"><ORDER_DETAILS_XO xmlns=""> <ORDER> <ORDNO>100002</ORDNO> <ORDWT>100002</ORDWT> <RDATE/> <CITY>JAKARTA</CITY> <ZIP>17121</ZIP> </ORDER> </ORDER_DETAILS_XO></ns0:ReceiveDocument>
    </env:Body>
    </env:Envelope>
    SOAP response:
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    - <env:Body>
    - <ReceiveDocument_Response xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">
    <ResponseCode xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">200</ResponseCode>
    <ResponseMsgId xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">BD4EAD91E76051D5E0440021287448DA</ResponseMsgId>
    <ResponseInfo xmlns="http://xmlns.oracle.com/apps/fnd/XMLGateway">Document received and pushed into queue for asynchronous processing. Enqueued message id is 'BD4EAD91E76051D5E0440021287448DA'.</ResponseInfo>
    </ReceiveDocument_Response>
    </env:Body>
    </env:Envelope>
    But the problem is the message that has been got in B can't store into the database yet.
    I had already changed the Queue in the XML Gateway -> Define Transaction, from APPLSYS.ECX_IN_OAG_Q (this is for OXTA) to APPLSYS.WF_WS_JMS_IN.
    After I invoke the webservice and the SOAP message has been got in B, I checked APPLSYS.WF_WS_JMS_IN in database and there is 1 record, the value of USER_DATA column is:
    ((, , , , , , ((BES_EVENT_NAME, 100, oracle.apps.fnd.wf.ws.inbound.xmltx.receive, , 27), (BES_EVENT_KEY, 100, 796550960, , 27), (BES_PRIORITY, 200, , 1, 23), (BES_FROM_AGENT, 100, [email protected], , 27), (BES_TO_AGENT, 100, [email protected], , 27), (MSG_ID, 100, 1334117503435, , 27), (ECX_MESSAGE_TYPE, 100, XML, , 27), (ECX_MESSAGE_STANDARD, 100, OAG, , 27), (ECX_PARTY_SITE_ID, 100, 142, , 27), (WS_PORT_OPERATION, 100, ReceiveDocument, , 27), (ECX_TRIGGER_ID, 100, 7101, , 27), (UserId, 100, 3020, , 27), (ECX_USERNAME, 100, CONS.ADE, , 27), (ECX_TRANSACTION_SUBTYPE, 100, ORDER_DETAILS_XO, , 27), (ECX_PASSWORD, 100, CONS.ADE, , 27), (ECX_DOCUMENT_NUMBER, 100, 9285, , 27), (BES_PAYLOAD_OBJECT, 100, false, , 27), (ECX_ATTACHMENTS, 100, , , 27), (ECX_TRANSACTION_TYPE, 100, XKLB, , 27), , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , )), 0, , )
    When I tried to select APPLSYS.WF_WS_JMS_IN for the 2nd time, there is no result, which means the business event has been triggered, right?
    So in this point I still don't have any idea why the process is (likely) ended after enter the Queue and the message can't store into B's database yet.
    Do I miss any setup when changing from OXTA into SOAP protocol to send XML message?
    Any urgent help most appreciated.
    Best Regards,
    Rheza

    Hi,
    Did you ever get any answers to this? We are thinking about the same thing.
    Thanks
    Darma
    [email protected]

  • Need to send XML msg to TP using B2B, but format should be Orcl XML Gateway

    Current Interface:
    ==================
    We have an EBS 11.5.10 with XML Gateway.
    Actively we were exchanging XML data with 5 trading partners (different application maintained by 3rd party) using EBS XML Gateway.
    XML Gateway uses OAG Format (attached the format bellow)
    Future Interface:
    =================
    Our company is in process of moving our EBS 11.5.10 app to Oracle Fusion Apps.
    Oracle Fusion app interfaces will be using Fusion Middleware and B2B.
    For that we doing a POC interface between a Fusion MDM and 1 Trading Partner.
    Problem:
    ========
    But, when sending XML message to other TP using B2B, the format is different. i.e. Message in the XML Format.
    Eg.
    <?xml version="1.0" ?><OUTB_FUS_IND_DATA> <OUTB_FUS_IND TRANSACTION_TYPE="TP_INDIVIDUAL_OB" TRANSACTION_SUBTYPE="INDIVIDUAL.UPDATE"> <OUTB_FUS_IND KEYVALUE="100010058799220" PERSON_FIRST_NAME="Xyz" PERSON_LAST_NAME="Abc"/> </OUTB_FUS_IND></OUTB_FUS_IND_DATA>
    Oracle XML Gateway send message with message envelop, which have attributes as text field and payload in the XML message format (XML Gateway envelope details is below).
    (Sample XML messages goes out: HTTP Body
    TRANSPORT_PROTOCOL=OXTA
    TRANSPORT_PROTOCOL_VERSION=1.0
    REQUEST_TYPE=SEND
    MESSAGE_ID=A1234567890ZZ0987654321
    MESSAGE_TYPE=XML
    MESSAGE_STANDARD=OAG
    TRANSACTION_TYPE=TP_INDIVIDUAL_IB
    TRANSACTION_SUBTYPE=INDIVIDUAL.UPDATE
    DOCUMENT_NUMBER=12345
    PARTYID=9999
    PARTY_SITE_ID=8888
    PROTOCOL_TYPE=HTTPSu2013OXTA
    PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
    Therefore, when I receive the document in PI the mapping fails due to an incorrectly formed message payload. For example:
    TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&REQUEST_TYPE=SEND&MESSAGE_ID=9EA3BD2......
    We want B2B send messages to other TP as same way XML gateway use to send.
    How we solve this issue?
    XML Gateway Envelope (Manual)
    =====================
    In addition to the business document such as a purchase order or invoice in the XML Payload, a set of message attributes are transmitted. Collectively, these attributes are called the XML Gateway envelope.
    This section discusses the XML Gateway envelope and its data in the validation process for inbound messages, or its source of data for its creation for outbound messages. Data entered into the Trading Partner Setup form is referred to as data in the trading partner table. Data entered into the Define Transactions form is referred to as data in the transaction table.
    Most of the data elements are copied from the Trading Partner tables or the Transaction tables to the XML Gateway envelope.
    Attribute
    =========
    MESSAGE_TYPE
    MESSAGE_STANDARD
    TRANSACTION_TYPE
    TRANSACTION_SUBTYPE
    DOCUMENT_NUMBER
    PARTYID
    SOURCE_TP_LOCATION_CODE
    PARTY_TYPE
    PROTOCOL_TYPE
    PROTOCOL_ADDRESS
    USERNAME
    PASSWORD
    ATTRIBUTE1
    ATTRIBUTE2
    ATTRIBUTE3
    ATTRIBUTE4
    ATTRIBUTE5
    PAYLOAD

    First of all EBiz and B2B/BPEL are two different products meant for different purpose and hence you cannot expect that EBiz and B2B/BPEL should have same functionality.
    Whatever headers you have mentioned, those are added by OXTA (Oracle Transport Agent) which is part of EBiz. You can add almost all these headers in Oracle B2B in "Additional transport headers" section of Transport Protocol Parameter.
    Search for "Additional transport headers" at below link -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/b2b_tps.htm#BABBCDHI
    Regards,
    Anuj

Maybe you are looking for

  • How can I create a new screen to upload an attachment in SRM?

    Hi everyone, I need to create a new screen that will upload a new attachment in a BID. I already know how to create the screen and ITS. According the standard screen 0100 in program SAPLBBP_PDH_TEXT, I need an applet called "CFILESAPP" and then use t

  • Problem in Sales Order Creation with reference to Contract

    Hi All, We had enhanced Contracts (VA41) by adding fields thru append structures in VBAP and the same is provided in the "Additional Data B" tab at the item level. The Z fields are populated with data and gets saved along with the contracts line item

  • About report preview

    Hi all when i press View Output (the report request's phase/status is completed/normal => OK ) the message of Browser is: http://x.xgames.org:2000/OA_CGI/FNDWRR.exe?temp_id=1808632377&login=APPLSYSPUB/PUB@PROD Content-type: text/plain Error connectin

  • Oracle 8i Database Download

    Hi, Can anybody give me the link to get Oracle8i Database for solaris. Thanks, Ashwin

  • Updating My Mac Without Using A CD?

    I've recently started reusing my Macbook (10.4.11) after breaking another laptop... I was wondering if it's possible to upgrade - and I've read I can upgrade to snow leopard if I increase RAM size then by the CD etc... - but I need to upgrade without