You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Narayan (JIRA)" <ji...@apache.org> on 2014/03/06 04:37:47 UTC

[jira] [Created] (CXF-5595) Getting UNMARSHAL_ERROR for CXF XML Beans databinding for '&' in SOAP request

Narayan created CXF-5595:
----------------------------

             Summary: Getting UNMARSHAL_ERROR for CXF XML Beans databinding for '&' in SOAP request
                 Key: CXF-5595
                 URL: https://issues.apache.org/jira/browse/CXF-5595
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.6.1
         Environment: JBoss 7.1, CXF 2.6.1
            Reporter: Narayan


I am using Apache CXF 2.6.1 to define jaxws:endpoint and using org.apache.cxf.xmlbeans.XmlBeansDataBinding databinding. The application is deployed on JBoss 7.1. When the incoming SOAP request contains '&' character in the data node, it throws following exception. If '&' character is not present, everything works fine. 

thrown exception, unwinding now | org.apache.cxf.interceptor.Fault: UNMARSHAL_ERROR
	at org.apache.cxf.xmlbeans.DataReaderImpl.doRead(DataReaderImpl.java:113)
	at org.apache.cxf.xmlbeans.DataReaderImpl.read(DataReaderImpl.java:63)
	at org.apache.cxf.xmlbeans.DataReaderImpl.read(DataReaderImpl.java:45)
	at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:200)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)



--
This message was sent by Atlassian JIRA
(v6.2#6252)