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

后端 未结 3 1575
日久生厌
日久生厌 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:50

    You only need change the [][], not the single [].

    In Reference.cs change

    private ParsedElement[][] parsedStreetLineField;
    to
    private ParsedElement[] parsedStreetLineField;
    and
    public ParsedElement[][] ParsedStreetLine {
    to
    public ParsedElement[] ParsedStreetLine {
    

提交回复
热议问题