私はCRM 2015 SDK(v7.1.2)を使用してアプリケーションを開発しました。私はExecuteTransactionRequestによってCRMの2つのリクエストを送信したいのですが、私はエラーを得た:crmのトランザクションエラーで複数のリクエストを実行します。2015
The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter
http://schemas.microsoft.com/xrm/2011/Contracts/Services:request. The
InnerException message was 'Error in line 1 position 451. Element
'http://schemas.microsoft.com/xrm/2011/Contracts/Services:request'
contains data from a type that maps to the name
'http://schemas.microsoft.com/xrm/2011/Contracts:ExecuteTransactionRequest'.
The deserializer has no knowledge of any type that maps to this name.
Consider changing the implementation of the ResolveName method on your
DataContractResolver to return a non-null value for name
'ExecuteTransactionRequest' and namespace
'http://schemas.microsoft.com/xrm/2011/Contracts'.'
this is my applicaion's picture
私は、このリンクを使用:https://msdn.microsoft.com/en-us/library/mt634414.aspx
を助けてください!
コードをさらに表示してください。どのエンティティを作成しようとしているのかわかりませんので、私たちが助けようとするのは難しいです – jasonscript
これをFiddlerで見て、実際に応答メッセージが何を含んでいるのか確認できますか?私の推測では、HTML応答であり、(期待どおりの)有効なSOAP/XMLレスポンスではありません。サーバーが特定のエラーをスローしたり、URLの問題、認証の問題などが発生した場合に発生します。 – Nicknow
jasonscriptとNicknow。私は私の答えを見つけた。 – arioamir