-
1. Re: Problems with missing minOccurs="1" in generated wsdl
kdesineedi Dec 29, 2011 2:17 AM (in response to fghj5678)Hi All,
We are facing the same problem.Could you please help us with any solution?
We are using jbossws-native-bin-dist for jboss-4.2.3.GA on JDK1.5.
nillable/minOccurs="1" seems to be ignored.
Saludos
Kdesineedi
-
2. Re: Problems with missing minOccurs="1" in generated wsdl
fghj5678 Dec 29, 2011 3:27 AM (in response to kdesineedi)Hi,
See 2.2.1 http://www.w3.org/TR/xmlschema-0/
"The default value for both the minOccurs and the maxOccurs attributes is 1."
I guess they just skip it as it is deafult..?
Regards
/Mats
-
3. Re: Problems with missing minOccurs="1" in generated wsdl
kdesineedi Dec 29, 2011 3:51 AM (in response to fghj5678)Hi Mats,
Thanks for the quick response.
In that case when we send a request with the mandatory field removed,we expect a fault to be thrown but the proper response is sent without any fault.
Did you anytime face such an issue with JBOSS-WS?
The WSDL generated seems to change from the original WSDL.
Please refer this post of mine for more details:
http://community.jboss.org/thread/176699?tstart=0
Kindly suggest if you have any idea.
Saludos
kdesineedi
-
4. Re: Problems with missing minOccurs="1" in generated wsdl
romyo0o Aug 26, 2012 7:39 AM (in response to kdesineedi)I have the same problem !!!
-
5. Re: Problems with missing minOccurs="1" in generated wsdl
romyo0o Sep 17, 2012 5:03 AM (in response to fghj5678)I found that minOccurs default value is 1 so it's ignored.