Please log a JIRA bug and upload your wsdl.

thanks,
dims

On 3/20/07, Mariusz Woloncewicz <[EMAIL PROTECTED]> wrote:
Hello,

I have a major problem with ADB databinding. Why does it generate empty
attributes for optional schema attributes? For example, a following
xmlSchema declaration:
<xs:element name="session">
    <complexType>
        <xs:attribute name="timeout" type="xs:int"/>
        <xs:attribute name="id" type="xs:string"/>
    </xs:complexType>
</xs:element>


results with <session timeout=0 id=""/> in a soap message even when the
attributes were not explicitly set in the code.
With XMLBeans just empty <session> element goes on the wire by default and
this is exactly what I need.

Im using large schema with numerous optional attributes and such a behaviour
is not acceptable for me. Is there any way to change it?

Thanks,
Mariusz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to