My Oracle Support Banner

Business Service fails to parse the Request Header containing "cookie": " Unexpected element: CDATA" (Doc ID 1980461.1)

Last updated on JULY 26, 2018

Applies to:

Oracle Service Bus - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

On Test: 11.1.1.7.0 version, OSB Core Functionality

While trying to invoke a Business Service with a payload containing a user header of name "cookie", OSB fails with error "Unexpected element: CDATA". This error happens while parsing the contents of the request header and works in 11.1.1.3.

 

Exception trace

####<Feb 10, 2015 6:12:58 PM EST> <Error> <OSB Kernel> <US> 

<AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 
'weblogic.kernel.Default (self-tuning)'> <weblogic> <> 
<0e5227f03c6c387f:-1a5bf200:14b75a0196d:-8000-0000000000000060> 
<1423609978462> <BEA-398204> < 
 [OSB Tracing] Internal Error while tracing message 
 error: Unexpected element: CDATA> 
####<Feb 10, 2015 6:12:58 PM EST> <Debug> <AlsbTransports> <ABABSRIV-US> 
<AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 
'weblogic.kernel.Default (self-tuning)'> <weblogic> <> 
<0e5227f03c6c387f:-1a5bf200:14b75a0196d:-8000-0000000000000060> 
<1423609978482> <BEA-000000> 
<LoadBalanceFailoverListener.sendMessageToServiceAsync 
com.bea.wli.sb.transports.TransportException: error: Unexpected element: 
CDATA 
at 
com.bea.wli.sb.transports.TransportException.newInstance(TransportException.ja 
va:214) 
at 
com.bea.wli.sb.transports.http.RequestHeadersImpl.toXML(RequestHeadersImpl.jav 
a:103) 
at 
com.bea.wli.sb.transports.http.RequestHeadersImpl.toXML(RequestHeadersImpl.jav 
a:19) 
at 
com.bea.wli.sb.transports.DefaultRequestMetaData.toXML(DefaultRequestMetaData. 
java:93) 
at 
com.bea.wli.sb.transports.http.RequestMetaDataImpl.toXML(RequestMetaDataImpl.j 
ava:143) 
at 
com.bea.wli.sb.transports.http.RequestMetaDataImpl.toXML(RequestMetaDataImpl.j 
ava:19) 
at 
com.bea.wli.sb.transports.http.HttpOutboundMessageContext.setRequestMetaData(H 
ttpOutboundMessageContext.java:210) 

at weblogic.work.ExecuteThread.run(ExecuteThread.java:221) 
       Caused By: org.apache.xmlbeans.XmlException: error: Unexpected 
element: CDATA 
....

 

Changes

 Upgrade from 11.1.1.1.3 to 11.1.1.7

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
Changes
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.