是的,Bing Maps 地理编码 SOAP API 已经移动到新的终结点。您可能会收到 404 错误是因为您的代码仍在使用旧的终结点。
以下是更新代码示例的解决方法:
首先,确保您已经将 Bing Maps 地理编码 SOAP API 的终结点更新为新的地址。新的终结点为:https://dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc
在代码示例中,找到与 Bing Maps 地理编码 SOAP API 相关的部分。通常会有一个 URL 或终结点变量。
将旧的终结点地址替换为新的地址。例如,将旧的终结点地址:
string endpoint = "http://dev.virtualearth.net/webservices/v1/GeocodeService/GeocodeService.svc";
替换为新的终结点地址:
string endpoint = "https://dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc";
请确保您还更新了其他相关的设置,例如 API 密钥等。如果问题仍然存在,请查看官方文档或联系 Bing Maps 支持团队以获取更多帮助。