bsnyder wrote:
>
>
>>>
>>> ERROR - HttpComponent - Error processing exchange
>>> InOut[
>>> id: ID:massive-47158-1180962021093-11:0
>>> status: Active
>>> role: provider
>>> service: {http://tapestry.cgi.com/smix}NSRService
>>> endpoint: myProvider
>>> in: <?xml version="1.0" encoding="UTF-8"?><hello>Testing</hello>
>>> ]
>>> com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
>>> at [row,col {unknown-source}]: [1,0]
>
>> This error usually means that you have extraneous characters in the
>> prolog - notice it says row 1, column 0. In my experience, this can
>> be, and oftentimes is, invisible characters in the prolog.
>
>
The prolog in this case is being added by ServiceMix when I make a call to
sendSync, such as
in.setContent(new StringSource("<hello>Testing</hello>"));
exchange.setInMessage(in);
sendSync(exchange);
So I am not seeing how extraneous characters are getting added in.
--
View this message in context:
http://www.nabble.com/question-about-http-provider-tf3846635s12049.html#a10955976
Sent from the ServiceMix - User mailing list archive at Nabble.com.