Credentialnotfoundexception Passing Soap Messages Through Services

(Doc ID 1352427.1)

Last updated on MAY 04, 2017

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


A CredentialNotFoundException exception occurs when passing SOAP messages through OSB services.
The security has been setup correctly i.e. the Service Key Provider has been configured to provide the appropriate credential.

The error in the proxy is the following:

####<Aug 23, 2011 8:05:51 PM CDT> <Error> <ALSB Logging> <aserver> <tier3_osbadmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <f39dbc5dc21102b7:5ef95283:131f94cf481:-8000-0000000000003cb8> <1314147951644> <BEA-000000> < [ErrorHandler_Pipeline, ErrorHandler_Pipeline_request, ErrorHandler_RequestStage, REQUEST] From request pipeline of ErrorHandler, the error data sent by your service is: <errorData><fault><ctx:fault xmlns:ctx=""><ctx:errorCode>BEA-380000</ctx:errorCode><ctx:reason>General runtime error:</ctx:reason><ctx:location><ctx:node>RouteTo_AutoEnrollment_BS_V_1_0</ctx:node><ctx:path>request-pipeline</ctx:path></ctx:location></ctx:fault></fault><body><soapenv:Body xmlns:soapenv="" xmlns:aut="">

When turning on the security->cred map trace option the following is seen:

<f39dbc5dc21102b7:224f21f2:131fd5d676d:-8000-0000000000003cc3> <1314216216910> <BEA-000000> <not supported credential type weblogic.pki.Keypair>
####<Aug 24, 2011 3:03:36 PM CDT> <Debug> <SecurityCredMap> <aserver> <tier3_osbadmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <f39dbc5dc21102b7:224f21f2:131fd5d676d:-8000-0000000000003cc3> <1314216216910> <BEA-000000> <getCredentials: requestor=Subject: 1
Principal ="<WLS Kernel>")


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