1

Dynamics CRM 4.0 への SOAP メッセージを介して 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>

これについて経験のある人はいますか?誰かが私を助けたり、ヒントをくれたりしたら、とても感謝しています

ありがとうございました!

4

1 に答える 1

0

エラーコード0x80040203はInvalidArgumentを意味します。エラーコードのリストを参照してください。

トレースを有効にします( Microsoft Dynamics CRMでトレースを有効にする方法を参照)。これにより、問題の詳細がわかります。

于 2011-04-02T21:37:17.973 に答える