Facebook
From Cream Bushbaby, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 95
  1. Returning value:
  2.   {
  3.     SaveIdentityResult: {
  4.       Message: 'Object reference not set to an instance of an object.',
  5.       Success: false,
  6.       CrmId: '00000000-0000-0000-0000-000000000000'
  7.     }
  8.   }
  9.  
  10. Request XML:
  11.  
  12. <?xml version="1.0" encoding="utf-8"?>
  13. <Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:tns="http://tempuri.org/" xmlns:q1="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:q2="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:q3="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:q5="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:q7="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.Domain.Model" xmlns:q8="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:q9="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/">
  14.         <Body>
  15.                 <SaveIdentity xmlns="http://tempuri.org/">
  16.                         <username>
  17.                                 admin
  18.                         </username>
  19.                         <password>
  20.                                 @dmin
  21.                         </password>
  22.                         <person>
  23.                                 <FirstName>
  24.                                         test
  25.                                 </FirstName>
  26.                                 <LastName>
  27.                                         test
  28.                                 </LastName>
  29.                                 <CrmObjectTypeCode>
  30.                                         person
  31.                                 </CrmObjectTypeCode>
  32.                                 <IdentityType>
  33.                                         حقیقی
  34.                                 </IdentityType>
  35.                                 <Categories>
  36.                                         <CategoryInfo>
  37.                                                 <Key>
  38.                                                         siteclients
  39.                                                 </Key>
  40.                                         </CategoryInfo>
  41.                                 </Categories>
  42.                                 <PhoneContacts>
  43.                                         <IdentityContactPhone>
  44.                                                 <PhoneNumber>
  45.                                                         09120000000
  46.                                                 </PhoneNumber>
  47.                                                 <PhoneType>
  48.                                                         موبایل
  49.                                                 </PhoneType>
  50.                                                 <IsDefault>
  51.                                                         true
  52.                                                 </IsDefault>
  53.                                         </IdentityContactPhone>
  54.                                 </PhoneContacts>
  55.                                 <Emails>
  56.                                         <string>
  57.                                                 [email protected]
  58.                                         </string>
  59.                                 </Emails>
  60.                                 <Subject>
  61.                                         عضویت در سایت
  62.                                 </Subject>
  63.                         </person>
  64.                 </SaveIdentity>
  65.         </Body>
  66. </Envelope>
  67.  
  68. Response XML:
  69.  
  70. <Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  71.         <Body>
  72.                 <SaveIdentityResponse xmlns="http://tempuri.org/">
  73.                         <SaveIdentityResult xmlns:a="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  74.                                 <Message>
  75.                                         Object reference not set to an instance of an object.
  76.                                 </Message>
  77.                                 <Success>
  78.                                         false
  79.                                 </Success>
  80.                                 <CrmId>
  81.                                         00000000-0000-0000-0000-000000000000
  82.                                 </CrmId>
  83.                         </SaveIdentityResult>
  84.                 </SaveIdentityResponse>
  85.         </Body>
  86. </Envelope>
  87.  
  88.