My Oracle Support Banner

B2B-51566 Pi With The Name Xml Can Occur Only In The Beginning Of The Document Error With RosettaNet Protocol (Doc ID 1416491.1)

Last updated on AUGUST 07, 2018

Applies to:

Oracle SOA Platform – B2B (Business to Business) - Version 11.1.1.1.0 to 11.1.1.6.0 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

When  B2B receives RosettaNet invoice documents from a Trading Partner the following error occurs:

[2012-01-04T10:55:41.569-06:00] [SOA_server1] [TRACE:32] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@124f380c] [ecid: 5ff664007d285940:-5ac63edb:134a5e7e628:-8000-00000000001140c6,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: log] msgKey = B2B-51566
[2012-01-04T10:55:43.493-06:00] [SOA_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@124f380c] [ecid: 5ff664007d285940:-5ac63edb:134a5e7e628:-8000-00000000001140c6,0] [APP: soa-infra] B2B Label:PCBPEL_11.1.1.4.0CPB2BBP1_GENERIC_RELEASE: oracle.xml.parser.v2.XMLParseException: PI with the name 'xml' can occur only in the beginning of the document.[[
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:343)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
at oracle.tip.b2b.exchange.rnif20.B2BMsgAttributes.parseInputStream(B2BMsgAttributes.java:137)
at oracle.tip.b2b.exchange.rnif20.RNExchangePlugin.decodeIncomingMessage(RNExchangePlugin.java:224)
at oracle.tip.b2b.exchange.rnif20.RNExchangePlugin.decodeIncomingMessage(RNExchangePlugin.java:1943)
at oracle.tip.b2b.engine.Engine.processIncomingMessageImpl(Engine.java:1989)
at oracle.tip.b2b.engine.Engine.processIncomingMessage(Engine.java:1710)
at oracle.tip.b2b.engine.Engine.incomingContinueProcess(Engine.java:4414)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:4006)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3312)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:683)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:231)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

]]
[2012-01-04T10:55:43.495-06:00] [SOA_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@124f380c] [ecid: 5ff664007d285940:-5ac63edb:134a5e7e628:-8000-00000000001140c6,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: handleExceptionBeforeIncomingTPA: Enter
[2012-01-04T10:55:43.497-06:00] [SOA_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@124f380c] [ecid: 5ff664007d285940:-5ac63edb:134a5e7e628:-8000-00000000001140c6,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: handleInboundException: Enter
[2012-01-04T10:55:43.497-06:00] [SOA_server1] [TRACE] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@124f380c] [ecid: 5ff664007d285940:-5ac63edb:134a5e7e628:-8000-00000000001140c6,0] [SRC_CLASS: oracle.tip.b2b.system.DiagnosticService] [APP: soa-infra] [SRC_METHOD: synchedLog_J] Engine: handleInboundException: Error message is Error -: B2B-51566: Parse stream error


The Trading Partner is using BizTalk and in the B2B console the messages appear in "Processing state" when looking at the Wire Messages tab.

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.