получилось примерно следующее
Код:
var oXmlHttp = oService.CreateXmlHttp();
oXmlHttp.open("POST", oService.server + "/mscrmservices/2007/crmservice.asmx", false);
oXmlHttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
oXmlHttp.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/Execute");
var sXml =
"<?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>" +
"<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>" +
" <Request xsi:type=\"RemoveMemberListRequest\" xmlns=\"http://schemas.microsoft.com/crm/2007/WebServices\">" +
" <ListId>107FA1EB-5911-DF11-A5B3-0003FF966666</ListId>" +
" <EntityId>0020590A-37D0-DC11-AA32-0003FF33509E</EntityId>" +
" </Request>" +
" </soap:Body>" +
"</soap:Envelope>";
oXmlHttp.send(sXml);
Ошибка soap:ServerServer was unable to process request. 0x80040203 request Platform
Если не смотреть на ID..в остальном правильный ли запрос?