its very simply send it as Integer.class in the second part of the
consturcor in Parameter class

----- Original Message -----
From: "Marcia Perry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 8:30 PM
Subject: org.apache.soap.rpc.Parameter constructor


> Hi,
>
> I have a web service deployed under Apache SOAP-RPC and the method
> takes 2 ints as input parameters.  When I write the client that
> invokes this method, I need something like:
> Vector params = new Vector;
> params.addElement(new Parameter(arg1, arg2, arg3, null));
> I need to pass an int to the method being called... how can I use
> the Parameter constructor and still send an int to the invoked
> method?
>
> (This question does seem lame, as I write it, but I'm new to Apache
> SOAP-RPC and totally stuck.  I'm hoping someone will answer and then
> I'll wipe the egg off my face.)
>
> Thanks,
> -- marc
> ----------------------------------------------------------------
> Marc Perry                            [EMAIL PROTECTED]
> Lawrence Berkeley National Laboratory   WORK#  (510) 486-6786
> 1 Cyclotron Road                        FAX#   (510) 486-6363
> Berkeley, CA 94720     MS: 50A-3111

Reply via email to