我正在尝试Console/Asp.Net Web API
使用 URL 将 UPS Tracking API 引用添加到我的项目中http://onlinetools.ups.com/webservices/Track
。
在 中添加此设置App.Config/Web.Config
,但仍然没有帮助:
<add key="AccessLicenseNumber" value="xxxxxxx"/>
<add key="UserId" value="xxxxxxxx"/>
<add key="Password" value="xxxxx"/>
我在上面的 URL 中找不到任何 Web 服务,而是给出了以下消息:
Service Name: TrackWS
Remote User: null
Server Port: 443
Server Name: wwwcie.ups.com
Servlet Path: /Track
错误:
There was an error downloading 'http://onlinetools.ups.com/webservices/Track/ metadata'. Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 153.2.224.76:80
Metadata contains a reference that cannot be resolved: 'http://onlinetools.ups.com/webservices/Track'.
There was no endpoint listening at http://onlinetools.ups.com/webservices/Track that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
非常感谢您对此的任何帮助。
谢谢,
WH