The "Not a valid AllXsd value" Error Message

I was recently testing a web service method using SOAP UI and received the following error in regard to one of the method's parameters, which happened to be a date/time value:

"The string '2010-09-23 10:00:00 AM' is not a valid AllXsd value."

The solution was to format the value in YYYY-MM-DDThh:min:seconds.milliseconds format.

For example:


Use leading zeroes for 1-digit hours. Example:


In my environment, the milliseconds were optional.


Popular posts from this blog

A Generic Method Using HttpClient to Make a Synchronous Get Request

The Cause and Solution for the "System.Runtime.Serialization.InvalidDataContractException: Type 'System.Threading.Tasks.Task`1[YourTypeHere]' cannot be serialized." Exception

How To Mock Out Child Components In Unit Tests of Angular 2 Code