Weblogic 10.3.5 throws 500 error processing WS-Sec header for CXF 2.3.4 web service (Doc ID 1391753.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.5 to 11.1.1.6.0
Information in this document applies to any platform.

Symptoms

WebLogic server 10.3.5 client invoking a web service utilizing WS-Security causes the following error in the server log as shown in this example:

ReportBrokerService spec-version:null], request: weblogic.servlet.internal.ServletRequestImpl@121a832[
POST /ReportBrokerService/services/rbs HTTP/1.1
Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:bf6d8c47-7c75-47d3-a1b9-e21c7dbdcbc3"; start="<root.message@cxf.
apache.org>"; start-info="text/xml"
Accept: */*
SOAPAction: "http://example.someserver.com/ReportBrokerService/getReport"
User-Agent: Apache CXF 2.3.4
Cache-Control: no-cache
Pragma: no-cache
Connection: keep-alive
Transfer-Encoding: chunked

]] Root cause of ServletException.
java.lang.AssertionError: UNIMPLEMENTED
at weblogic.xml.domimpl.NodeImpl.setPrefix(NodeImpl.java:173)
at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:960)
at org.apache.cxf.staxutils.StaxUtils.readDocElements(StaxUtils.java:928)
at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor.handleMessage(SAAJInInterceptor.java:192)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.getSOAPMessage(WSS4JInInterceptor.java:130)
Truncated. see log file for complete stacktrace

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms