cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dev <devajyot...@gmail.com>
Subject Re: Question regarding SOAPBody and precreated XML payload
Date Fri, 22 Jul 2011 19:29:43 GMT
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:502)
	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(W3CDOMStreamWriter.java:132)
	at
org.apache.cxf.staxutils.OverlayW3CDOMStreamWriter.writeStartElement(OverlayW3CDOMStreamWriter.java:131)
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:122)
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:81)
	at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.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.

Mime
View raw message