Hello,
Calling a Web Service, I am getting and exception printed in console, even
if the call does all the job and returns proper results.
SEVERE: org.apache.ws.security.WSSecurityException: WSHandler: no reference
in callback property
Both my client & server code are using XFire. My client code specifies a
password callback class as client's out handler
here's the code snippet:
config.setProperty(
WSHandlerConstants.PW_CALLBACK_CLASS,
WSSecurityClient.PasswordHandler.class.getName());
client.addOutHandler(new WSS4JOutHandler(config));
>From what I see looking at Xfire code in debugger - the callback is
(correctly) processed when the client sends the request to server,
everything is successfull authenticated , the method does the job and
returns proper results.
However, when XFire client code accepts the results, it, by some reason,
also looking for password (WSS4JInHandler.getPassword()) , cannot find it
and fires the WS Security Exception. Later, this exception is caught in
WSS4JInHandler.invoke() and nothing happens... except the exception being
logged and printed in console.
Could you advise me - should I completely ignore this exception ? or it may
really mean something I should fix ?
Thanks & Regards,
Nikolajs Krasnikovs, IDBS
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email