Hi,
I am trying to create a Account using SOAP and request is executing successfully. But actually all the properties having datatype "decimal" are getting saved as null.
Please find the create account request snippet below:
<soap:Envelope xmlns:soap="schemas.xmlsoap.org/.../envelope" xmlns:ser="schemas.microsoft.com/.../Services" xmlns:con="schemas.microsoft.com/.../Contracts" xmlns:sys="schemas.datacontract.org/.../System.Collections.Generic" xmlns:con1="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns:c="www.w3.org/.../XMLSchema">
<soap:Header/>
<soap:Body>
<ser:Create>
<ser:entity>
<con:Attributes>
<con:KeyValuePairOfstringanyType>
<sys:key>name</sys:key>
<sys:value i:type="c:string">soap_account_1</sys:value>
</con:KeyValuePairOfstringanyType>
<con:KeyValuePairOfstringanyType>
<sys:key>openrevenue</sys:key>
<sys:value i:type="c:decimal">120.20</sys:value>
</con:KeyValuePairOfstringanyType>
<con:KeyValuePairOfstringanyType>
<sys:key>creditlimit</sys:key>
<sys:value i:type="c:decimal">12000.50</sys:value>
</con:KeyValuePairOfstringanyType>
</con:Attributes>
<con:LogicalName>account</con:LogicalName>
</ser:entity>
</ser:Create>
</soap:Body>
</soap:Envelope>
I also tried the same data with REST API and its working fine. But there is some problem with SOAP.
Am I missing something while creating Account using SOAP?
*This post is locked for comments
I have the same question (0)