Camel containing soapjaxb dataformat cannot be started in fuse
Issue
I'm using following camel route within a blueprint.xml:
<route id="unmarshal">
<from uri="direct:start"/>
<unmarshal>
<soapjaxb contextPath="test.mypackage" />
</unmarshal>
<to uri="log:anything"/>
</route>
Feature "camel-soap" is installed. Nevertheless when starting the route in Fuse I get the error:
javax.xml.bind.JAXBException: "org.xmlsoap.schemas.soap.envelope" doesnt contain ObjectFactory.class or jaxb.index
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_80]
at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_80]
Do I need to import org.xmlsoap.schemas.soap.envelope and if so how, using the maven felix plugin?
Environment
- JBoss Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
