Hello,

My axis2 WS is working 99% perfectly. Anyway when I want to return a quite long 
XML document as CDATA the response document is mysteriously truncated just in 
the middle of some word. That is, something that should be

<soapsomething>
<myTag>
<!CDATA[myXMLDocument]]>
</myTag>
<soapsomething>

On the client became

<soapsomething>
<myTag>
<!CDATA[myXMLDoc
</myTag>
<soapsomething>

What mostly intrigue me is that such situation happen only for some XML 
documents!
To be more specific I create both the WSDL and the classes through a MAVEN 
plugin so I just add the document as String to the Java response object created 
by axis, that is, I do not manipulate the XML but just the java object. In this 
way I can see that the document is correctly added to the response (the XML 
document is all and correctly into the CDATA), then it enters the AXIS internal 
code and then the client receives such truncated response.

I am using AXIS2 (1.5) running into JBoss

Thanks
Maurizio

-- 
Scanned by iCritical.

Reply via email to