[jboss-user] [EJB 3.0] - wscompile : generate wsdl for all simple types with minOccur

jelda do-not-reply at jboss.com
Tue Sep 26 05:04:23 EDT 2006

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,

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. 


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

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

More information about the jboss-user mailing list