Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
1.7.6
-
None
-
None
-
axis 2 and tomcat and windows and unix as well
-
Important
Description
I am creating java2wsdl as web service and create method in service add(int i, int j), I want to create int i and int j as optional , I dont want to make mandatory. I verified and searched lot of foroums and no of website's. it was not getting int as optional, even though, i tried with Integer wrapper class, that one also not able to do make nillable=true in wsdl and cant make as optional.
I am expecting below
in my service class add(int i , int j)
I want to see int i and int j as optional
<xs:element name="j" type="xs:int" nillable ="true" minOccurs="0"/>
<xs:element name="i" type="xs:int" nillable ="true" minOccurs="0"/>
How do i create above?