I have a WebService written in VB.NET, in it, I have a Long defined as such:
<s:element minOccurs="0" maxOccurs="1" name="clientId" type="s:long"/>
Now, whenever I call this WS from another VB.NET application, along with settings clientId var, I also have to set clientIdSpecified to True – thats the quirk of .NET. However, my client works with Java, and the question is – do they have to do the same and set clientIdSpecified to True?
This boolean is not part of the specs so if they do need to set it up, I have to warn them.
if your client is using java, just give them the xsd file and it should be good enough because it can be compiled into java classes that provide validation before being marshaled into xml.
Things to note though, minOccurs=0 means it is optional to set.