Webservice: Optional DateTime attribute not optional??
1
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?
asked
Arjan Hendriksen
1 answers
3
Ah, found out my mistake.
"<DateXYZ></DateXYZ>"
is not the same as no date. When I removed the complete tag, the error is gone.