• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt regarding webservices

Purna Chandra Rao
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :
<!--Some atttributes-->
<java:classwithArrayOfComplexTypes />

My client wants <java:classwithArrayOfComplexTypes /> to be displayes as
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

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic