Camel containing soapjaxb dataformat cannot be started in fuse

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content