You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by prashant_4s <pr...@four-soft.com> on 2008/12/10 13:08:35 UTC

setting nillable property from POJO

Hi,
I have a simple POJO with properties as follows:

public String s;
public int k = 0;

In WSDL file, i see these variables as :
<xs:element name="s" nillable="true" type="xs:string"/>
<xs:element name="k" type="xs:int"/>

Is it possible to control the nillable property? I would like to have String
data type values with nillable property = false and int dataypes as nillable
= true

Also, axis2 automatically generates wsdl file for the service deployed in
tomcat. Can i force axis to use the wsdl file i generate instead of it
generating automatically.

Regards,
Prashant

-- 
View this message in context: http://www.nabble.com/setting-nillable-property-from-POJO-tp20934011p20934011.html
Sent from the Axis - User mailing list archive at Nabble.com.