It's always best to avoit exposing Java-specific collection types
through your web service interface. Stick with arrays.

Anne

On 8/24/06, Fu, Glen <[EMAIL PROTECTED]> wrote:
Hi Jay,

Could you give me sample server/client code  with ArrayList parameter in
Java on AXIS2?
Can I create a service with below?
 public String MyService(String parm0,ArrayList parm1) {

    // business logic......
        return "return string";

 }


Thanks,
Glen

-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 23, 2006 9:16 PM
To: [email protected]
Subject: Re: Multiple parameters

Hi Fu;

None of the message receiver available in Axis2 can not handle this
scenario. I mean if the method take hastable then Axis2 can not handle
that , but arrylist and object[] can handle.

Thanks
Deepal

Fu, Glen wrote:

> Hi,
>
>
> I want to create a service with Hashtable object parameters  with
> AXIS2 , could you let me know how to code it at server and client
sides?
>
> The parameters will be like below in Java
> *
>
> public String MyService(String parm0,Hashtable parm1) {
>
>     business logic......
>
> }
>
>
>
> Thanks,
> Glen
>
> *


--
Thanks,
Deepal
................................................................
~Future is Open~



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to