Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Late Editions  RSS feed

 
Sahil Singh
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
Have a q.
I am adding a Bean(B) to my Application ,where this bean extends from
another Bean(A)(which is already a part of my application).
Next i am passing this bean - object to the existing Bean(A) for further processing.
Both implement Serializable interface.

But the web-service just blows up giving the following error :-
[SOAPException: faultCode=SOAP-ENV:Server; msg=[Attributes={}] [faultCode=SOAP-ENV:Server] [faultString=java.lang.IllegalArgumentException: No Serializer found to serialize Bean(B) ......
Can i first of all add a bean like above??

Appreciate Your responses
Thanks in advance,
Sahil.
[ December 02, 2003: Message edited by: Sahil Singh ]
 
Matt R. Hansen
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sahil,
I am not sure if you pass a subclass unless it is mapped in your mapping registry.
Assuming that Bean(A) is working, have you mapped the Bean(B) in your mapping registry?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!