none
EWS - CreateItem - BusinessHomePage RRS feed

  • Question

  • I am creating new contacts and everything works great except for the entries for BusinessHomePage and Categories. Please let me know if you are aware of the correct syntax for the SOAP request. Thanks.

              <t:Surname>LastName</t:Surname>
              <t:BusinessHomePage>http://www.mydomain.com</t:BusinessHomePage>
              <t:Categories><t:String>Business</t:String></t:Categories>
            </t:Contact>
          </Items>

    /CreateItem>
      </soap:Body>
    </soap:Envelope> 

     

    Error received:

    Fault Code:   a:ErrorSchemaValidation
    Fault String: The request failed schema validation: The element 'Contact' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has invalid child element 'BusinessHomePage' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'. List of possible elements expected: 'WeddingAnniversary, HasPicture' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'

     

    • Edited by r_burns Thursday, September 15, 2011 3:31 PM
    Thursday, September 15, 2011 3:30 PM

All replies