Thanks Martin for your reply.
I just wanted to understand if say the parameter class is set to
int[].class, but can I pass an Integer[] as the value for the parameter.
Because if the value passed should be an int[] then I just want to think
about the conversion from Integer[] to int[] . Basically I deal with lot
of primitive types in the call but what comes to my library is Primitive
Object.
Thanks for your help again.
Regards,
Ravi
Martin Gainty wrote:
Hi Ravi
This is a java question-
Better to create the java.lang.Integer object
and then if you need to access the numeric value with intValue() as in
java.lang.Integer Int = new java.lang.Integer("1");
int i = Int.intValue();
HTH
M-
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
----- Original Message -----
From: "Ravi Krishnamurthy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 08, 2006 10:59 PM
Subject: AXis 1.4 : primitive types and Primitive object
Hello;
If a parameter java class is registered as int.class, is it okay to pass
the value as Integer. Does axis takes care of the conversions for all types.
Thanks,
Ravi
---------------------------------------------------------------------
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]