Posts

Showing posts from September, 2010

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: 2010-09-23T10:00:00.0000 Use leading zeroes for 1-digit hours. Example: 2010-09-23T09:00:00.0000 In my environment, the milliseconds were optional.

Error Running a WCF Service Under IIS in Visual Studio 2010 and Windows 7

I was recently working on a WCF project in VS2010. Originally, the service was configured to run under the development server, but was later reconfigured to run under IIS -- but once this happened, it would fail when I'd try to start it up for debugging in the IDE, giving me the following error: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. To correct this issue, follow these steps (these steps apply to Windows 7 and may differ slightly depending on which version of Windows you're using): 1. Go to Control Panel 2. Select Add/Remove Programs 3. Select Turn Windows features on or off (from the left pane if you're using the modern view) 4. Go to Microsoft .NET Framework 3.5.1 (or something similar -- may very depending on your system). Expand this node and make sure the check boxes for any WCF options are checked. Then click OK. But wait, there'