My Oracle Support Banner

SOA 11g - Apps Adapter Receives "Event Data Parsing Error" and "Invalid Payload" Errors When Reading From EBS (Doc ID 2004466.1)

Last updated on JUNE 18, 2018

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

When dequeuing events from EBS 12 with Apps adapter, the processing of the messages fails in the BPEL side with the below error:
 

[2015-04-24T20:43:28.628+00:00] [AdminServer] [TRACE] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: weblogic] [ecid: dc18906ea0803378:2a9eb21f:14ced1a94d3:-8000-000000000000047e,0] [APP: soa-infra] [SRC_CLASS: oracle.tip.adapter.aq.v2.logging.AQLogger] [SRC_METHOD: debug] Event Data Parsing Error.[[
Error occured while parsing Business Event Data.
Error due to: "Start of root element expected..
Please examine the log to determine the problem.
BINDING.JCA-14231
Event Data Parsing Error.
Error occured while parsing Business Event Data.
Error due to: "Start of root element expected..
Please examine the log to determine the problem.

at oracle.tip.adapter.apps.AppsMessageEndpointImpl.onMessage(AppsMessageEndpointImpl.java:148)
at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent$AQDeliveryBean.sendInboundRecord(AbstractDequeueAgent.java:571)
at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent.run(AbstractDequeueAgent.java:123)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:447)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:388)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:232)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at oracle.tip.adapter.apps.AppsMessageEndpointImpl.onMessage(AppsMessageEndpointImpl.java:137)
... 5 more

]]

 
After adding the property

<property name="SchemaValidation" value="TRUE"/>

 in the JCA descriptor file, the error turned to:

<Apr 24, 2015 10:20:31 PM GMT-00:00> <Error> <oracle.soa.adapter> <BEA-000000> <AQ_INVALID_PAYLOAD.
Failed to validate payload against object schema.
(1) Empty/Null payload or payload does not conform to the schema. (2) Schema file modified and does not conform to the generated payload.
(1) Make sure payload is not null and conform to the object schema. (2) Modify schema file (xsd) to conform to payload.

BINDING.JCA-11979
AQ_INVALID_PAYLOAD.
Failed to validate payload against object schema.
(1) Empty/Null payload or payload does not conform to the schema. (2) Schema file modified and does not conform to the generated payload.
(1) Make sure payload is not null and conform to the object schema. (2) Modify schema file (xsd) to conform to payload.

       at oracle.tip.adapter.aq.v2.database.ValidatingADTUserData.getPayload(ValidatingADTUserData.java:64)
       at oracle.tip.adapter.aq.v2.database.XMLRecordMessageConverter.getRecord(XMLRecordMessageConverter.java:97)
       at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent.getInputRecord(AbstractDequeueAgent.java:312)
       at oracle.tip.adapter.aq.v2.database.AbstractDequeueAgent.run(AbstractDequeueAgent.java:120)
       at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
       at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
       at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
>

  

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.