• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Jaxb marshalling inside EJB

 
Melody Siu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am having some problem (class cast exception) when I try to marshall an object into its xml representation (all the object classes are generated by jaxb that comes with jwsdp1.3) inside an EJB under WSAD 5.1.
I think it's complaining that the object is not a jaxbobject but the object
is implementing that class though.
However, when I try the same code in a web container (Web app) under WSAD 5.1, the problem does not existed.
Any idea?
Mel
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!