looks to me like you have an mismatched xml security library, have you checked which version Axis supports? I believe I am use 1.4... ----- Original Message ----- From: "pacow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 10:06 PM Subject: Questions Regarding Security example ClientSigningHandler
> 1) Can I verify that the handler has actually been deployed? When I run the command "java > org.apache.axis.utils.Admin client samples/security/clientsecuritydeploy.wsdd", I get no feedback, > though no Exceptions either. > > 2) When I run "java org.apache.axis.client.AdminClient list" to see what has been deployed, I get a > message that seems to affirm that the ClientHandler has been deployed, but I also get this Exception > > Beginning Client signing... > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.xml.security.signature.XMLSignature.sign(Ljava/security/PrivateKe y;)V > at samples.security.SignedSOAPEnvelope.init(SignedSOAPEnvelope.java:150) > at samples.security.SignedSOAPEnvelope.<init>(SignedSOAPEnvelope.java:104) > at samples.security.ClientSigningHandler.invoke(ClientSigningHandler.java:89) > etc.... > > Is this an error within the SignedSOAPEnvelope class, or a config issue? > When I attempt to undeploy the handler with "java org.apache.axis.utils.Admin client > samples/security/clientsecurityundeploy.wsdd", I get no feedback once again, but it doesn't appear to > undeploy, as when I run the AdminClient afterwards I get the same Exception. > > 3) When I run my own custom clients that are based off of classes generated by wsdls, I do not get this > exception, but I don't get any type of Signing message ('Beginning Client signing...') either... Does > the Handler only work for certain types of calls??? > > Any help would be appreciated, > -peter >