You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org> on 2005/04/15 17:47:20 UTC

[jira] Created: (AXIS-1931) Webservice call results in error "does not match signature"

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


[jira] Updated: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=all ]

Guenther Zwetti updated AXIS-1931:
----------------------------------

    Attachment: ServiceWabco.jws

The webservice

> 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
>      Fix For: beta-1
>  Attachments: ServiceWabco.jws
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=all ]

Guenther Zwetti updated AXIS-1931:
----------------------------------

    Attachment: wsdl.xml

the wsdl file 

> 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
>      Fix For: beta-1
>  Attachments: ServiceWabco.jws, wsdl.xml
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=comments#action_63132 ]
     
Guenther Zwetti commented on AXIS-1931:
---------------------------------------

Btw: As you can see I've upgraded to axis 1.2RC3. (instead of 1.1) and
now I can not reproduce this error. Are there any major differences to 1.1
related to this problem?

> 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
>      Fix For: beta-1
>  Attachments: ServiceWabco.jws, wsdl.xml
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=comments#action_63131 ]
     
Guenther Zwetti commented on AXIS-1931:
---------------------------------------

Hi!

As you can see I have added two attachements holding the java-webservice (jws file) and the 
wsdl file automatically created by calling http://localhost:8080/wabcoev/ServiceWabco.jws?wsdl.
The client is a delphi client calling this service and the service itsself has one input parameter
representing an xml input and one return string xml value representing the result of an operation.
Unforntunately I can not post the rich client due to restrictions of my company. 
In just a few cases the call results in the error I've already mentioned. As there are neither complex types
nor manual deployment (I just use jws files) - the only parameters handled are strings - I really don't understand
why this could happen.
Additionally both - client and webservice - are running on the same platform (win xp with sp2).
The input xml parameter of the method processData(...) is for example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<wabco><batchjobs seq="WSP_Batch2" cmd="START_TEST"><year>2003</year></batchjobs></wabco>

Any ideas? Anything wrong in the wsdl automatically created by axis?
Thanks for any help in advance.


> 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
>      Fix For: beta-1
>  Attachments: ServiceWabco.jws, wsdl.xml
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Guenther Zwetti (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=comments#action_63264 ]
     
Guenther Zwetti commented on AXIS-1931:
---------------------------------------

Hi!

I already got the problem with axis 1.2RC3 (5 minutes ago but the first time ...)
Here's a stacktrace:

- Tried to invoke method public java.lang.String ServiceWabco.processData(java.lang.String) with arguments java.lang.String.  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)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:384)
	at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:281)
	at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
	at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
	at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
	at java.lang.Thread.run(Thread.java:534)

> 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
>      Fix For: beta-1
>  Attachments: ServiceWabco.jws, wsdl.xml
>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1931) Webservice call results in error "does not match signature"

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1931?page=all ]
     
Davanum Srinivas resolved AXIS-1931:
------------------------------------

     Resolution: Cannot Reproduce
    Fix Version: beta-1

Please submit a full test case to recreate the problem.

thanks,
dims

> 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
>      Fix For: beta-1

>
> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira