I am trying to return a bean as a result of a web-service call. Using
TCP-monitor, I see that the XML
response on the wire is correct. However, the client bombs out with the
following stack-trace. To me it appears it cannot convert a String to a
String ?
Any ideas ?
Could not convert java.lang.String to bean field 'recipient', type
java.lang.String Exception:java.lang.NullPointerException
at
org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarge.java:1
31)
at
org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerIpl.java
:258)
at
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl
....