Virgil,

Both the ObjectFactory class and the jaxb.index file are generated by JAXB 2. They are required by JAXB to load the generated classes at runtime. So, the message basically tells you that the generated classes are not available in the classpath.

Andreas

On 10 Jan 2008, at 19:33, Trasca Virgil wrote:

Hello,

I have a service which is exposing some classes which are mapped to an external xml file with jaxb2. I want to use jaxb2 for getting/ writting values to my xml but when I send data on http for webservice I want to use the axis2 adb binding. My method that is exposing xml with jaxb2 is working outside axis2.

But when I deploy this method as a web service and I call the web service I get "javax.xml.bind.JAXBException: "burster.generated.jaxb2" doesnt contain ObjectFactory.class or jaxb.index".

What is this exception? What is jaxb.index? I want to use ADB as binding over the htpp.

Thank you,
Virgil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to