On 2011-7-13, at 上午8:04, 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.
Hi,
As it's client side, you need see what print out in
LoggingInInterceptor for the response message.
LoggingOutInterceptor print out the request message and it has nothing
to do the response.
Freeman
HelloWorld service implemented in PHP.
thanks.
--
View this message in context:
http://cxf.547215.n5.nabble.com/ClientProxyFactoryBean-method-return-null-tp4581005p4581005.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com