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

Similar Messages

  • AP Invoices via XML Gateway using BPEL

    Experts,
    I am trying to create a process that loads an invoice into 11i Accounts Payables using the XML Gateway. I have done this manually, uploading a piece of XML using the Oracle Transport Agent Send Inbound html page and it works fine. I believe my applications environment is working correctly. However, when I attempt to leverage the XML Gateway adapter for invoices in BPEL 10.1.2.02 I am getting errors.
    For some reason I am not able to add one xml node (which processes the invoice) as a child of another (the entire xml message sent to the gateway).
    I'm trying to assign a piece of an xml doc to the message for AP/XML Gateway:
    <copy>
    <from variable="Invoke_AP_Invoice_Enqueue_InputVariable" part="PROCESS_INVOICE_002"/>
    <to variable="Invoke_1_ReceiveDocument_InputVariable" part="body" query="/ns5:ReceiveDocument[1]"/>
    </copy>
    What I am expecting is:
    <Invoke_1_ReceiveDocument_InputVariable>
    <part name="header" >
    <XMLGateway_Header>
    <MESSAGE_TYPE>XML</MESSAGE_TYPE>
    <MESSAGE_STANDARD>OAG</MESSAGE_STANDARD>
    <TRANSACTION_TYPE>INVOICE</TRANSACTION_TYPE>
    <TRANSACTION_SUBTYPE>PROCESS</TRANSACTION_SUBTYPE>
    <DOCUMENT_NUMBER>1</DOCUMENT_NUMBER>
    <PARTY_ID>1</PARTY_ID>
    <PARTY_SITE_ID>OSO</PARTY_SITE_ID>
    <USERNAME>SYSADMIN</USERNAME>
    <PASSWORD>SYSADMIN</PASSWORD>
    </XMLGateway_Header>
    </part>
    <part name="body" >
    <ReceiveDocument>
    <PROCESS_INVOICE_002>
    <CNTROLAREA>...
    What I get is:
    <Invoke_1_ReceiveDocument_InputVariable>
    <part name="header" >
    <XMLGateway_Header>
    <MESSAGE_TYPE>XML</MESSAGE_TYPE>
    <MESSAGE_STANDARD>OAG</MESSAGE_STANDARD>
    <TRANSACTION_TYPE>INVOICE</TRANSACTION_TYPE>
    <TRANSACTION_SUBTYPE>PROCESS</TRANSACTION_SUBTYPE>
    <DOCUMENT_NUMBER>1</DOCUMENT_NUMBER>
    <PARTY_ID>1</PARTY_ID>
    <PARTY_SITE_ID>OSO</PARTY_SITE_ID>
    <USERNAME>SYSADMIN</USERNAME>
    <PASSWORD>SYSADMIN</PASSWORD>
    </XMLGateway_Header>
    </part>
    <part name="body" >
    <ReceiveDocument>
    <CNTROLAREA>...
    As you will notice the <PROCESS_INVOICE_002> tag is missing. Everytime I assign it, the <PROCESS_INVOICE_002> will not show up. What am I doing incorrectly? btw - I'm not on this list so any (please!) responses will have to be copied to me.
    Thanks,
    Mark W

    We have exactly the same problem. The guides are not up to date and we can't find where to find information about accepting and processing inbound Advanced Shipment Notifications (ASN) through XML Gateway.

  • I recently updated and after the update i tried import my passwords and recieved XML parsing error. Passwords could not be imported.

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/788710]''
    after a recent update to fire fox 3.6.13 i believe that was the version. I tried import my passwords all 30 of them or more I received this message XML parsing error. Passwords could not be imported. please help me to regain my passwords and to fix this problem so it wont happen again thank you

    Are you using the Password Exporter extension?

  • 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 recover from XML gateway error when generating outbound message

    Hi,
    Due to a misconfiguration in other part of the system, our Purchase Order Request map (RosettaNet PIP3A4) failed on few dozen of orders and ended with an error.
    How can we restart the process and retry the map generation in XML Gateway (as now the problem is fixed)?
    Many thanks in advance,
    Regards
    Kamil

    Hi Kamil;
    please check below and see its helpful:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/esb002.htm
    http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28211.pdf
    Regard
    Helios

  • XML Gateway: Error while posting to a OTA URL

    Hi
    I am using the code in XML Gateway user guide for OTA Post over HTTPS. Am getting an IOException that i am unable to tunnel through the proxy.
    The user guide code can be seen here : http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319783.htm
    But, when i use Chrome's REST Client and set the proxy to be same proxy as i use in the code above, I am getting a successful response.
    Am unable to understand the difference between both.
    The exception that i get is as below:
    Exception = java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 504 Gateway Timeout"
    Kindly help.
    thanks
    Kamal

    Hi
    I am using the code in XML Gateway user guide for OTA Post over HTTPS. Am getting an IOException that i am unable to tunnel through the proxy.
    The user guide code can be seen here : http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319783.htm
    But, when i use Chrome's REST Client and set the proxy to be same proxy as i use in the code above, I am getting a successful response.
    Am unable to understand the difference between both.
    The exception that i get is as below:
    Exception = java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 504 Gateway Timeout"
    Kindly help.
    thanks
    Kamal

  • Importing After Effects document to Premiere Pro errors: "The importer reported a generic error."

    I´m using Premiere Pro CC ver 2014.1. and After Effets 2014.1.1. in OS X Yosemite. I can't import After Effects project to Premiere.
    There is always same error message: "The importer reported a generic error."
    I have tryed to save After document several different names and greate new ones. Always same error. Whats wrong in my workflow?

    Okay so I've searched around most of this forum and as much of Google as I could find - I have found similar problems, but nothing exactly the same; and none of the solutions I've found have worked for me. I've seen a lot of people having trouble connecting to the DL server on the file-selection window, but I don't even get that far - an error message just pops up in the middle of my screen - and my error doesn't mention a server, just that it can't connect to AE DL.
    I changed firewall software (which I've wanted to do for months, anyway) and still to no avail.
    As for the "The importer reported a generic error" problem also, I can't find any problems or solutions with After Effects files not being able to be imported.

  • After Effects warning: 'Workspace.xml' Rename Error

    I've already done a full uninstall and re-install. I am unable to open after effects, and this is the error I keep getting: After Effects warning: Could not rename the file '/Users/Home/Library/Preferences/Adobe/After Effects/10.0/Workspaces.9932.1407353177382401.xml' to 'Workspaces.xml'.
    After clicking twice, I'm given this error message:
    After Effects can’t continue: unexpected failure during application startup
    And then After Effects shuts down. Any thoughts?

    amb2235 wrote:
    Thanks. Oddly enough, this is what did it.
    That's because it was a permissions issue as Todd said. Something wasn't set right, but when AE has to recreate it, the permissions are set correctly. Screwy permissions happen all the time with Mac OSX upgrades.

  • Recalling Process Order confirmations after selecting Last delivery indicator in error

    Hello,
    I was completing an order confirmation and hit the last delivery indicator. I submitted my confirmation but noticed I had not completed my amount. When I tried to pull the order back up,. I was not able to. Is there anyway to recall this order? I am new at my job and I'm just learning so I just went back through my notes and realized I was not suppose to use the "last delivery indicator". Any suggestions on how I can fix this or retrieve my order so that I can correc the amount and confirm the order would be very helpful.
    Thank you in advance,
    Rita 

    Hi Rita
    If your question has been answered, please close this thread selecting the correct answer.
    See this blog for more details:
    How to close a discussion and why
    BR
    Caetano

  • 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

  • Create Third Party Invoice after the Inbound Delivery Creation

    Hello,
    We have a requirement in 3rd party order process, where create invoice with reference to 3rd party order/ items after the inbound delivery completion.
    Normally 3rd party invoice creation will be done after the MIRO transaction.
    For this, I have checked the Item category billing relevance & copy controls between OR & F2, TAS and I couldnt get any idea for this requirement.
    Please let me know if you have an Idea.
    Regards
    Suresh.

    dear friend,
    the following info would help:
    If relevance for billing indicator for the item category has been set to B (relevant for order-related billing on the basis of the order quantity) in Customizing, the system includes the order in the billing due list immediately. If, however, the indicator has been set to F (relevant to order-related billing on the basis of the invoice quantity), the system does not include the order in the billing due list until an invoice from the vendor has been received and processed by the purchasing department. In the standard system, item category TAS (third-party order processing) has been given billing-relevance indicator F.
    In the first case, the third-party order is considered to be completely billed only when the invoiced quantity equals the order quantity of the sales order item. In the second case, each time a vendor invoice is received, a customer invoice is created for the quantity in the vendor invoice and the order is considered to be fully invoiced until the next vendor invoice is received.
    If you have activated billing-relevance indicator F for item categories in Customizing, billing can refer to the goods receipt quantity instead of the incoming invoice quantity.
    You can control whether the invoice receipt quantity or the quantity of goods received is relevant for billing in Customizing for copying control for billing at item level.
    regards,

  • XML Gateway OXTA submit to eBusiness Suite Problems

    Hi all,
    I am using XML gateway to receive an inbound transaction from a custom web service i built.
    It uses an OXTA connection over HTTP
    I basically copied it from the XML Gateway User guide...
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120ecxug.pdf
    And on page 7-21 it says
    "The receiving Web server sends the message response back to the sending Web server.
    The message response includes Message Receipt ID, Status Code, and Status
    Description. A status code of 1000 implies the message was successfully posted."
    I get a status code of 1000 which was great!
    But the message doesn't really get to the eBusiness Suite. There is a problem somewhere but I don't know where.
    If XML Gateway says the message is ok, but eBusiness suite doesn't get it...where is the issue? Maybe in workflow? How do I test this if I get a 'ok' status back? What should I look for?
    Any help would be much appreciated.
    -Jason
    My OXTA Submit Message Procedure:
    public Status submitMessage(SyncMessageType message) throws Exception {
    URL url = new URL(address);
    HttpURLConnection con = (HttpURLConnection) url.openConnection();
    StringBuffer buff = new StringBuffer(3000);
    getPostString(message, buff);
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter writer = new OutputStreamWriter(con.getOutputStream(),CHARSET);
    writer.write(buff.toString());
    writer.flush();
    Status status = new Status();
    status.setCode(Integer.parseInt(con.getHeaderField("STATUS_CODE")));
    status.setDescription(con.getHeaderField("STATUS_DESCRIPTION"));
    System.out.println(buff.toString());
    return status;
    }

    Thanks for the advice. I checked the Workflow Status monitor I did get an error...
    Internal Name          ECXERROR
    Description          XML Gateway Error Processing
    Message Direction          O
    Error Name          1
    ECX Error Type          20
    ECX Return Code          1
    ECX Error Message          Attribute 'xmlns' used but not declared.
    This seems to be an xml namespace error. Can anyone tell me how to solve this problem?
    Thanks,
    -Jason

  • Error when Trying to add customer address in Order Import Interface

    hello I am trying to add a new address via the Order Import Interface and I am getting the errors listed below. This is working is several other environments so I believe that the data set in the interface tables is correct but I am wondering if this could be related to a setup related issue in this instance. Any suggestions would be greatly appreciated
    Order Import Add Customer failed (API = Create_Address). Please enter required field LOCATION_NUMBER.
    Cannot get valid ID for - ship_to_org_id

    Hi,
    In few a scenarios the interface errors does not point to the exact error message, Please check if you have populated all the mandatory columns:
    OEHEADERS_IFACE_ALL:_*
    ORIG_SYS_DOCUMENT_REF
    ORDER_SOURCE
    CONVERSION_RATE
    ORG_ID
    ORDER_TYPE_ID
    PRICE_LIST
    SOLD_FROM_ORG_ID
    SOLD_TO_ORG_ID
    SHIP_TO_ORG_ID
    SHIP_FROM_ORG_ID
    CUSTOMER_NAME
    INVOICE_TO_ORG_ID
    OPERATION_CODE
    OEHEADERS_IFACE_ALL:_*
    ORIG_SYS_DOCUMENT_REF
    ORDER_SOURCE
    CONVERSION_RATE
    ORG_ID
    ORDER_TYPE_ID
    PRICE_LIST
    SOLD_FROM_ORG_ID
    SOLD_TO_ORG_ID
    SHIP_TO_ORG_ID
    SHIP_FROM_ORG_ID
    CUSTOMER_NAME
    INVOICE_TO_ORG_ID
    OPERATION_CODE
    OE_LINES_IFACE_ALL
    ORDER_SOURCE_ID
    ORIG_SYS_DOCUMENT_REF
    ORIG_SYS_LINE_REF
    ORIG_SYS_SHIPMENT_REF
    INVENTORY_ITEM_ID
    LINK_TO_LINE_REF
    REQUEST_DATE
    DELIVERY_LEAD_TIME
    DELIVERY_ID
    ORDERED_QUANTITY
    ORDER_QUANTITY_UOM
    SHIPPING_QUANTITY
    PRICING_QUANTITY
    PRICING_QUANTITY_UOM
    SOLD_FROM_ORG_ID
    SOLD_TO_ORG_ID
    INVOICE_TO_ ORG_ID
    SHIP_TO_ORG_ID
    PRICE_LIST_ID
    PAYMENT_TERM_ID
    Regards,
    Yuvaraj

  • XML Gateway / OXTA message header

    How do we tell XML Gateway not to put the hub username/password in the transaction header?

    Thanks for the advice. I checked the Workflow Status monitor I did get an error...
    Internal Name          ECXERROR
    Description          XML Gateway Error Processing
    Message Direction          O
    Error Name          1
    ECX Error Type          20
    ECX Return Code          1
    ECX Error Message          Attribute 'xmlns' used but not declared.
    This seems to be an xml namespace error. Can anyone tell me how to solve this problem?
    Thanks,
    -Jason

  • 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

Maybe you are looking for