cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Re: Cannot load the resource for signing of a soap message
Date Fri, 20 Oct 2017 14:23:37 GMT

I used your suggestion and solved my problem. But I m running into a similar
problem elsewhere where the resource file is not found by the
AbstractBindingBuilder class. Here is the exception:

WARN  [2017-10-20 12:56:45,022] org.apache.cxf.phase.PhaseInterceptorChain:
Interceptor for
has thrown exception, unwinding now
! Could not find properties file
! at
! at
! at
! at
! at
! at
! at$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(
! at$PolicyBasedWSS4JOutInterceptorInternal.handleMessage(
! at
! at org.apache.cxf.endpoint.ClientImpl.doInvoke(
! at org.apache.cxf.endpoint.ClientImpl.invoke(
! at org.apache.cxf.endpoint.ClientImpl.invoke(
! at org.apache.cxf.endpoint.ClientImpl.invoke(
! at org.apache.cxf.frontend.ClientProxy.invokeSync(
! at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
! at com.sun.proxy.$Proxy103.processProductMasterData(Unknown Source)

Im wondering if i could solve this in a similar way as overriding the method
which loads the resource file to force it to load it from the file system. 

Here is the approach Im thinking:
In the stacktrace, I see *AbstractBindingBuilder* class has a method called
*getCrypto* which is the method that loads up the resource. I am thinking of
overriding this. Any idea how to make use of this overridden class to
indicate PolicyBasedWSS4JOutInterceptor to make use of the overridden class? 

Sent from:

View raw message