Error while using WS- security with xfire client. -------------------------------------------------
Key: XFIRE-1118 URL: http://jira.codehaus.org/browse/XFIRE-1118 Project: XFire Issue Type: Bug Components: WS-Security Affects Versions: 1.2.6 Environment: windows xp Reporter: kuldeep thakare Assignee: Dan Diephouse Priority: Critical Hi, We have devloped some xfire based web services and want to test those with xfire client. we are using WS-security to add username and password to message header.Please see below for the step we are following for the WS-security enabled client. Step 1 : Service serviceModel = new ObjectServiceFactory().create(ISequenceRetrieve.class); Step 2 : XFire xfire = XFireFactory.newInstance().getXFire(); XFireProxyFactory factory = new XFireProxyFactory(xfire); Step 3 : ISequenceRetrieve service = (ISequenceRetrieve) factory.create(serviceModel, serviceUrl); Step 4 : Client clt = Client.getInstance(service); clt.addOutHandler(new DOMOutHandler()); Properties outProperties = new Properties(); //Need to configure properties clt.addOutHandler(new WSS4JOutHandler(outProperties)); we are getting below error for above line of code although we have added all the required jars for the xfire and epecielly for WS-security.(xfire-ws-security-1.2.6.jar) Error: The type org.apache.ws.security.handler.WSHandler cannort be resolved. It is indirectly referenced from the required .class files. could you please let me know why it is not able to resolve WSS4JOutHandler. Thanks, Kuldeep -- 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