[ http://jira.codehaus.org/browse/XFIRE-846?page=all ]

Tomasz Sztelak closed XFIRE-846.
--------------------------------

      Assignee: Tomasz Sztelak  (was: Dan Diephouse)
    Resolution: Won't Fix

If you have question, use mailing list, not jira, plz.

You need to use Client.getInstance(client).addOutHandler(..)

> 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

Reply via email to