Мой код запроса:
Код:
var xml = "<?xml version='1.0' encoding='utf-8'?>"+
"<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'"+
" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'"+
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'>"+
"<soap:Header>"+
"<CrmAuthenticationToken xmlns='http://schemas.microsoft.com/crm/2007/WebServices'>"+
"<AuthenticationType xmlns='http://schemas.microsoft.com/crm/2007/CoreTypes'>"+'0'+"</AuthenticationType>"+
"<OrganizationName xmlns='http://schemas.microsoft.com/crm/2007/CoreTypes'>"+'orgdev'+"</OrganizationName>"+
"<CallerId xmlns='http://schemas.microsoft.com/crm/2007/CoreTypes'>"+'7B9BEB07-B1C6-DD11-8BD2-0016E6634005'+"</CallerId>"+
"</CrmAuthenticationToken>"+
"</soap:Header>"+
"<soap:Body>"+
"<Create xmlns='http://schemas.microsoft.com/crm/2007/WebServices'>"+
"<entity xsi:type='new_paymentorder'>"+
"<new_name>"+'test'+"</new_name>"+
"<new_legalpayerid>"+'41EF1687-BFD5-DD11-9D4D-0016E6634005'+"</new_legalpayerid>"+
"<new_currencyid>"+'B8DDE840-B1C6-DD11-8BD2-0016E6634005'+"</new_currencyid>"+
"<new_paymtype>"+'1'+"</new_paymtype>"+
"</entity>"+
"</Create>"+
"</soap:Body>"+
"</soap:Envelope>";
ошибка вот такая:
soap:ServerServer was unable to process request. 0x80040203 entity Platform
Утилиту посмотрел - она как-то не шибко хочет работать с DynamicEntity, на которых я бы написал этот запрос в C#...