我想通过 SOAP 消息向 Dynamics CRM 4.0 执行 AppointmentRequest 我发布的以下 SOAP 消息:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:m0="http://schemas.microsoft.com/crm/2007/CoreTypes" xmlns:m="http://schemas.microsoft.com/crm/2007/WebServices" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<m:CrmAuthenticationToken>
<m0:AuthenticationType>0</m0:AuthenticationType>
<m0:OrganizationName>MyOrg</m0:OrganizationName>
<m0:CallerId>4d6792b2-d96f-de11-bc90-005056a243de</m0:CallerId>
</m:CrmAuthenticationToken>
</soap:Header>
<soap:Body>
<m:Execute>
<m:request xsi:type="SearchRequest">
<AppointmentRequest>
<ServiceId>7b94C2A1D8-C201-DE11-B7B1-0022640DEB74</ServiceId>
</AppointmentRequest>
</m:request>
</m:Execute>
</soap:Body>
</soap:Envelope>
我收到来自 CRM 的错误消息:
<?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:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request.</faultstring><detail><error>
<code>0x80040203</code>
<description>request</description>
<type>Platform</type>
</error></detail></soap:Fault></soap:Body></soap:Envelope>
有这方面经验的人吗?如果有人可以帮助我或给我提示,我将非常感激
谢谢!