You send the value as new Long (your-long-value). Sanjiva.
----- Original Message ----- From: "Paras, Frederick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 4:17 AM Subject: Parameter class, primitive data types, easy question... > This is a simple question, and I have not found an example yet. > > Say we had a method to expose > > public boolean isExists(long enterpriseId) > > and given that the Parameter constructor is: > > Parameter(java.lang.String name, java.lang.Class type, java.lang.Object > value, java.lang.String encodingStyleURI) > > How would you set the type and value parameters??? > > I can see doing a long.class for the type parameter but what about the value > parameter??? Am I taking the correct approach??? > > Thanks. > > Frederick V. Paras > Software Engineer > Qwest Information Technology > Work - 703-363-4087 > Fax - 703-363-4899 > Mobile - 703-582-0347 > [EMAIL PROTECTED]
