【发布时间】:2014-08-24 08:14:51
【问题描述】:
我正在尝试运行C# SOAP Sample App,但出现异常: java.lang.NullPointerException
我认为我使用了错误的 SOAP 端点。
来自the Sample App,CobrandLogin 的端点是通过以下方式创建的:
cobrandLoginService.Url = System.Configuration.ConfigurationSettings.AppSettings.Get("soapServer") + "/" + cobrandLoginService.GetType().FullName+"_" + System.Configuration.ConfigurationSettings.AppSettings.Get("soapServerVersion");
The Dev Portal 显示 soapServer 应该是:https://rest.developer.yodlee.com/services/services
This answer 建议各种不符合格式的随机网址:
soapServer + 服务全名 + _version
这些与the Sample App 不匹配。见这里:https://rest.developer.yodlee.com/services/services/listServices
示例应用程序还要求提供 tncVersion 和 soapServerVersion,尽管这些设置应该是什么并不明显。
建议? cobrandLoginService 和其他服务的正确 URL 是什么?
【问题讨论】: