The problem was with the Date and time, Axis was trying to use the Calendar Serializer and de-serializer, but I think the format of the incoming data was a bit weird hence it could not deserialize it correctly, I changed it to be a "String" and it worked.. partially .
Now the problem that I am running into is I have to register deserializers for the Arrays of Objects.
My respose has several things like this
<requests xsi:type="Array" arrayType="SearchRequest[1]"> and
<results xsi:type="Array" arrayType="SearchView[3]">
If I didn't register deserializers for "Array"t came back with
faultString: org.xml.sax.SAXException: No deserializer for Array
So then I did register it like this
_call.registerTypeMapping(SearchRequest[].class,new QName("Array"), new ArraySerializerFactory(), new ArrayDeserializerFactory());
and
_call.registerTypeMapping(SearchView[].class,new QName("Array"), new ArraySerializerFactory(), new ArrayDeserializerFactory());
But now the problem is that I have several Array, with different types of Objects being returned. And since the QName is "Array" it's registering only a single Deserializer for all the arrays.
How do I register individual Arrays of different objects, given my reponse looks likt that...
Don't know if I am on a totally different track of going mad.. but any ideas would be wonderful..
Thanks,
Parul
- No serializer found for class Rajagopal
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Tony Blair
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class Vivek Nagulapati
- Re: No serializer found for class Parul . Joshi
- Re: No serializer found for class ian_d_stewart
- No serializer found for class christopher justin
- Re: No serializer found for class Airline Pedestal
- RE: No serializer found for class Hari Lakshmanan
- RE: No serializer found for class Hari Lakshmanan
- RE: No serializer found for class christopher justin
- Re: No serializer found for class christopher justin