[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Handle-info] Problems Creating Handles Programmatically from Web Services



Hi Nick,

I think this is caused by having an old version of the handle.jar somewhere in your classpath. Before a certain point the authentication code just used the signature algorithm provided by the public key instead of assigning constant values specific to the signature format that we use. This caused the older handle.jars to return the error you are seeing when run on newer versions of java.

I would check that both your command-line and web service classpaths both have the latest handle.jar file. Also, if the command-line and web service might be talking to different servers then make sure that the server the web service is talking to has an updated handle.jar.

I think this problem was fixed over a year ago, but it is difficult keeping everything up to date!

Thanks,
Sean

On Feb 7, 2007, at 8:01 PM, Nick Fischio wrote:

I would like some help troubleshooting a "problem" we are experiencing with the client library. We have written code modeled after the HDLCreate.java source file that comes with the distribution (v 6.2). The code works fine when we call it from the command line (Windows), however it fails when we execute the same code from a Web service via Apache Axis.

When we attempt to execute this code from our Web service, we receive the following message:

"HandleException (UNABLE_TO_AUTHENTICATE) Unable to sign challenge: HandleException (MISSING_OR_INVALID_SIGNATURE) Unknown signature algorithm: DSA"

Nick

Attachment: smime.p7s
Description: S/MIME cryptographic signature