Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Serialization Error

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

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();
while(keyIter.hasNext()){
List list = (List) keyIter.next();
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.

Thanks.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please be careful not to post the same question more than once.
This can spread the conversation amoung multiple threads; causing confusion.
 
    Bookmark Topic Watch Topic
  • New Topic