> Because the body element and its contents are inside the envelope's > root element. That is, this is a SOAP/XML issue, not an Axis issue. > And if you're sending XML, you should parse it to ensure > well-formedness or you'll break your receiver.
I understand that it is part of the SOAP XML structure, but the parsing done by Axis is inefficient due to generation of intermediate DOM objects that are a major cause of performance degredation and are absolutely redundant since there are other mechanisms of gettting data out of a payload and should be left to the business implementation to check for well-formedness. > The MIME people got this right a long time ago. If you don't want to > parse a SOAP payload, don't put it in a SOAP envelope. I would use > SwA, or multipart mime. CDATA is a hack. > CDATA is not even to considered an option since the payload will not support charset outside of ISO8859 during the parse routines of a UTF-8 charset.