Thanks, I managed to get it working with http:consumer (didn't know this
existed). With http:endpoint it failed always with 404.

However, when trying to send a result (using the source code of the Echo or
Listener bean examples from the docs, and without writing a marshaller
class), I get a:

com.ctc.wstx.exc.WstxIOException: Stream closed
        at 
com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
        at 
com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:660)
        at
com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:331)
        at
org.apache.servicemix.jbi.jaxp.StAXSourceTransformer.toXMLStreamReader(StAXSourceTransformer.java:86)
        at
org.apache.servicemix.http.endpoints.DefaultHttpConsumerMarshaler.sendOut(DefaultHttpConsumerMarshaler.java:78)
        at
org.apache.servicemix.http.endpoints.HttpConsumerEndpoint.sendOut(HttpConsumerEndpoint.java:392)
        (... more stuff ...)


This only happens with the in-out MEP, in-only works fine.

Cheers
-- 
View this message in context: 
http://www.nabble.com/%3A---Can%27t-get-a-simple-connection-to-work-tp14903524s12049p14916813.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to