bsnyder wrote:

> According to the error above, it appears that the XML you are sending
> contains an illegal processing instruction. Please paste a copy of the
> full XML request that is being submitted.
> 
> Bruce

I tried to inpect more in detail:

Before entering MyEndpoint.processInOut(), XML MyEndpoint line is added
before message I sent.
That is:
 Message sent:
 <hello>hello</hello>
 Acutual string:
 <?xml version='1.0' .... ><hello>hello</hello>
 
As a result, return message string from MyEndpoint.processInOut() is :
 <hello>Hello World! Message <?xml version='1.0' .... ><hello>hello</hello> 
contains ... bytes</hello>.

Then, this produces ParsingException.

It seems for me that some module transforms input message into valid xml
string by adding xml declaration  line to it.

If above comprehension is right, to fix the problem, we should modify
MyEndpoint.processInOut() to process input message as XML string (not as
simple string).

Is this right?

Thanks,
--
tchiba

-- 
View this message in context: 
http://www.nabble.com/Problem-in-running-hello-world-tutorial-tf4127009s12049.html#a11856597
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to