Hi,
I've come across a problem trying to use wsdl-cxf in mule (cxf 2.1.2) when
DynamicClientFactory tries to generate the client:
Root Exception stack trace:
javax.xml.bind.JAXBException: "some.package.service" doesnt contain
ObjectFactory.class or jaxb.index
at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:277)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:256)
Now I've hunted around this forum and others for clues as to what could be
causing this, but I don't seem to be getting anywhere.
I've made sure javac is on the PATH, but this seems to make no difference.
Can anyone help me with this please? I'm not sure where to start - can
anyone tell me what this is a symptom of? I realise that I'm using mule and
not cxf directly, so that could be a factor.
Kind regards
Nick Cotter
--
View this message in context:
http://www.nabble.com/JAXBException...-doesnt-contain-ObjectFactory.class-or-jaxb.index-tp23355157p23355157.html
Sent from the cxf-user mailing list archive at Nabble.com.