XML Gateway Mapping Issue
Hi All,
My map has following structure
-<envelope> -- root element and also level
-<gdsnItemRegistryResponse> --Level
-<docException> --Level
-<docAcknowledgement> --Level
<docException> and <docAcknowledgement> are siblings
I dont have any dtd's associated with map
In payload <docException> and <docAcknowledgement> can be occur in any order
When I push the payload with following order same as defined in XMG map
-<docException>
-<docAcknowledgement>
its working fine
but when I push the payload with different order
-<docAcknowledgement>
-<docException>
PL/SQL procedure calling on INPROCESS action on <docAcknowledgement> is
working fine,
but
PL/SQL procedure calling on INPROCESS action on <docException> is being
performed, but XML Gateway is not passing values to the parameters of that
procedure.
When I verified the parameter values in log, all are null
I am calling same procedure on both tags
How to overcome above problem ?
How to enforce that two tags can be in any order without dtd?
Thanks
-Praveen
Just I am confirming my map structure
-<envelope> -- root element and also level
----<gdsnItemRegistryResponse> --Level
-------<docException> --Level
-------<docAcknowledgement> --Level
Similar Messages
-
Oracle XML Gateway- Mapping XML to Oracle Apps API - Wrong Number or types
XML GATEWAY INBOUND – CALLING AN API (PL/SQL record type IN variable) TO INSERT THE DATA INTO SAMPLE TABLE
Hi,
I am using XML Gateway to push data into Oracle Apps using a procedure call with “Record Type” as the parameter. I am getting a “wrong number” or types of arguments mismatch error inspite of following the process described in the Oracle XML Gateway User’s Guide
Steps followed:
DB
1. I Created a sample table XX_CUST_HIST(ID NUMBER, ACCOUNT_NAME VARCHAR2(50), FIRST_NAME VARCHAR2(50), LAST_NAME VARCHAR2(50), TITLE VARCHAR2(50))
2. I then Created a package ‘XX_XML_DEMO_API’ in which we have defined a record type and a procedure.
3. The Record type ‘customerRecordType’ holds account_name , first_name, last_name and the title.
4. The Procedure ‘insert_customer_r’ takes 2 IN arguments :
1. p_ id number
2. p_customer customerRecordType
5. The procedure will insert the values into xx_cust_hist table
p_id -> id
p_customer.account_name -> account_name
p_customer.first_name -> first_name
p_customer.last_name -> last_name
p_customer.title -> title
Now I need to call the procedure ‘XX_XML_DEMO_API . insert_customer_r’ from XML gateway.
Following are the steps to call the procedure:
[1] Create DTD
ELEMENT NEW_CUSTOMER_APIR (DATAAREA)
ELEMENT DATAAREA (CUSTOMER_DATA)
ELEMENT CUSTOMER_DATA (ID, CUSTOMER_RECORD)
ELEMENT ID (#PCDATA) ELEMENT CUSTOMER_RECORD (ACCOUNT_NAME, FIRST_NAME, LAST_NAME, TITLE)
ELEMENT ACCOUNT_NAME (#PCDATA)
ELEMENT FIRST_NAME (#PCDATA)
ELEMENT LAST_NAME (#PCDATA)
ELEMENT TITLE (#PCDATA)
[2] Creation of XML map Data Definition type for Source and Destination are set to XML.
While executing the procedure ‘XX_XML_DEMO_API . insert_customer_r’ in post_process from the message designer, instead of 2 (p_id IN number , p_customer IN customerRecordType) parameters it is showing 6 parameters (p_id IN number, p_customer IN customerRecordType, account_name IN varchar2, first_name IN varchar2, last_name IN varchar2, title IN varchar2). Six parameters are getting mapped, instead of the 2 that the procedure really needs.
[3] Testing of XML map. Error message in transaction monitor:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'INSERT_CUSTOMER_R' ORA-06550: line 1, column 7: PL/SQL: Statement ignored -
ECX_ACTIONS.BIND_PROC_VARIABLES
The process executed and produced the error message given in the step 3. The standard documentation is unclear on how this should be done. Being a newbie to the XML Gateway technology I am unable to get a clue about what the error message could be and which step of the process produced the message. Could anyone help me to proceed further?
Thanks in advance.Hi Siva,
It seems like the walletkey property of event type is defined incorrectly. Please try by defining the event as follows:
<wlevs:property name="walletkey" type="char" length="20"/>
Use "char" instead of "char[]".
Best Regards,
Sandeep -
XML Gateway Mapping of XML Element Attribute
Hi:
If an inbound XML message contains this tag:
<STATUS CODE="100"></STATUS>
is it possible to map the CODE attribute to a database column?
I've been attempting to do this but I'm receiving this error: Element STATUS not complete, expected elements ''.
Thanks.I'll answer my own question here. Found the section in the XML User Guide about mapping HTTP Error Responses (chapter 22 in the v6.1 pdf) and realized that the XML gateway had preconfigured settings to handle various error conditions. Edited the error handling configuration for the specific Handler (rather than the global setting) and checked the box to allow the error to pass through the XML gateway. Redeployed the subpolicy.
-
XML message mapping issue!!
Hi ipbuff,
Many Thanks for your very quick reply. I have tried the way what explain, but not working . I am attaching both the structures, please guys throw your valuable openions and technical ways how to resolve this. I have 5 segments in Header, more than Lin item repeats more than 50 times. How do I map DTM Segment, <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> value for all target side node <ProductActivityNotification>ProductActitvity>Item>SalesTimeSeries>Item>Validate-->StartDate field.
This filed generates the same amount of lIn item generates.
Please your quick response.
I will really appreciate your quick and positive response.
http://img837.imageshack.us/img837/7786/mappinghelp.jpg
Many Thanks
Kind Regars
SanHi Sandhya,
I have 5 segments in Header, more than Lin item repeats more than 50 times. How do I map DTM Segment, <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> value for all target side node <ProductActivityNotification>ProductActitvity>Item>SalesTimeSeries>Item>Validate-->StartDate field
Upto my understanding, u want to map <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> to StartDate(as above mentioned path).
Since u have 50 occurences for <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> parent node, but in target its not..... am i rt?
If yes..
Map from <DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> to StartDate, and u also add a node function collapse contexts.
Collapse context will give the very first value in every context.
<DTM_Y2K_DATE>20100531</DTM_Y2K_DATE> > Collapse Context>StartDate.
I think this should solve ur problem.
If still not let us know...
Babu -
XML Gateway Seeded Function/Map for PO Creation
Hi.
I am trying to determine if existing EBS XML Gateway functions/maps exist for inserting, changing and cancelling POs into EBS. If not, I would assume then that I could build these XML Gateway components myself.
Thanks.Hello: thanks for your answer.
Yes , we were thinking about it. But, you know, we always want to explore all options before implementing a BAdI.
There must be an explanation about why SAP created two entries in table BBP_FUNCTION_MAP for releases ERP_4.0 and ERP_5.0. However, nobody seems to know about it.
Yesterday, we were debugging the BAdI just before it sends the PO creation and we could see that the call with CreateFromData2 exists but is inactive (ABAP code with asterisks). Why, then, this entry exists??
Thanks again
Regards
Valentí -
Seeking examples of custom XML Gateway message map
I've been asked to create some custom XML Gateway message maps for inbound/outbound XML data feeds.
I've followed along at [this tutorial|http://docs.oracle.com/cd/E12839_01/integration.1111/e10537/T430238T430339.htm#T430357], but it stops short of telling me how to define a custom message map.
Does anyone know of a resource I could look at - a web site, book, etc., that would cover the creation of a custom message map?Have a look
http://docs.oracle.com/cd/E18727_01/doc.121/e12954/T319774T319778.htm -
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
PAYLOADFirst 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 -
XML Gateway Outbound transaction error
Hi,
We are trying to send a XML file to an outside vendor using XML gateway but facing issue in doing the HTTP post.
As per the XML Gateway user guide I have setup the Hub definition with protocol type as being HTTP. protocol address as the one provided by the vendor and created a hub user.
I have also setup a 'custom' outbound transaction type.
And then setup a 'Trading Partner' linked it to the transaction type and the hub. and loaded the DTD and Map file.
I am able to generate the XML file successfully but it does not get delivered or is being rejected by the vendor.
I am trying to narrow down to if the issue exists on our end and the file is not being sent correctly or it is being rejected once it reaches the http site.
I get the following error message on looking at the underlying log table:
Response: HTTP/1.1 500 Internal Server Error
Connection: close
Date: Tue, 26 Oct 2010 19:22:10 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Cache-Control: private
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 1805
<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text
xml:lang="en">System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
any help will be much much appreciated.
Thanks
AmitYes i was able to go to the URL using my machine browser. Since Oracle is installed on a linux machine i do not think I will be able to install a browser and go to the site from the oracle machine. I also tried pinging www.google.com and that seemed to work so i am sure the server is able to connect properly.
Can you suggest any other way to verify that the file is being sent out and the issue is on the other end? I was hoping if i could send the file to any other outside link that will be a good enough test of file going out of the network. -
How Outbound XML Gateway works?
Hi All,
Could you please tell me the steps involved in achieving Outbound XML Gateway?
I have adopted the below steps but could not able to achieve it.
1). Created a DTD file as below
<!ELEMENT OrderDetails ( Header, ExtraInfo ) >
<!ELEMENT Header ( POHeaherID, Segment1, VendorID ) >
<!ELEMENT POHeaherID ( #PCDATA ) >
<!ELEMENT Segment1 ( #PCDATA ) >
<!ELEMENT VendorID ( #PCDATA ) >
<!ELEMENT ExtraInfo ( VendorSiteID, ShipToLocationID, BillToLocationID ) >
<!ELEMENT VendorSiteID ( #PCDATA ) >
<!ELEMENT ShipToLocationID ( #PCDATA ) >
<!ELEMENT BillToLocationID ( #PCDATA ) >
2). Created .xgm file using Oracle Message Designer with source as Database Table and target as above DTD file. I have done all the necessary level as well as element mapping while creating this .xgm file.
3). Loaded the .xgm file and DTD file in the file system using putty.
4). Created Trading Partner with trading partner type as Supplier.
Transaction Type = PO
Transaction Subtype = PRO
Standard Code = OAG
External Transaction Type = SOP
External Transaction Subtype = SOP
Direction = OUT
Connection/Hub = Direct
Protocol Type = SMTP
Username = Soumit
Password = soumit
Protocol Address = soumit.sarkar@*****.com
Source Trding Partner ocation Code = SS_STPLA
5). Created a PO and submitted it for approval but didin't get the XML file on my mail-id.
Please help me to solve this very issue.Was there any clue on this
-
Got error: Location Code is not enabled in the XML Gateway Server
Hi,
When I perform Compliance rule screening on GTM - Globel Trade Management,that I defined GTM as an Trading Partner on EBS R12.1.3,
GTM can send response to EBS,but I see the following error message via Transaction Monitor on EBS workflow:
[The Standard:OAG, Transaction Type:ITM , Transaction SubType:EXPORT_COMPLIANCE and Location Code GTM6.2 is not enabled in the XML Gateway Server. Pls check your Setup.]
On EBS,I defined an ITM Partner for GTM,named 'GTM6.2',according to the document created by you: ITM Setup.doc
and I also finished the following steps:
1. ITM Application Users
2.ITM Partner Service Types
3.ITM Parameter Setup
4.Order Type Creation: ITM Only
5.Customer Creation: create a customer named 'GTM6.2', also enter 'GTM6.2' as EDI Location
6.Define Transactions on XML Gateway as following:
<Header>:
Party Type: Customer
Transaction Type: ITM
Transaction Sub Type: EXPORT_COMPLIANCE
<External Transactions (Lines)>:
Standard Code: OAG
External Transaction Type: ITM
External Transaction Sub Type: EXPORT_COMPLAINCE
Queue: APPLSYS.ECX_IN_OAG_Q
7.Define Trading Partners on XML Gateway as following:
<Header>:
Trading Partner Type: Customer
Trading Partner Name: GTM6.2
<Trading Partner Details>:
Transaction Type: ITM
External Transaction Type: ITM
External Transaction Sub Type: EXPORT_COMPLAINCE
Map: WSHITEIN
Source Trading Partner Location Code: GTM6.2 (same as the value what defined in EDI Location for customer)
I think the combination of External Transaction Type, External Transaction Subtype, Standard Code,Source Trading Partner Location Code
should be existing once done above steps, I have no idea why the error prompted.
Does someone can tell how to trace the error?
Thanks,
Rambleruser12254038 wrote:
Can you send any supporting documents on ITM Setup? My client is implementing ITM for the first time and I wanted to know more details on how it works in R12.1.3 version of EBS?Oracle International Trade Management (ITM) Partner Integration: Specifications [ID 572524.1]
International Trade Management Integration [ID 259691.1]
How Can I Tell if International Trade Management is Installed or Not? [ID 742539.1]
What are the Required Setups for International Trade Management (ITM) Flows in Shipping Execution? [ID 782861.1]
What Patches Provide the Latest Fixes and Enhancements for ITM Adapter? [ID 465122.1]
How to Generate Debug Information From ITM Adapter for XML Processing [ID 738925.1]
How to Generate Debug File for International Trade Management (ITM) [ID 1294853.1]
Thanks,
Hussein -
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 -
Attribute Mapping Issue - Pls help
Hi am a newbie......in XML-Java related issue.
Am trying to map an XML with Java objects.
Take this XML for example:
<test>
<root type="star">
<player>
<name>Thierry Henry</name>
<rating>10</rating>
</player>
<player>
<name>Rooney</name>
<rating>0</rating>
</player>
</root>
<root type="medium">
<player>
<name>nistelrooy</name>
<rating>-1</rating>
</player>
<player>
<name>xyz</name>
<rating>0</rating>
</player>
</root>
</test>
My question is, how do i refer to the attribute "type" in the <Root> element in my corresponding class to be mapped with this xml......kindly help me writing the mapping xml for this also.Oops, just realised this is the SES forum and not the Oracle Text forum ... ignore my last post!
The answer to this depends on whether you're using the table crawler or the database crawler, and what the datatypes are for job_name and vacancy_name.
If we assume they're VARCHAR2 it's quite straightforward...
If using the TABLE crawler, then recreate your join so that instead of two columns job_name and vacancy_name, you concatenate the two together in the join into a column called (for example) CONTENT, and use that as the text column to index.
If using the DATABASE crawler, then simply concat these columns as part of your SELECT into the column named CONTENT. -
Mapping issue - if value matches on of several conditions
Hi champs,
I have a mapping in PI 7.1 of an invoice-xml to a INVOIC02-idoc.
I am mapping the invoice sums to E1EDS01-segments and just want to map five of several qualifiers. So I have set up a mapping for the qualifier field SUMID that just maps those five qualifiers, and map the SUMME-field from inbound message as it is.
Now it shows that our vendors send more than those five qualifiers I have in my mapping. Since I don´t have any control of the SUMME-field all seven values get mapped into the Idoc (generating seven E1EDS01-segments), but only the five segments with my mapped SUMID get the SUMID-field. So I get in total seven E1EDS01 segments in which I get only the SUMME in two of them.
So my question is: Are there any pretty ways to handle this kind of mapping issues besides using a lot of equalS, if and or?
I would like to be able to say (in as simple a function as possible) that if qualifier in field A is X, Y or Z then map the value in field B to SUMME. How do I do that? BTW I am not a java-programmer so advanced java-codes are not a good way for me to handle it.
regards,
GlennWrite an UDF with this code:
public void <UDFNAME>(String <FieldName>,Container container){
If (<FieldName> == "X" || <FieldName> == "Y" || <FieldName> == "Z"){
return <FieldName>;
Edited by: spantaleoni on Mar 16, 2011 4:04 PM -
XML Data Mapping Disappear when Reopening xlf - Xcelsius
Hi,,,
I have created one xcelsius with XML Data maps which works fine. But when I re-open this XLF, the XML data mapping disappear from XML source screen of Excel. It's so much enoying, so every time when i re-open the xlf. I have to map xml data again and then do some formating. after that it works fine.
I guess i have missed some setting. Does anyone has faced such a weired problem with xcelsius.
your quick help in this will be really appreciated.
Regards,
AshishHi,
Its a Fixed Issue ,It has been solved
For Futher Details
http://alteksolutions.com/wp/index.php/2010/10/xcelsius-2008-sp-3-fix-pack-3-now-available/
XML Data Maps Disappear when Reopening xlf
Regards
Naveen -
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
Maybe you are looking for
-
Coherence*Web on GlassFish Server Issues
Hi! We are using Coherence 3.7.1.8 in our application in GlassFish 3.1.2 both as application cache and for storing session data (Coherence*Web) so it can be shared between multiple EARs and App server instances. Session data sharing between EARs in t
-
Adapter Engine has wrong hostname after HSC with Distributed System
I have an interesting situation where I have performed a homogeneous system copy from a standard system to a distributed system. The only that really has changed is the database server name. I performed the global host install, the database instanc
-
My portal DAD is down even after all correct properties are set.
Hi, could any one update my question why the DAD is down (checked from OEM console) even after the properties set are correct? is there a way to troubleshoot it? I would be thankfull if I could get the answer/How to trouble shoot it? Thanks, Vijay.
-
HT201263 iphone 4 restore issue and unlocking
I tried to restore my iphone 4 to default but itunes stops working and i also want to unlock my phone but on the form it asks for the phone number and an alternative number but ive kept the phone number help?
-
Any book for CRM 5.0?
Hi guys. Anybody knows if exists a book like "mySAP CRM The Official Guidebook to SAP CRM Release 4.0" but in 5.0? Thanks in advance!