Encrypt Web Service Filter Not Working And Giving ClassCastException Errors (Doc ID 1941734.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle API Gateway - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

ClassCastException with Encrypt Web Service Filter using OEG 11.1.1.6.1.

ERROR  
java exception:
java.lang.ClassCastException: com.vordel.jaxprovider.libxml.ElementImpl cannot be cast to com.vordel.circuit.crypt.NodeLocation
      at com.vordel.circuit.crypt.XMLEncryptionProcessor.setupEncryptionParams(XMLEncryptionProcessor.java:221)
      at com.vordel.circuit.crypt.XMLEncryptionProcessor.invoke(XMLEncryptionProcessor.java:88)
      at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.java:154)
      at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.java:43)
      at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.java:229)
      at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCircuitChainProcessor.java:36)
      at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:290)
      at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:131)


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