For server side, I understand. But I thought client shouldn't worry about the
data binding at all.




willem.jiang wrote:
> 
> Hi ,
> 
> I think the default Data Binding in the ServiceFactory is JaxbDatabinding.
> That's why you need to do when you want to use AegisDatabinding.
> 
> Willem.
> 
> yulinxp wrote:
>> Why/when is it needed to set AegisDatabinding for client at all ?
>>
>>   ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
>>   factory.setServiceClass(HelloWorld.class);
>>   factory.setAddress("xxxx");
>>   factory.getServiceFactory().setDataBinding(new AegisDatabinding()); 
>>   HelloWorld hw = (HelloWorld)factory.create();
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-configure-HTTPConduit-for-client-using-java-code-tp15460135p15502436.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to