Thank you Gordon. You're very kind. I'm using axis2 1.4.1. When a setXXX(String) is invoked the exception is thrown, even when a String value is setted.
Regards, Dani -----Mensaje original----- De: Gordon Ross [mailto:gr...@ucs.cam.ac.uk] Enviado el: viernes, 25 de febrero de 2011 1:23 Para: java-user@axis.apache.org Asunto: RE: Error in Axis2 client and Wsdl2java tool I've done a little digging, and made some progress. The problem appears to be in the ADB databinding code. If I change to using xmlbeans, then everything runs fine. (Oh, and then I change all my client code. Grrrrr.....) I've created a JIRA for this: https://issues.apache.org/jira/browse/AXIS2-4964 GTG ________________________________________ From: Daniel Sanchez Gonzalez [dsanc...@at4wireless.com] Sent: 24 February 2011 13:55 To: java-user@axis.apache.org Subject: RE: Error in Axis2 client and Wsdl2java tool Hello, Does anybody know about this problem? Thanks in advance. ________________________________ De: Daniel Sanchez Gonzalez Enviado el: martes, 22 de febrero de 2011 18:52 Para: 'java-user@axis.apache.org' Asunto: Error in Axis2 client and Wsdl2java tool Hello, I've created a WS client by using axis2's wsdl2java tool. The next error occurs when invoking this client: org.apache.axis2.AxisFault: No Deserializer found to deserialize a ':paramName' using encoding style 'null'. [java.lang.IllegalArgumentException] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:512) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at ....... There is no problem when using SoapUI. The request in soapUI is like this <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:myname="ServiceName"> <soapenv:Header/> <soapenv:Body> < myname:operationName soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <paramName xsi:type="xsd:string">ParamValue</paramName> <paramName2 xsi:type="xsd:string">ParamValue2</paramName2> </myname:existeDVA> </soapenv:Body> </soapenv:Envelope> but when I send the request with my client, it's different: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns1:operationName xmlns:ns1="ServiceName"> <paramName>ParamValue</paramName> <paramName2>ParamValue2</paramName2> </ns1:operationName> </soapenv:Body> </soapenv:Envelope> I've made some modifications in OperationName class and it works, but I have to touch the automatically generated class. This is one of my corrections (when writting paramName): xmlWriter.writeAttribute("xsi:type", "xsd:string"); What can be wrong? --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org -- __________ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 5905 (20110224) __________ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com __________ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 5905 (20110224) __________ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org