Nothing afaik.  But the xml are equivalent.
Is that a real problem ?

On 12/5/06, bradtwurst <[EMAIL PROTECTED]> wrote:

Hello all again,

I am encountering an issue that I am not sure how to solve.

I am creating the following SOAP XML as a string and I am setting to the
context of a message via the command "message.setContent(new
StringSource(xmlString));".

--------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?><Envelope
xmlns="http://schemas.xmlsoap.org/soap/envelope/";><Body><msgResults><MsgResult>
  <msgId>000041</msgId>

<operatingData><![CDATA[BOARDCODE=8324816CGN&THRESHOLD.VALUE=10]]></operatingData>
  <success>true</success>
  <errors/>
</MsgResult></msgResults></Body></Envelope>
--------------------------------------------------------

If I deliver the message to a fileWriter endpoint, the output is correct
with the CDATA intact.

If I deliver the message to a external http endpoint (using the http
component) with the following endpoint

--------------------------------------------------------
        <http:endpoint service="test:status-httpProvider-service"
                endpoint="status-httpProvider-endpoint" role="provider"
                locationURI="http://sw:8081/"; />
--------------------------------------------------------

The CDATA section is changed to:

--------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?><Envelope
xmlns="http://schemas.xmlsoap.org/soap/envelope/";><Body><msgResults><MsgResult>
  <msgId>000041</msgId>
  <operatingData>BOARDCODE=8324816CGN&amp;THRESHOLD.VALUE=10</operatingData>
  <success>true</success>
  <errors/>
</MsgResult></msgResults></Body></Envelope>
--------------------------------------------------------


Any suggestions as to what I might be doing incorrectly.

Thanks,
James
--
View this message in context: 
http://www.nabble.com/ServiceMix-and-cdata-in-SOAP-message-tf2763414s12049.html#a7705113
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to