Method 'XYZ' cannot be reflected

后端 未结 9 528
北荒
北荒 2020-12-11 04:26

We have consumed a third party web service and are trying to invoke it from an ASP.NET web application. However when I instantiate the web service the following System.Inval

9条回答
  •  醉酒成梦
    2020-12-11 04:44

    I ran into the same problem earlier today. The reason was - the class generated by Visual Studio and passed as a parameter into one of the methods did not have a default parameterless constructor. Once I have added it, the error had gone.

提交回复
热议问题