DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14989>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14989

Promote encoding style from first body element to <soapenv:Body>





------- Additional Comments From [EMAIL PROTECTED]  2002-12-03 08:19 -------
On reviewing this there are two missing pieces. One is that multiRefs are
specially encoded within SerializationContextImpl and are not treated as having
a parent. This means they do no make use of the existing encoding setting,
though they do use the namespace declaration. As far as I can see fixing this
requires a change to the SerializationContext interface, to pass in a parent
element on the outputMultiRefs call. I don't feel I can make this change, since
it's a published Axis interface.

The other missing piece is that this does nothing about the namespace
declaration(s) for the types used by multiRefs. Ideally the namespace
declarations for these should also be promoted to the <soapenv:Body> element. I
think this information (the required namespaces) is probably available when
generating the <soapenv:Body>, but I don't know where to access it. Someone more
familiar with this area of the code should review and improve this simple patch
to cover these other areas as well, since the net result will be a substantial
size reduction for messages with multiRefs.

Reply via email to