File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Serialization Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic

Serialization Error

Pinik Tilli

Joined: Jul 19, 2006
Posts: 19

I am getting an error when i invoke the operation in a webservice.
one of my webservice method is shown below. This method returns Object[]. When i invoke this method i am getting the error as discussed before.
Error --- no serializer is registered for (class org.apache.commons.beanutils.BasicDynaBean, null).

// queryValueMap contains{key - type @List , value -type @List}
// This hashmap value is the list object which contains BasicDynaBean objects.

public Object[] getRowValues() {
Object[] a =null;
Iterator keyIter = queryValueMap.keySet().iterator();
List list = (List);
List valueList = (List) queryValueMap.get(list);

a = valueList.toArray();

return a;

Any help is appreciable. And if i need to Serialize and deserialize how can i do that.
Hope to get some solution.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Please be careful not to post the same question more than once.
This can spread the conversation amoung multiple threads; causing confusion.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Serialization Error
It's not a secret anymore!