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(Out InAxisOperation.java:370) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:416) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.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? Thanks in advance. Regards, Dani
