Hi all,

I am getting an strange error of no such method with the following code.


My method signature for Webservice is
public float testMethod(String city, Integer p)

The parameter setting part of Client code is like this:


  Vector params = new Vector();
    params.addElement(new Parameter("city", String.class, "Tokyo", null));
     Integer  p = new Integer(44);
    params.addElement(new Parameter("p", Integer.class, p, null));
    call.setParams (params);

Exception says "java.lang.NoSuchMethodException:
TanWS.testMethod(java.lang.String,int)"
Basically it converts the Integer wrapper class to prinmitive int.

DO I need to do something special in SOAPMappingRegistry class for this.
I am using SOAP-2_3_1 and Tomcat 4.0.

Please response to this.

TAI,
Tans


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to