On Tue, 2005-05-24 at 08:28 -0700, Ashok Shah wrote: > > call.setProperty(WSConstants.PASSWORD_TYPE_ATTR, > > WSConstants.PASSWORD_TEXT); > > Should be .. > > call.setProperty(WSHandlerConstants.PASSWORD_TYPE, > WSContants.PASSWORD_DIGEST); > > > > - I get a digested password.. How can I specify a clear text password (I > > didn't set up the server side service..)?
Actually, I fixed it using call.setProperty(UsernameToken.PASSWORD_TYPE, WSConstants.PW_TEXT); A slightly different issue, if I use java stubs created using WSDL2Java, I can set properties by casting, eg. HmmPortType servePort = locator.getHmm(); ((org.apache.axis.client.Stub)servePort)._setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN); But there is no corresponding way of setting client handlers? ((org.apache.axis.client.Stub)servePort)._setClientHandlers(new WSDoAllSender(), new WSDoAllReceiver()); -- Torgeir Veimo <[EMAIL PROTECTED]>
