Attribute encoding is turned of because I was lead to believe attributes are not allowed in SOAP encoding.
-- Tom Jordahl Macromedia -----Original Message----- From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:57 PM To: [EMAIL PROTECTED] Subject: Question about serialization of attributes (Glen & Tom) I modified the comprehensive test in my sandbox to exploit the attribute support. The test works, but I the properties that I marked as attributes are still sent over the wire as elements. Could you explain why you turned off the serialization of attributes for soap encoding? I looked in the SOAP 1.1 spec, and I don't see this restriction. Here is the code at the beginning of the BeanSerializer.serialize method: if (isSOAP_ENC) { // SOAP encoding doesn't allow attributes context.startElement(name, attributes); } else { // Check for meta-data in the bean that will tell us if any of the // properties are actually attributes, add those to the element // attribute list Attributes beanAttrs = getObjectAttributes(value, attributes); context.startElement(name, beanAttrs); } Thanks, Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115)