none
Exchange 2007 CreateItem webservice returns error 500 RRS feed

  • Question

  • I am creating webservice calls for some workflows, to be used in an application later.

     

    Some webservices can be used well, for example FindItem or GetItem work on both our lab exchange and our live system.
    I use the same login/pw/domain in all webservice calls to each server.

    However the CreateItem webservice does not work, i try to create a contact in the address book of the user.
    The webservice call is taken from http://msdn.microsoft.com/en-us/library/aa563318(v=EXCHG.80).aspx
    Tool used is SoapUI 3.6

    On our lab exchange i get a timeout, on the live server i get an http 500 (internal server error).

    The only log file we found was the iis log, there is only the http 500 logged.

     

    Are there other places where i can look for a log? Or maybe a setting that has to be changed on the server?

    <?xml version="1.0" encoding="utf-8"?>
    <CreateItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <SavedItemFolderId xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <DistinguishedFolderId Id="contacts"
      xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
      </DistinguishedFolderId>
     </SavedItemFolderId>
     <Items xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <Contact xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
       
       <GivenName>Don</GivenName>
       <CompanyName>AdventureWorks</CompanyName>
       <EmailAddresses>
        <Entry Key="EmailAddress1">don@example.com</Entry>
       </EmailAddresses>
       <PhysicalAddresses>
        <Entry Key="Home">
         <Street>1234 56 Ave NE</Street>
         <City>La Habra Heights</City>
         <Country>United States</Country>
         <PostalCode>98072</PostalCode>
        </Entry>
       </PhysicalAddresses>
       <PhoneNumbers>
        <Entry Key="BusinessPhone">5625550100</Entry>
       </PhoneNumbers>
       <JobTitle>Software Engineer</JobTitle>
       <Surname>Hall</Surname>
      </Contact>
     </Items>
    </CreateItem>
    

    • Edited by Simon Hain Thursday, February 17, 2011 12:33 PM correct formatting
    Thursday, February 17, 2011 12:29 PM