thanks, will try that... ----- Original Message ----- From: "pacow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 26, 2004 12:02 AM Subject: Re: Questions Regarding Security example ClientSigningHandler
> ahh.. look for the files client-config.wsdd and server-config.wsdd (they should > be where you deployed from, i think); they save the state > of your axis server. you can remove directives from them manually to undeploy > stuff. > > Mei Wu wrote: > > > yeah, undeploy doesn't work for me either, I renamed the > > clienthandlerdeploy(something like that).wsdd, and then, it no longer calls > > that handler, but I still can't undeploy the global server side handler: > > loghandler, anyone has any idea to undeploy that? -- I tried to undeploy, it > > shows lots of printouts and no exception, but the handler is still there. > > > > Perhaps it filters the messgae that's gone through the client side handler , > > which is the Axis binary code... > > ----- Original Message ----- > > From: "pacow" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, March 25, 2004 10:56 PM > > Subject: Re: Questions Regarding Security example ClientSigningHandler > > > > > ah.. that may be it, as i'm using precompile class files from the > > AxisBinary > > > distribution. > > > > > > though now i have to figure out how to undeploy the Handler, since the > > > undeploy.wsdd > > > is not working. > > > > > > also, any ideas as to why it filters some clients but not others? it only > > > filters examples that > > > came with the Axis binary, not Clients i have created on my own... ??? > > > > > > thanks, > > > -peter > > > > > > Mei Wu wrote: > > > > > > > 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 > > > > > > > > >