2 Replies Latest reply on Nov 19, 2015 11:57 AM by rjakkula

    org.apache.cxf.binding.soap.SoapFault: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted

    rjakkula

      Hi,

       

      I keep getting this error when calling an endpoint using <to uri="cxf:bean:myCXFEndpoint>. What is the reason for this error?

       

       

      org.apache.cxf.binding.soap.SoapFault: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:86) [cxf-rt-bindings-soap-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:52) [cxf-rt-bindings-soap-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:41) [cxf-rt-bindings-soap-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69) [cxf-rt-bindings-soap-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34) [cxf-rt-bindings-soap-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:784) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1644) [cxf-rt-transports-http-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1155) [cxf-rt-transports-http-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_51]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_51]

          at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353) [cxf-core-3.0.4.redhat-620133.jar:3.0.4.redhat-620133]

          at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]