I want to start using Fedex web service, so I downloaded the sample code putted in the site "Fedex.com" for developers. But the folowing error occured:

Unable to automatically step into the server. Connecting to the server machine 'wsbeta.fedex.com' failed. This may be because the remote computer does not exist or a firewall may be preventing communication to the remote computer

it occured at this line:

ProcessShipmentReply reply = service.processShipment(request);

I use C#

Thank you,

有帮助吗?

解决方案

I fixed the problem, It occurred because I did not put the correct Account number in this line:

request.RequestedShipment.ShippingChargesPayment.Payor.ResponsibleParty.AccountNumber = "client's account number";

Thank you James,

Best Regards

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top