Home > トラブルシューティング > WCFのトラブルシューティング
Q |
WCFクライアントで使用される一部のWCF WSDLに対して実行時に例外がスローされるのはなぜですか? |
A |
WCFクライアントでWCF WSDLを処理しているときに、ユーザが次のエラーを検出することがあります。
System.InvalidOperationException: There was an error reflecting type 'xml'. ---> System.InvalidOperationException: There was an error reflecting property 'Any'. ---> System.InvalidOperationException: There was an error reflecting type 'System.Xml.XmlElement'. ---> System.InvalidOperationException: System.Xml.XmlElement cannot be used as: 'xml text'.
エラーを解決するには、ユーザはWCFXMLNodeReplaceという名前のユーザ環境変数を追加する必要があります。 この変数を追加した後は、必ずWCFリソースをリロードしてください。 |