Нужно удалить элементы listmember из маркетингового списка с помощью вызова веб-сервиса. Плохая новость в том что ответом на мой запрос
Код:
<?sXml 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>
<CrmTicket xmlns=\"http://schemas.microsoft.com/crm/2007/CoreTypes\"></CrmTicket>
<OrganizationName xmlns=\"http://schemas.microsoft.com/crm/2007/CoreTypes\">MicrosoftCRM</OrganizationName>
<CallerId xmlns=\"http://schemas.microsoft.com/crm/2007/CoreTypes\">00000000-0000-0000-0000-000000000000</CallerId>
</CrmAuthenticationToken>
</soap:Header>
<soap:Body>
<Delete xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">
<entityName>listmember</entityName>
<id>a0441423-e016-df11-89fc-0003ff966666</id>
</Delete>
</soap:Body>
</soap:Envelope>
является soap:ServerServer was unable to process request. 0x80040800 The 'Delete' method does not support entities of type 'listmember'.
Как можно обойти эту беду?..ведь удаление из кода
Код:
RemoveMemberListRequest rmlReq = new RemoveMemberListRequest();
rmlReq.ListId = new Guid("107FA1EB-5911-DF11-A5B3-0003FF966666");
rmlReq.EntityId = new Guid("EB1F590A-37D0-DC11-AA32-0003FF33509E");
RemoveMemberListResponse rmlResp = crmService.Execute(rmlReq) as
RemoveMemberListResponse;
наверняка выполняется через веб-сервис..или через несколько операций с сервисами . Только вопрос как?