String[][] conversion [message #1708705] |
Sat, 19 September 2015 03:32 |
Gonzalo Urday Messages: 1 Registered: September 2015 |
Junior Member |
|
|
Hello. I am getting the error at the end of this message when I receive a ws payload. The error is generated because Axis can not process a String[][] returned by the web service. There is a bug reported in apache that you can read by googling the error message (this forum does not allow me to include the link from apache)
according to apache this affected v1.0 of the axis library, I have downloaded axis 1.4 and I still see the error? How can I be certain that I am using 1.4 in Eclipse or how can I install directly from apache 1.4 or if you have any other possible solution or suggestion I would certainly appreciate it.
Regards
Gonzalo
=============
- Could not convert [Ljava.lang.String; to bean field 'guidingInfo', type [Ljava.lang.String;
- Exception:
org.xml.sax.SAXException: argument type mismatch
java.lang.IllegalArgumentException: argument type mismatch
at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:157)
at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerImpl.java:249)
at org.apache.axis.encoding.ser.ArrayDeserializer.valueComplete(ArrayDeserializer.java:583)
at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:509)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.convergys.lvo.webservice.server.LVOWebServiceSendSoapBindingStub.sendSync(LVOWebServiceSendSoapBindingStub.java:806)
at com.convergys.lvo.webservice.server.LVOWebSvcSendAdaptorProxy.sendSync(LVOWebSvcSendAdaptorProxy.java:104)
at com.convergys.lvo.webservice.server.chicho_test.main(chicho_test.java:36)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.axis.utils.BeanPropertyDescriptor.set(BeanPropertyDescriptor.java:142)
at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarget.java:100)
... 14 more
|
|
|
Powered by
FUDForum. Page generated in 0.01333 seconds