• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis + CGLIB = BeanSerializerFactory problems

 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there! I've my WS configured My wsdd looks like this:

Well, the problem is that's not Assinante who's being transfered over the wire, but an enhanced version by CGLIB (it was loaded by Hibernate)

So I end up with this:


Any ideas?

Regards

[ January 30, 2006: Message edited by: Vinicius Carvalho ]
[ January 30, 2006: Message edited by: Vinicius Carvalho ]
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That begs the question: If the WS is written for receiving one kind of object, why are you trying to send a different kind? Does the WS work if you send the correct type of object?
 
Vinicius Carvalho
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, my mistake, I know they're different objects, my question is: how could one solve this? My DAO will always return an enhanced object version, how can I transform it on plain object again?

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic