What did the target component put in the Out response ?
If you send a copy of the In message, it may already be consumed (being an
xml document based on the socket input stream), hence the Stream Closed
exception.

On Jan 17, 2008 12:24 PM, intalio314 <[EMAIL PROTECTED]> wrote:

>
> 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.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to