If you use Aegis on the client side, you must pass in a WSDL to the
factory, otherwise all the parameter names get lost since they aren't
kept around by Java.
On Tue, Dec 9, 2008 at 2:07 PM, Benson Margulies <[EMAIL PROTECTED]> wrote:
> Can anyone else see anything in the expanses of white space?
>
> On Tue, Dec 9, 2008 at 8:44 AM, arun_rocky
> <[EMAIL PROTECTED]> wrote:
>>
>>
>> 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.
>>
>