0 Replies Latest reply on Sep 26, 2006 5:03 AM by ramana

    wscompile : generate wsdl for all simple types with minOccur

    ramana Newbie

      How to generate also minOcccurs=0 for all simple/complex types in wsdl.?

      I am using wscompile to generate wsdl from java in our environment.
      I am severely facing problems in keeping compatible with my old versions of applicaitons. Because

      lets say, I have a complext type as follows generated by wscompile

      <complexType name="Address">
       <element name="alive" type="boolean"/>
       <element name="name" nillable="true" type="string"/>
       <element name="street" type="string"/>
       <element name="zip" type="int"/>

      all simple types are generated with nillible true. Thats absolutely fine. But what about minOccurs=0. How can I generate them?
      If in future, ever want to remove that simple type. I could not.Becuase older clients are not compatible with newer appication.

      Please help me out in this regards,

      I posted it some days ago in jbossws forum. But no one has replied to my post. So I am cross posting it again here. sorry for cross posting.