Hallo, my service throws IllegalArgumentExceptions and I don't know why. So I used the two WSDL tools to get a very simple service offering a method that takes a long and a boolean and prints out their values on the console. But it doesn't work either, the boolean can't be deserialized somehow! I have tried the document/literal and document/encoded style.
Is their someone who can tell me what I'm doing wrong? ;-) So long, Dave -------------------- System -------------------- - Axis 1.2RC2 - Tomcat 5 for Java WSDP 1.5 - Windows XP - JDK 1.5 -------------------------- Axis' log file (extract) long = 1, boolean = true -------------------------- 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::endElement(, multiRef) 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(popHandler00) 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popping handler [EMAIL PROTECTED] 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(setValueInTarget00) 52546 [http8080-Processor25] DEBUG rg.apache.axis.encoding.DeserializerImpl - Set value 1 in target [EMAIL PROTECTED] 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(deserPutValueDebug00) 52546 [http8080-Processor25] DEBUG rg.apache.axis.encoding.DeserializerImpl - Put of deserialized value= 1 for id= id0 52546 [http8080-Processor25] DEBUG org.apache.axis.utils.NSStack - NSPop (32) 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popped element stack to org.apache.axis.message.SOAPBody:Body 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::endElement() 52546 [http8080-Processor25] DEBUG org.apache.axis.utils.NSStack - NSPush (32) 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::endElement(, in0) 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(popHandler00) 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popping handler [EMAIL PROTECTED] 52546 [http8080-Processor25] DEBUG org.apache.axis.utils.NSStack - NSPop (32) 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Popped element stack to org.apache.axis.message.SOAPEnvelope:Envelope 52546 [http8080-Processor25] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::endElement() 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(convert00) 52546 [http8080-Processor25] DEBUG org.apache.axis.utils.JavaUtils - Trying to convert java.lang.Long to long 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(value00) 52546 [http8080-Processor25] DEBUG org.apache.axis.providers.java.RPCProvider - value: 1 52546 [http8080-Processor25] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(dispatchIAE00) 52546 [http8080-Processor25] INFO org.apache.axis.providers.java.RPCProvider - Tried to invoke method public void test.server.TestSoapBindingImpl.setVars(long,boolean) throws java.rmi.RemoteException with arguments java.lang.Long,null. The arguments do not match the signature. java.lang.IllegalArgumentException 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:585) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:384 ) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:2 81) 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:450) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java: 301) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) ... -------------------- STDERR -------------------- Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Tried to invoke method public void test.server.TestSoapBindingImpl.setVars(long,boolean) throws java.rmi.RemoteException with arguments java.lang.Long,null. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:mobildave Tried to invoke method public void test.server.TestSoapBindingImpl.setVars(long,boolean) throws java.rmi.RemoteException with arguments java.lang.Long,null. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:2 21) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:12 8) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo ntext.java:1083) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unkn own Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElem ent(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragm entContentDispatcher.dispatch(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanD ocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext .java:226) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645) at org.apache.axis.Message.getSOAPEnvelope(Message.java:424) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChe cker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173) at org.apache.axis.client.Call.invokeEngine(Call.java:2719) at org.apache.axis.client.Call.invoke(Call.java:2702) at org.apache.axis.client.Call.invoke(Call.java:2378) at org.apache.axis.client.Call.invoke(Call.java:2301) at org.apache.axis.client.Call.invoke(Call.java:1758) at test.server.TestSoapBindingStub.setVars(TestSoapBindingStub.java:100) at test.client.TestClient.main(TestClient.java:37)