axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ofer Baranes" <of...@bitband.com>
Subject RE: java.lang.IllegalArgumentException > signature mismatch
Date Sun, 20 Jun 2004 07:31:58 GMT
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:stefan.sobernig@wu-wien.ac.at] 
Sent: Saturday, June 19, 2004 11:59 PM
To: axis-user@ws.apache.org
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/axis-user@xml.apache.org/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.QueryModeNotSupportedExce
ption,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoV
alidQueryStatementException with arguments
java.lang.String,java.lang.String.  The arguments do not match the
signature.; nested exception is: 
        java.lang.IllegalArgumentException:
java.lang.ClassCastException@498713
 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.QueryModeNotSupportedExce
ption,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoV
alidQueryStatementException with arguments
java.lang.String,java.lang.String.  The arguments do not match the
signature.; nested exception is: 
        java.lang.IllegalArgumentException:
java.lang.ClassCastException@498713
 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.QueryModeNotSupportedExce
ption,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoV
alidQueryStatementException with arguments
java.lang.String,java.lang.String.  The arguments do not match the
signature.; nested exception is: 
        java.lang.IllegalArgumentException:
java.lang.ClassCastException@498713
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:260)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:169)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali
zationContextImpl.java:1015)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValid
ator.java:1550)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatc
h(XMLDocumentScanner.java:1204)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.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(Deserializatio
nContextImpl.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(Query
SoapBindingStub.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.QueryModeNotSupportedExce
ption,org.elena.service.NoSuchSessionException,org.elena.service.sqi.NoV
alidQueryStatementException with arguments
java.lang.String,java.lang.String.  The arguments do not match the
signature.; nested exception is: 
        java.lang.IllegalArgumentException:
java.lang.ClassCastException@498713
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:260)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:169)
        at
org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseriali
zationContextImpl.java:1015)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValid
ator.java:1550)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatc
h(XMLDocumentScanner.java:1204)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScan
ner.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(Deserializatio
nContextImpl.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(Query
SoapBindingStub.java:614)
        at eduzon.test.EduzonTester.main(EduzonTester.java:92)

Mime
View raw message