Skip to Main Content
Inside Microsoft® Exchange Server 2007 Web Services
book

Inside Microsoft® Exchange Server 2007 Web Services

by David Sterling, Michael Mainer, Ben Spain, Mark Taylor, Huw Upshall
November 2007
Intermediate to advanced content levelIntermediate to advanced
928 pages
26h 9m
English
Microsoft Press
Content preview from Inside Microsoft® Exchange Server 2007 Web Services

HTTP 500 Status Codes

As mentioned earlier in the chapter, you will sometimes encounter HTTP 500 status codes. You encounter these errors when something about your request causes the entire request to fail. Typically, such erroneous conditions occur before the first item in the request is processed. For instance, if you pass in a request that is not schema-compliant, you receive an HTTP 500 status code, and the response code of ErrorSchemaValidation is embedded in the detail node of the SOAP fault. Let’s see that in action. The invalid request is shown in Example 18-12.

Example 18-12. Schema invalid request

<CreateItem xmlns=".../messages"
            xmlns:t=".../types"
            MessageDisposition="SaveOnly">
  <Items>
    <t:Messagez> <t:Subject>I am batched message #1</t:Subject> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Exchange Server 2010 Inside Out

Microsoft® Exchange Server 2010 Inside Out

Tony Redmond
Microsoft® Exchange Server 2013 Unleashed

Microsoft® Exchange Server 2013 Unleashed

Rand Morimoto, Michael Noel, Guy Yardeni, Chris Amaris, Andrew Abbate

Publisher Resources

ISBN: 9780735623927Supplemental ContentCatalog PageErrata