users@jax-rpc.java.net

JAX-RPC Bug with Default Attributes

From: Sami Lakka <sami.lakka_at_watechnologies.com>
Date: Fri, 18 Feb 2005 14:06:31 +0200

Hi,

 

I have a wsdl where some attributes has a default value:

 

<s:element name="SubscriptionPolledRefresh">

        <s:complexType>

          <s:attribute default="true" name="ReturnAllItems" type="s:boolean"
/>

        </s:complexType>

</s:element>

 

Jax-rpc doesn't seem to care about these default values, so that when the
client doesn't

pass the ReturnAllItems- at all, the jax-rpc binds the value to false.

 

 

 

Best Regards,

- Sami Lakka