The problem is you are using Integer objects instead of int primitives for the add method arguments. There is a difference between "Integer" and "int". One is not interchangable with the other. The add method requires primitive ints.




"dumdum 420" <[EMAIL PROTECTED]>

11/22/2002 12:53 PM
Please respond to axis-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Error running Calculator.jws




Hi All,

Once I try to run Calculator.jws using the CalcClient.java following are the
errors I am getting.

Please help me figure out I really tired of trouble shotting.


AxisFault
faultCode: {http://xml.apache.org/axis/}Server.generalException
faultString: Tried to invoke method public int Calculator.add(int,int) with
arguments java.lang.Integer,java.lang.Integer.  The arguments do not match
the signature.
faultActor: null
faultDetail:

Tried to invoke method public int Calculator.add(int,int) with arguments
java.lang.Integer,java.lang.Integer.  The arguments do not match the
signature.
java.lang.IllegalArgumentException: object is not an instance of declaring
class

Thanx in advance,

Bhanu Pabreja

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



Reply via email to