• Post Reply 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Axis + CGLIB = BeanSerializerFactory problems

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Legend has it that if you rub the right tiny ad, a genie comes out.
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic