This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The webservice is deployed onto a Weblogic 8.1 server.
SOAP response :
If minOccurs=1,then the element should be displayed in the SOAP response even if the element does not have any value.
If minOccurs=0,if the element does not have any value,then the element must not be displayed in the SOAP response.
But as shown in the code,the element is displayed in the SOAP response with xsi:nil attribute set to true,when the element has minOccurs=0 in WSDL file.