Webservice: Optional DateTime attribute not optional??

I got a webservice with multiple optional DateTime attributes (configured in the published webservice). But when I send a SOAP message to the webservice, I receive the message <faultstring>Invalid value for parameter 'DateXYZ'</faultstring> And the info in the request: <DateXYZ></DateXYZ> In the domain model there are no validation constraints on these attributes. What's wrong?
1 answers

Ah, found out my mistake.


is not the same as no date. When I removed the complete tag, the error is gone.