cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Question regarding SOAPBody and precreated XML payload
Date Mon, 25 Jul 2011 20:46:59 GMT

Is this something that you can possibly create a test case for?   That's a 
very strange test case.   The only thing I can think of is if CXF thinks it's 
in MESSAGE mode, but the data is coming in PAYLOAD.   Not really sure though.

Dan



On Friday, July 22, 2011 12:29:43 PM Dev wrote:
> Any idea what this error is and how can we overcome this error?
> 
> HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not
> permitted.
> 	at
> com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(Unknown
> Source)
> 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown
> Source)
> 	at
> com.sun.xml.messaging.saaj.soap.SOAPPartImpl.appendChild(SOAPPartImpl.java:5
> 02) at
> org.apache.cxf.staxutils.W3CDOMStreamWriter.setChild(W3CDOMStreamWriter.java
> :114) at
> org.apache.cxf.staxutils.W3CDOMStreamWriter.newChild(W3CDOMStreamWriter.java
> :104) at
> org.apache.cxf.staxutils.W3CDOMStreamWriter.writeStartElement(W3CDOMStreamWr
> iter.java:132) at
> org.apache.cxf.staxutils.OverlayW3CDOMStreamWriter.writeStartElement(Overlay
> W3CDOMStreamWriter.java:131) at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelope
> Start(SoapOutInterceptor.java:122) at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(Soa
> pOutInterceptor.java:81) at
> org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(Soa
> pOutInterceptor.java:61) at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
> .java:255) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:546)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:343) at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:295) at
> org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:330) at
> org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:332) at
> org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:218) at
> xxx.WSDispatcher.main(WSDispatcher.java:189)
> Exception in thread "main" javax.xml.ws.soap.SOAPFaultException:
> HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not
> permitted.
> 	at org.apache.cxf.jaxws.DispatchImpl.mapException(DispatchImpl.java:262)
> 	at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:339)
> 	at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:218)
> 	at xxx.WSDispatcher.main(WSDispatcher.java:189)
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Question-regarding-SOAPBody-and-precreated-
> XML-payload-tp4620842p4624419.html Sent from the cxf-dev mailing list
> archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Mime
View raw message