'Error serializing body'. Problem calling Fedex webservice through .NET 3.5

后端 未结 3 1547
日久生厌
日久生厌 2020-12-16 20:52

I\'m using Fedex\'s web services and getting an annoying error right up front before I can actually get anywhere.

There was an error in serializing body of message a

3条回答
  •  时光说笑
    2020-12-16 21:38

    Note: To access the Reference.cs file that Simon_Weaver is referring to, open the project in visual studio, and in the Solution Explorer, click on the Web Reference and then look at the little icons at the top of Solution Explorer. Click the "Show All Files" icon to show hidden files. Now expand the web reference, then expand the Reference.map inside, and finally you will see Reference.cs which you can edit, replacing [][] with []

    Do not confuse this Reference.cs with the Reference.cs you may have obtained from Fedex when downloading their sample code.

提交回复
热议问题