Invalid response error when calling RouteTask.CreateAsync(Uri)

The following line is throwing an "Invalid response" error when called:

var routeSourceUri = new Uri(@"http://117.29.170.182:6088/arc ... Route ")
var routeTask = await RouteTask.CreateAsync(routeSourceUri);

runtime wpf 100
已邀请:

朱新颖

赞同来自:

我测试你的也报错,但是这个链接是正常的:http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route
建议您检查下网络分析服务是否有问题。

爱尔兰咖啡~维庚

赞同来自:

我的服务通过arcgis javascript调用可以运行,是10.2发布的服务。你们也不知道原因吗?会不会跟版本不同有关?

要回复问题请先登录注册