Yup, I could do that. But then that defeats the sole purpose of replacing
any existing API which I want to replace with a Soap service. Right now, I'm
just passing it as a String and then converting it t olong or whatever
......So, u mean to say that I can only pass Objects as Parameters, not any
literals . But doesn't that sound a little constraining ? Isn't there any
other way, or is it still in the development stage to pass a literal as a
Parameter .....
Thanks,
Kuntal Das
Charles Schwab & Co., Inc.
Wireless Technology
45 Fremont, SF
Email : [EMAIL PROTECTED]
Phone : (415)667-4322
Live life to the brim.................
-----Original Message-----
From: venkat reddy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 5:32 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help wanted !!! Parameter types.....
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]