I think if messageType is an instance of the class Integer rather than an int, it will work.
Barnaby ----- Barnaby James Acrobat Engineering Adobe Systems, Inc. http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=Barnaby+James 490D 688C 619C C9F4 3D1D FA23 97F4 931C 6308 D119 > -----Original Message----- > From: Jeremy Levy [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 2:29 PM > 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 >
