10 Replies Latest reply on Dec 4, 2007 11:44 AM by -==cfSearching==-

    FedEx Rate Available Services

    dbldutch
      I'm having trouble getting the RateAvailableServies working with the FedEx web services. I can make my call to the service and get information but when I try to add more specific information I get the following error:

      Web service operation rateAvailableServices with parameters {...Displays all the parameters I pass...} cannot be found.

      Here is what works:
      <cfscript>
      params = {};
      (ALL MY ADDRESS AND USER CREDENTIALS REMOVED)
      params.CurrencyType = "USD";
      params.DropoffType = "REGULAR_PICKUP";
      params.PackagingType = "YOUR_PACKAGING";
      params.ShipDate = "2007-11-30";
      params.RateRequestPackageSummary.TotalInsuredValue.Currency = "USD";
      params.RateRequestPackageSummary.TotalInsuredValue.Amount = "10";
      params.RateRequestPackageSummary.TotalWeight.Value = "20";
      params.RateRequestPackageSummary.TotalWeight.Units = "LB";
      </cfscript>

      Now if I add any of the following lines I get the error above.
      <cfscript>
      params = {};
      (ALL MY ADDRESS AND USER CREDENTIALS REMOVED)
      params.CurrencyType = "USD";
      params.DropoffType = "REGULAR_PICKUP";
      params.PackagingType = "YOUR_PACKAGING";
      params.ShipDate = "2007-11-30";
      params.RateRequestTypes = "LIST"; // CAUSES ERROR
      params.RateRequestPackageSummary.PieceCount = "1"; // CAUSES ERROR
      params.RateRequestPackageSummary.TotalInsuredValue.Currency = "USD";
      params.RateRequestPackageSummary.TotalInsuredValue.Amount = "10";
      params.RateRequestPackageSummary.TotalWeight.Value = "20";
      params.RateRequestPackageSummary.TotalWeight.Units = "LB";
      params.RateRequestPackageSummary.PerPieceDimensions.Length = "20"; // CAUSES ERROR
      params.RateRequestPackageSummary.PerPieceDimensions.Width = "20"; // CAUSES ERROR
      params.RateRequestPackageSummary.PerPieceDimensions.Height = "20"; // CAUSES ERROR
      params.RateRequestPackageSummary.PerPieceDimensions.Units = "IN"; // CAUSES ERROR
      </cfscript>

      I've tried combinations of them and nothing works. I don't need the PerPieceDimensions to work but theoretically it should.

      Can someone please tell me what's going on?

      Thanks