Yes! finally working with JaxWsProxyFactoryBean :

@WebService(targetNamespace="urn:myOutputNamespace") 
        interface MyService { 
                @WebMethod(operationName="hello")
                @WebResult(name="resParam")
                String hello(String name); 
        }

        public static void main (String args[]) {
                   
                   ClientProxyFactoryBean factory = new JaxWsProxyFactoryBean();
                   factory.setServiceClass(MyService.class);
                   
factory.setAddress("http://localhost/testws/HelloServerWsdl.php";);
                   MyService client = (MyService) factory.create();

                   System.out.println("say "+client.hello("Dan"));
                   
           }


thank you!


--
View this message in context: 
http://cxf.547215.n5.nabble.com/ClientProxyFactoryBean-method-return-null-tp4581005p4583650.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to