I don't think it's possible to run CXF in a production Websphere environment
that requires ws-security. I've tried every trick in the mailing list and
wiki pages:

Did try:
Exclude saaj-impl from build
Exclude saaj-impl from build and install web services feature pack.
Include saaj-impl and install web services feature pack. 
Put JAX-RI in shared lib with Parent First/Last
Put latest xerces-impl in shared lib with Parent First/Last

Did not try:
put Endorsed Dir (not an option for us)

This the exception. I think we're going to have to migrate off of CXF
unfortunately... ;-(

[9/4/09 13:50:41:212 CDT] 0000001f PhaseIntercep W
org.apache.cxf.phase.PhaseInterceptorChain doIntercept 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.CoreDocumentImpl.insertBefore(Unknown Source)
        at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
        at
com.ibm.ws.webservices.engine.xmlsoap.SOAPPart.appendChild(SOAPPart.java:282)
        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.binding.soap.interceptor.SoapOutInterceptor.writeSoapEnvelopeStart(SoapOutInterceptor.java:118)
        at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:80)
        at
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor.handleMessage(SoapOutInterceptor.java:61)
        at org.apache.cxf.phase.PhaseInterc


-- 
View this message in context: 
http://www.nabble.com/Is-*anyone*-sucessfully-running-CXF-with-WS-SECURITY-in-Webshere--tp25299871p25299871.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to