[ 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
