Can you try with:

JaxWsProxyFactoryBean 

instead of the ClientProxyFactoryBean

My gut feeling is that the server is returning stuff that is more compatible 
with the JAX-WS frontend instead of the simple frontend.   If you go with the 
JAX-WS frontend, you can also add the @WebResult/@WebParam annotations to make 
sure the element names on the wire are properly matched and such.

Dan



On Tuesday, July 12, 2011 5:04:53 PM deivid wrote:
> Hello,
> 
> Trying to get working simplest client but no success:
> 
> interface HelloWorld { String hello(String name); }
> 
> 
> ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
> factory.setServiceClass(HelloWorld.class);
> factory.setAddress("http://localhost:9000/Hello";);
> HelloWorld client = (HelloWorld) factory.create();
> 
> System.out.println("say " + client.hello("Dan"));
> // -- > prints: "say null". LoggingOutInterceptor shows succesful payLoad
> but method returns null.
> 
> 
> HelloWorld service implemented in PHP.
> 
> thanks.
> 
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/ClientProxyFactoryBean-method-return-null-t
> p4581005p4581005.html Sent from the cxf-user mailing list archive at
> Nabble.com.
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to