My Oracle Support Banner

<SuppressTransmissionAck>Y</SuppressTransmissionAck> in Transmission Header Causes Parse Error When Uploading Integration (Doc ID 1404513.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.2.3 and later
Information in this document applies to any platform.

Symptoms


When uploading an xml (any element) with tag <SuppressTransmissionAck>Y</SuppressTransmissionAck> in the Transmission Header, the transmission fails with the following error:

ERROR
-----------------------
IMessageText = CAUGHT THE FOLLOWING EXCEPTION WHILE PROCESSING TRANSACTION:
java.lang.IllegalStateException: Failed to parse the specified XML: XML
document structures must start and end within the same entity.
java.lang.IllegalStateException: Failed to parse the specified XML: XML
document structures must start and end within the same entity. at
glog.integration.XSDtoJava.XMLInstanceLoader.parseXML(XMLInstanceLoader.java:1
90) at
glog.integration.XSDtoJava.XMLInstanceLoader.load(XMLInstanceLoader.java:164)
at
glog.integration.XSDtoJava.XMLInstanceLoader.load(XMLInstanceLoader.java:152)
at
glog.integration.tools.XSDtoJavaWrapper.xmlString2JavaObject(XSDtoJavaWrapper.
java:74) at
glog.integration.tools.XSDtoJavaWrapper.xmlString2JavaObject(XSDtoJavaWrapper.
java:68) at
glog.integration.application.TransactionProcessor.getXMLBase(TransactionProces
sor.java:511) at
glog.integration.application.TransactionProcessor.processTransaction(Transacti
onProcessor.java:196) at
glog.integration.application.TransactionProcessor.processTransaction(Transacti
onProcessor.java:363) at
glog.server.workflow.transproc.TransProc.execute(TransProc.java:110) at
glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23) at
glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at
glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(Workf
lowSessionNonTransServerSideEJBWrapper.java:38) at
glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl
.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:134)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352) at
glog.server.workflow.Trigger.trigger(Trigger.java:122) at
glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable
.java:146) at
glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:87) at
java.lang.Thread.run(Thread.java:619)
When pulling out the <SuppressTransmissionAck> tags from the xml, the error
above no longer occurs.



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log into OTM.
2. Upload an xml which contains the following tag in the header: <SuppressTransmissionAck>Y</SuppressTransmissionAck> .
3. Note Transmission created.
4. View the Error report in transmission 740148 using Transmission Manger.
5. See the following error received:

IMessageText = CAUGHT THE FOLLOWING EXCEPTION WHILE PROCESSING TRANSACTION:
java.lang.IllegalStateException: Failed to parse the specified XML: XML
document structures must start and end within the same entity.
java.lang.IllegalStateException: Failed to parse the specified XML: XML
document structures must start and end within the same entity. at
glog.integration.XSDtoJava.XMLInstanceLoader.parseXML(XMLInstanceLoader.java:1
90) at
glog.integration.XSDtoJava.XMLInstanceLoader.load(XMLInstanceLoader.java:164)
at
glog.integration.XSDtoJava.XMLInstanceLoader.load(XMLInstanceLoader.java:152)
at
glog.integration.tools.XSDtoJavaWrapper.xmlString2JavaObject(XSDtoJavaWrapper.
java:74) at
glog.integration.tools.XSDtoJavaWrapper.xmlString2JavaObject(XSDtoJavaWrapper.
java:68) at
glog.integration.application.TransactionProcessor.getXMLBase(TransactionProces
sor.java:511) at
glog.integration.application.TransactionProcessor.processTransaction(Transacti
onProcessor.java:196) at
glog.integration.application.TransactionProcessor.processTransaction(Transacti
onProcessor.java:363) at
glog.server.workflow.transproc.TransProc.execute(TransProc.java:110) at
glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23) at
glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at
glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(Workf
lowSessionNonTransServerSideEJBWrapper.java:38) at
glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl
.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:134)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352) at
glog.server.workflow.Trigger.trigger(Trigger.java:122) at
glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable
.java:146) at
glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:87) at
java.lang.Thread.run(Thread.java:619)

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.