While my code based on XFireClientFactoryBean fails with exceptions indicating "Could not find port type", the following code (utilising XFireProxyFactory) succeeds. I wonder if it may be due to the lack of a service model derived from annotations in the service interface. Can someone tell me if XFireClientFactoryBean can be configured with a service model in the same way as XFireProxyFactory?

                Service serviceModel = new AnnotationServiceFactory()
                                .create(MyService.class);
                MyService service = (MyService) new XFireProxyFactory()
                                        .create(serviceModel,
                                                        
"http://localhost:8888/services/MyService/";);

Kind regards,
Callum

Reply via email to