-----Original Message-----
From: Gavriloaie_andrei
Sent: Friday, July 11, 2003, 13:46:12
To: [EMAIL PROTECTED]
Cc:
Subject: Re: Tried to invoke method .... The arguments do not match the
signature
-------Original Message------- From: [EMAIL PROTECTED] Date:
Friday, July 11, 2003 10:52:39 To: [EMAIL PROTECTED] Subject: Re:
Tried to invoke method .... The arguments do not match the
signature Hi Can you please show us your class code ? and your
deploy.wsdd ! maybe the method you try to invoke is a static method...
Regards Guillaume I have installed Apache Tomcat, with axis 1.1.
In my 'codallocserver' service I have a method java.lang.Integer
ro.csean.andrei.codallocserver.echo_int ( java.lang.Integer ) when I'm
using it I get the following exception: [WASP_StubFaultExceptionFault]
FaultString='Tried to invoke method public java.lang.Integer
ro.csean.andrei.codallocserver.echo_int(java.lang.Integer) with arguments
java.lang.Integer. The arguments do not match the signature.; nested
exception is: java.lang.IllegalArgumentException: object is not an
instance of declaring class' FaultCodeName='Server.generalException'
FaultCodeNs='http://schemas.xmlsoap.org/soap/envelope/'
FaultActor='NULL' DetailPresented='0' DetailEncodingStyle='NULL'
What is wrong with that? . Hi, this is my class code: package
ro.csean.andrei; import java.util.*; import java.sql.*; import
java.util.logging.*; import java.io.*; public class codallocserver
static public DataOperation database; private Logger mainlog =
Logger.getLogger('andrei.csean.ro'); public codallocserver() throws
Exception { try{ FileHandler fh=new
FileHandler('%t/logging_%g_%u.xml',true);
mainlog.addHandler(fh); mainlog.setLevel(Level.ALL); }
catch(IOException ex)
mainlog.log(Level.WARNING,'logging system error',ex); Exception
ex_out=new Exception('logging system error');
throw(ex_out); } catch(Exception ex)
mainlog.log(Level.WARNING,'logging system error',ex); Exception
ex_out=new Exception('logging system error');
throw(ex_out); } try{ database=new
DataOperation(); } catch(SQLException
mainlog.log(Level.SEVERE,'data base system error',ex);
Exception ex_out=new Exception('data base system error');
throw(ex_out); } } ....................... public
Integer echo_int(Integer test_integer) { return
_integer; } } this is my deploy.wsdd: <deployment
xmlns='http://xml.apache.org/axis/wsdd/'
xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'> <service
name='codallocserver' provider='java:RPC'> <parameter name='className'
value='ro.csean.andrei.codallocserver'/> <parameter name='allowedMethods'
value='*'/> <parameter name='scope' value='application'/> </service>
<beanMapping qname='local:ProductsInfo' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.ProductsInfo'/> <beanMapping
qname='local:ShortProduct' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.ShortProduct'/> <beanMapping
qname='local:Variant' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.Variant'/> <beanMapping
qname='local:Product' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.Product'/> <beanMapping
qname='local:TextLanguage' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.TextLanguage'/> <beanMapping
qname='local:Differences' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.Differences'/> <beanMapping
qname='local:UpdateResult' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.UpdateResult'/> <beanMapping
qname='local:testclass' xmlns:local='urn:codallocserver'
languageSpecificType='java:ro.csean.andrei.testclass'/> </deployment>
<<IMSTP.gif>>
