[jboss-user] [JBossWS] - Re: wscomple--> generate wsdl for all simpletype minOccurs=0

jelda do-not-reply at jboss.com
Thu Sep 7 05:15:39 EDT 2006


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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970035#3970035

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970035



More information about the jboss-user mailing list