You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by shekher awasthi <sh...@gmail.com> on 2008/08/24 19:49:18 UTC

Problem Retuen Type Of WebService

Hi All,

I am new to webService i have develpoed a webservice in which i am trying to
send the response but i am facing a problem in it.

i have created ajavabean and have defined the return type as ArrayList of
this BEan type..
if i will just use this array list and add simple string values in to it the
webserice is returning the arraylist accurately,but when i am filling the
bean and putting it in the arraylist the webservice is unable to return the
response it is returning null values..

i have even serilised the beans can anybody give me any clue where i am
doing wrong


Thanks in advance

Shekher

Re: Problem Retuen Type Of WebService

Posted by keith chapman <ke...@gmail.com>.
What is the version of Axis2 that you used?

Thanks,
Keith.

On Sun, Aug 24, 2008 at 11:19 PM, shekher awasthi <shekher.awasthi@gmail.com
> wrote:

> Hi All,
>
> I am new to webService i have develpoed a webservice in which i am trying
> to send the response but i am facing a problem in it.
>
> i have created ajavabean and have defined the return type as ArrayList of
> this BEan type..
> if i will just use this array list and add simple string values in to it
> the webserice is returning the arraylist accurately,but when i am filling
> the bean and putting it in the arraylist the webservice is unable to return
> the response it is returning null values..
>
> i have even serilised the beans can anybody give me any clue where i am
> doing wrong
>
>
> Thanks in advance
>
> Shekher
>



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org