Returning value:
{
SaveIdentityResult: {
Message: 'Object reference not set to an instance of an object.',
Success: false,
CrmId: '00000000-0000-0000-0000-000000000000'
}
}
Request XML:
<?xml version="1.0" encoding="utf-8"?>
<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/">
<Body>
<SaveIdentity xmlns="http://tempuri.org/">
<username>
admin
</username>
<password>
@dmin
</password>
<person>
<FirstName>
test
</FirstName>
<LastName>
test
</LastName>
<CrmObjectTypeCode>
person
</CrmObjectTypeCode>
<IdentityType>
حقیقی
</IdentityType>
<Categories>
<CategoryInfo>
<Key>
siteclients
</Key>
</CategoryInfo>
</Categories>
<PhoneContacts>
<IdentityContactPhone>
<PhoneNumber>
09120000000
</PhoneNumber>
<PhoneType>
موبایل
</PhoneType>
<IsDefault>
true
</IsDefault>
</IdentityContactPhone>
</PhoneContacts>
<Emails>
<string>
</string>
</Emails>
<Subject>
عضویت در سایت
</Subject>
</person>
</SaveIdentity>
</Body>
</Envelope>
Response XML:
<Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<SaveIdentityResponse xmlns="http://tempuri.org/">
<SaveIdentityResult xmlns:a="http://schemas.datacontract.org/2004/07/Septa.PayamGostar.ServiceLayer.Contract.PGContracts.DataContracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Message>
Object reference not set to an instance of an object.
</Message>
<Success>
false
</Success>
<CrmId>
00000000-0000-0000-0000-000000000000
</CrmId>
</SaveIdentityResult>
</SaveIdentityResponse>
</Body>
</Envelope>
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}