Hi Das,
        I guess you can create a new Object using the value of your int or
float. 
Remember the Integer Class and the Float class. Then on the server side you
could 
retrieve then easily.

-Regards,
Venkat Reddy
-----Original Message-----
From: Das, Kuntal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 4:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Help wanted !!! Parameter types.....


Hi all,
        This is my second mail regarding the same subject as my previous one
: how to pass a parameter which is of type, say, long or int. The general
rule is, as mentined in the AddressBook example, doing 

params.addElement(new Parameter("acctId", java.lang.String.class,
                                    acctId, Constants.NS_URI_SOAP_ENC));

if we r passing a String literal. But what if we want to pass a long value
or an int value, taking into consideration the Parameter constructor is
Parameter(java.lang.String name, java.lang.Class type, java.lang.Object
value, java.lang.String encodingStyleURI) ?

PLease advice 

Thanks,
Kuntal Das
Charles Schwab & Co., Inc.
Wireless Technology
45 Fremont, SF
Email : [EMAIL PROTECTED]
Phone : (415)667-4322
Live life to the brim.................



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

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

Reply via email to