I am not sure , but,
I had a similar problem where axis tried to deserialize an exception A to
an exception B class,which end with same fault as you encounter.The
reason was that the QName of
the exceptions on the wsdd was shared , when I change it and gave each
exception a different QName
it all worked ok.
I don’t see any relation to OS on
this.
ofer
-----Original Message-----
From: Stefan Sobernig
[mailto:[EMAIL PROTECTED]
Sent: Saturday, June 19, 2004
11:59 PM
To: [EMAIL PROTECTED]
Subject:
java.lang.IllegalArgumentException > signature mismatch
Dear all,
I developped a set of two web services and deployed them successfully on my
win-based development
system (Tomcat 4 & axis 1.1). Afterwards I placed the two ws on my linux
production system running
them same environment und deployed them.
When trying to call on them, the first webservice and the method called show
the expected behaviour
and return a value. As for the second ws, the call of the method synchronousQuery(<<string>>,<<string>>)
results in a java.lang.IllegalArgumentException
("The arguments do not match the signature") shown below.
The nested information indicates that the exception is due to a ClassCastException.
An extensive search provides both evidence that this behaviour is caused by an
Axis bug which has already
been reported (see http://nagoya.apache.org/jira/browse/AXIS-1343) OR that this
might be due to (target)
namespaces being messed-up (see http://www.mail-archive.com/[EMAIL PROTECTED]/msg12307.html)
Nevertheless, the is no clear instruction on how to handle this problem.
Thank you for any suggestions/ hints!
Stefan S.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Tried to invoke method public java.lang.String
eduzon.EduzonSoapBindingImpl.synchronousQuery(java.lang.String,java.lang.String)
throws
java.rmi.RemoteException,org.elena.service.sqi.QueryModeNotSupportedException,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoValidQueryStatementException
with arguments java.lang.String,java.lang.String. The arguments do not
match the signature.; nested exception is:
java.lang.IllegalArgumentException:
[EMAIL PROTECTED]
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Tried to invoke method public java.lang.String
eduzon.EduzonSoapBindingImpl.synchronousQuery(java.lang.String,java.lang.String)
throws
java.rmi.RemoteException,org.elena.service.sqi.QueryModeNotSupportedException,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoValidQueryStatementException
with arguments java.lang.String,java.lang.String. The arguments do not
match the signature.; nested exception is:
java.lang.IllegalArgumentException:
[EMAIL PROTECTED]
faultActor:
faultNode:
faultDetail:
Tried to invoke method public java.lang.String
eduzon.EduzonSoapBindingImpl.synchronousQuery(java.lang.String,java.lang.String)
throws
java.rmi.RemoteException,org.elena.service.sqi.QueryModeNotSupportedException,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoValidQueryStatementException
with arguments java.lang.String,java.lang.String. The arguments do not
match the signature.; nested exception is:
java.lang.IllegalArgumentException:
[EMAIL PROTECTED]
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at
org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at
org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at
org.apache.axis.client.Call.invoke(Call.java:2553)
at
org.apache.axis.client.Call.invoke(Call.java:2248)
at
org.apache.axis.client.Call.invoke(Call.java:2171)
at
org.apache.axis.client.Call.invoke(Call.java:1691)
at
org.elena.service.sqi.target.QuerySoapBindingStub.synchronousQuery(QuerySoapBindingStub.java:614)
at
eduzon.test.EduzonTester.main(EduzonTester.java:92)
Tried to invoke method public java.lang.String
eduzon.EduzonSoapBindingImpl.synchronousQuery(java.lang.String,java.lang.String)
throws
java.rmi.RemoteException,org.elena.service.sqi.QueryModeNotSupportedException,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoValidQueryStatementException
with arguments java.lang.String,java.lang.String. The arguments do not
match the signature.; nested exception is:
java.lang.IllegalArgumentException:
[EMAIL PROTECTED]
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at
org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at
org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at
org.apache.axis.client.Call.invoke(Call.java:2553)
at
org.apache.axis.client.Call.invoke(Call.java:2248)
at
org.apache.axis.client.Call.invoke(Call.java:2171)
at
org.apache.axis.client.Call.invoke(Call.java:1691)
at
org.elena.service.sqi.target.QuerySoapBindingStub.synchronousQuery(QuerySoapBindingStub.java:614)
at
eduzon.test.EduzonTester.main(EduzonTester.java:92)