Weblogic Server - Marshal Exception During Encryption Of A SOAP Response
(Doc ID 2425753.1)
Last updated on SEPTEMBER 25, 2020
Applies to:
Oracle WebLogic Server - Version 12.2.1.0.0 to 12.2.1.3.0 [Release 12c]Information in this document applies to any platform.
Symptoms
When attempting to encrypt SOAP Response, the following error occurs.
[HTTP response 500]
<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>weblog
ic.xml.crypto.api.MarshalException: Failed to write element KeyInfo</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">weblogi
c.xml.crypto.wss.WSSecurityException: weblogic.xml.crypto.api.MarshalException: Failed to write element KeyInfo
at weblogic.wsee.security.wssp.handlers.WssServerHandler.processResponse(WssServerHandler.java:98)
at weblogic.wsee.security.wssp.handlers.WssHandler.handleResponse(WssHandler.java:209)
at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory$JAXRPCTube.processResponse(TubeFactory.java:277)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1147)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:419)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:868)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:169)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |