Dear all,

i´m using axis for transferring xml based data. Now i got the problem, that this data possibly contains a CDATA section. After looking around, i found a partial answer here:

http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200904.mbox/%3c781947940.1240056795312.javamail.j...@brutus%3e

Ok, this hints are quiet useful. With the help of setting the coalescing flag of the XMLInputFactory to false, i am able to store the CDATA section correctly in my OMElement. After that, i transfer it using ServiceClient.sendReceive(OMElement). And here is the next problem. After transmitting the OMElement, the CDATA fragment is gone at the receivers side and all XML related characters are escaped, e.g. < by &lt;.

The bug report says, that i have to edit the global property file of the factories...but where should they be stored? Do i have to create it? How can i solve this problem?

It would be nice, if anybody could help me with this issue.

Best,
Florian

_____________________________
Dipl. Inf. Florian Stegmaier
Chair of Distributed Information Systems
University of Passau
Innstr. 43
94032 Passau

Room 248 ITZ
Tel.: +49 851 509 3063
Fax: +49 851 509 3062
steg...@dimis.fim.uni-passau.de
_____________________________
Quote of the week: Computer. This is a Class-A compulsory directive. Compute, to the last digit, the value of pi. (Spock)






Reply via email to