Webservice call results in error "does not match signature"
-----------------------------------------------------------
Key: AXIS-1931
URL: http://issues.apache.org/jira/browse/AXIS-1931
Project: Axis
Type: Bug
Environment: Win XP SP2, j2sdk1.4.1 or 1.4.2, axis 1.1, tomcat 4.1
Reporter: Guenther Zwetti
Calling a java webservice from a delphi rich client
public String processData(String xml)
I *** sometimes *** get the following error:
The arguments do not match the signature.
java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
As this method only uses Strings as input and output parameters I do not
suppose this to be a serialization/deserialization error.
To handle different requests both, input and output string represent xml
documents holding request and response parameters.
Unfortunately the call succeeds in most cases. Only a few times this error
occurs.
Does anybody have any ideas why this happens or how it can be avoided?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira