Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Axis + CGLIB = BeanSerializerFactory problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis + CGLIB = BeanSerializerFactory problems" Watch "Axis + CGLIB = BeanSerializerFactory problems" New topic
Author

Axis + CGLIB = BeanSerializerFactory problems

Vinicius Carvalho
Ranch Hand

Joined: Dec 07, 2004
Posts: 61
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
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
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?


Ping & DNS - my free Android networking tools app
Vinicius Carvalho
Ranch Hand

Joined: Dec 07, 2004
Posts: 61
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis + CGLIB = BeanSerializerFactory problems