Exception thrown when creating SoapFault using Axis2-saaj implementation
------------------------------------------------------------------------

                 Key: CXF-1959
                 URL: https://issues.apache.org/jira/browse/CXF-1959
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.1.3
            Reporter: Mike Youngstrom
             Fix For: 2.1.4


I'm attempting to use the Axis2 saaj implementation with cxf because the sun 
saaj-impl doesn't work in Websphere.  It appears to be working ok for the most 
part but I get an exception when cxf attempts to create a SoapFault with a 
JaxWSClientProxy.  Here is the error I get.

Caused by: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made 
to insert a node where it is not permitted. 
        at org.apache.axiom.om.impl.dom.NodeImpl.insertBefore(NodeImpl.java:261)
        at org.apache.axiom.om.impl.dom.NodeImpl.appendChild(NodeImpl.java:240)
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:197)
        at 
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
        at $Proxy133.submitRequest(Unknown Source)
        at 
com.somecompany.service.SomeServiceImpl.submitService(SomeServiceImpl.java)
        ... 94 more

When using the sun saaj-impl not in websphere I don't get this error and the 
SoapFault appears to be created correctly.

Mike

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to