users@jaxb.java.net

Unmarshall not working after compilation via ant javac

From: Andrew Mansfield <AMansfie_at_globeop.com>
Date: Tue, 16 Jun 2009 15:20:41 +0100

Hi,

I have an odd problem.

I have a collection of objects that are loosely coupled using a
TypeAdapter and an Interface. The collection can contain any type of
object but they all must inherit from the super class that contains the
TypeAdpater. I use xsi:type= etc. to define the actual implementation
via the xml. All objects marshall and unmarshall perfectly apart from
one type. This single object implementation is also a web service
definition and contains the annotations for this i.e. @WebService,
@WebMethod etc.

The strange thing is when I marshal and unmarshall when running locally
via my IDE it works fine. This is using the IDE compiled class files in
my local bin directory. When I compile the same code via the ant Javac
task and try and run the same example it cannot unmarshall the xml ???

Has anyone come across this before?

Regards,
Andy



 
--------------------------------------------------------------------------
This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.(y)