It could be your Xerces libraries are bad. I would download the latest and place them in your endorsed directory: http://www.jroller.com/gmazza/entry/classformaterror_truncated_class_file_using
You may also want to google that error message for more possibilities--it's a pretty common error. Glen krishnafddfs wrote: > > Hi, > > I get the following error when the servicemix cxfbc provider is handling > the response from the server. Is it any library mismatch or am i missing > anything. please help > > --Krishna. > > Interceptor has thrown exception, unwinding now > org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to > insert a node where it is not permitted. > at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown > Source) > at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source) > at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Unknown > Source) > at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source) > at > org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:708) > at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:594) > at > org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.getBodyElement(JbiInWsdl1Interceptor.java:295) > > at > org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1Interceptor.java:145) > > at > org.apache.servicemix.cxfbc.interceptors.JbiInWsdl1Interceptor.handleMessage(JbiInWsdl1Interceptor.java:61) > > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221) > > > And i have turned on the javax.net.debug=ALL and this is the response from > the server > > <?xml version="1 .0" encoding="ut f-8"?>.<SOAP-ENV :Envelope xmlns: > SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema -instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema">.<SOAP > -ENV:Body>.<ns:createuserResponse > xmlns:ns='http://www.openuri.org/'><ns:createuserResult><ns:PersonId>1</ns:PersonId></ns:createuserResult></ns:createuserResponse> > > </SOAP-ENV:Body>. > </SOAP-ENV:Envelope> > -- View this message in context: http://www.nabble.com/cxfbc-provider-%3AHIERARCHY_REQUEST_ERR%3A-An-attempt-was-made-to-insert-a-node-where-it-is-not-permitted.-tp19657467p19658414.html Sent from the cxf-user mailing list archive at Nabble.com.
