Hi ranchers, I have made classes and used ant script to generate the wsdl file for the webservice. I have toplevel class which has five simple types and a class which contains an array of complex types.
My requirement is that if the array of complex types is null it is being dispayed as follows : <java:TopLevelClass> <!--Some atttributes--> <java:classwithArrayOfComplexTypes /> </java:TopLevelClass>
My client wants <java:classwithArrayOfComplexTypes /> to be displayes as <java:classwithArrayOfComplexTypes></java:classwithArrayOfComplexTypes> or remove the whole tag. How is that possible.. I have tried putting minOccurs = "0" and nillable="false" for <xs:element > of classwithArrayOfComplexTypes in the WSDL file but i am getting the same output.Please help me out in this regard... Thanks in advance