Problem: WSDL generation for JPA enhanced classes

2009-03-16 Thread Phili
Hi, I'm trying to deliver jpa entity classes through a web-service. It works fine unless I use build-time enhanced classes: The WSDL generation fails at deploy-time because of missing jpa-classes: 14:22:00,743 ERROR [WsdlGenerator] WSDL generation process failed 14:22:00,743 ERROR

CMP exception: Attempt to cast instance xxx [java.lang.String] to PersistenceCapable failed. Ensure that it has been enhanced.

2009-03-10 Thread Phili
Hi i've been playing around with a test project consisting of a cmp entity bean and a simple 1-method-webservice trying to persist on instance of that entity. deployment of the classes went well but i couldnt get an entity-instance persisted. the entity class look something like this