Hi Freeman,

It is the same scenario as the previous https one. As i mentioned in the
other
 thread, i added the workaround in cxfbc to programatically set
 the tlsclientparameters and once i did that the message went to the server 
and the server processed it fine and this error occurs when the cxfbc 
provider is trying to process the response.

---Thanks
Krishna.


Freeman Fang wrote:
> 
> Hi Krishna,
> Is this issue also related the the previous https one?
> If it's a new issue, would you please provide more details about your 
> scenario?
> 
> Freeman
> 
> krishnafddfs wrote:
>> Hi,
>>
>> I get the following error when the 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.-tp19656853p19661484.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to