2 Replies Latest reply on Jan 7, 2007 11:00 AM by pkovgan

    wscomple--> generate wsdl for all simpletype minOccurs=0

    jvramana

      Hi,
      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









      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,

      Regards,
      Jelda

        • 1. Re: wscomple--> generate wsdl for all simpletype minOccurs=0
          jvramana

          Hi,
          Sorry here it is again. Can not edit my first post...

          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">
           <sequence>
           <element name="alive" type="boolean"/>
           <element name="name" nillable="true" type="string"/>
           <element name="street" type="string"/>
           <element name="zip" type="int"/>
           </sequence>
          </complexType>

          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,

          Regards,
          Jelda


          • 2. Re: wscomple--> generate wsdl for all simpletype minOccurs=0
            pkovgan

            I need an answer to this question too!!!

            Can somebody help ???

            Thanks!