cxf version : 2.0.9
i defined the aegis databinding in cxf.xml like this :
and :
In java code :
calling the webservice like this :
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.getInInterceptors().add(new LoggingInInterceptor());
factory.getOutInterceptors().add(new LoggingOutInterceptor());
factory.setServiceClass(TestWebService.class);
// if i didnt comment the below line i am getting all the
return values as null.
/*factory.setDataBinding(new AegisDatabinding());*/
factory.setAddress("http://localhost:8080/resumeupload/services//TestService");
TestWebService testClient= (TestWebService)factory.create();
System.out.println(testClient.welcomeUser());
if(testClient.returnEmployees() != null){
ArrayList al = testClient.returnEmployees();
System.out.println("The values in array list "+al.size());
System.out.println("the values in arraylist are :" +al);
}
We'll need much more detail.
1) What version of CXF?
2) Is Aegis on the server, the client, or both?
</quote.
--
View this message in context:
http://www.nabble.com/Aegis-DataBinding-tp20914633p20914945.html
Sent from the cxf-user mailing list archive at Nabble.com.