Dear Jeremy,

        All these wrapper classes have a property/field TYPE. This field returns
"The Class object representing the primitive type ####." , so class type of
integer is Integer.TYPE and so on. You can check the java documentation for
the same.

Regards,
Amit.

-----Original Message-----
From: Jeremy Levy [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 7:29 AM
To: [EMAIL PROTECTED]
Subject: Parameters types


Okay, I am very new to SOAP and this is probably a very stupid question but
I have spent the better part of the day trying to figure this out...

What is the java.lang type of an int?  According to the docs the
SOAPMappingRegistry includes support for all primitives including int...
here is my code

...


MAC is a String
messageType is a int

params.addElement(new Parameter("MAC", String.class, MAC, null)); //this
line works fine

params.addElement(new Parameter("messageType", Integer.class, messageType,
null));
                        ^
                doesn't like that....

Thank you

Jeremy

Reply via email to