[ http://jira.codehaus.org/browse/XFIRE-319?page=comments#action_82201 ] 
            
Matthew commented on XFIRE-319:
-------------------------------

Was this fixed?  Or are you just suggesting the work-around?  Because I'm using 
version 1.2 and I have the same problem. The service's handlers are not added 
to the pipeline in Invocation.Invoke.  In my case the service is used over and 
over to create proxies and I would rather it be a service level configuration 
rather than proxy level.

> Handler not invoked on client with XFireProxyFactory
> ----------------------------------------------------
>
>                 Key: XFIRE-319
>                 URL: http://jira.codehaus.org/browse/XFIRE-319
>             Project: XFire
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1-beta-1, 1.0
>         Environment: Sun JDK 1.4.2
>            Reporter: Giampaolo Tranchida
>         Assigned To: Dan Diephouse
>             Fix For: 1.0
>
>
> My Handler is not invoked, with this code
>                       Service serviceModel = new 
> ObjectServiceFactory().create(DemoService.class, "DemoService", 
> "http://demo.tranchida.ch/DemoService";, null);
>                       serviceModel.addOutHandler(new WSSEClientHandler());
>                       
>                       DemoService service = (DemoService)
>                       new XFireProxyFactory().create(serviceModel, 
> "http://localhost:8080/DemoService/services/DemoService";);
>                       System.out.println(service.echo("hello"));
> Looking at XFireProxy in debug, outHandlers list contains only 
> OutMessageSender 
> But Using Dynamic client, it is ok, my Handler is normaly invoked
>                       Client client = new Client(new 
> URL("http://localhost:9999/DemoService/services/DemoService?wsdl";));
>                       
> client.setEndpointUri("http://localhost:9999/DemoService/services/DemoService";);
>                       client.addOutHandler(new WSSEClientHandler());
>                       System.out.println(client.invoke("echo", new Object[] { 
> "hello" })[0]);

-- 
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