[ http://jira.codehaus.org/browse/XFIRE-846?page=comments#action_85271 ] Mukesh Mediratta commented on XFIRE-846: ----------------------------------------
Thanks Tomasz, Appreciate this Mukesh Mediratta > Xfire WS Security > ----------------- > > Key: XFIRE-846 > URL: http://jira.codehaus.org/browse/XFIRE-846 > Project: XFire > Issue Type: Bug > Affects Versions: 1.2 > Environment: Windows, JDK 1.5_07 > Reporter: Mukesh Mediratta > Assigned To: Tomasz Sztelak > > We are using Xfire Client Stubs to invoke a WebService. This Webservice uses > WS Security. > We have followed steps as described in > Set the outgoing properties using the code from the example below > protected void configureOutProperties(Properties config) > { > // Action to perform : user token > config.setProperty(WSHandlerConstants.ACTION, > WSHandlerConstants.USERNAME_TOKEN); > // Password type : plain text > config.setProperty(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT); > // for hashed password use: > //properties.setProperty(WSHandlerConstants.PASSWORD_TYPE, > WSConstants.PW_DIGEST); > // User name to send > config.setProperty(WSHandlerConstants.USER, "serveralias"); > // Callback used to retrive password for given user. > config.setProperty(WSHandlerConstants.PW_CALLBACK_CLASS, > PasswordHandler.class.getName()); > } > Define the Client > Service serviceModel = new > ObjectServiceFactory().create(TestWebService.class); > // create a proxy for the deployed service > XFire xfire = XFireFactory.newInstance().getXFire(); > XFireProxyFactory factory = new XFireProxyFactory(xfire); > TestWebService client = null; > client = (C3DService) factory.create(serviceModel, serviceUrl); > Now the next step > client.addOutHandler(....) > We are unable to see "addOutHandler" as an available method.. > Are we missing something here.. > Thanks > Mukesh Mediratta -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
