错误:(407)IPP.Net AggCat DevKit中需要代理身份验证



我正在尝试对.NET客户帐户数据示例应用程序执行一些基本操作。问题发生在以下代码片段中(当我选择一家银行并期望其详细信息时):

 protected void institutions_SelectedIndexChanged(object sender, EventArgs e)
        {
            try
            {
                if (institutions.SelectedValue == "PleaseSelect")
                {
                    InstitutionDetails.Visible = false;
                }
                else
                {
                    InstitutionDetails.Visible = true;
                    AggregationCategorizationService svc = Services.AggCatService.GetService(Cache, HttpContext.Current.User.Identity.Name);
                    InstitutionDetail insutitutionDetail = svc.GetInstitutionDetails(long.Parse(institutions.SelectedItem.Value));

我收到以下错误:

错误详细信息:调用GetInstitutionDetails时出错:WebException:远程服务器返回错误:(407)Proxy需要身份验证。代理身份验证:协商,Kerberos,NTLM,基本领域="fw.solar.local"通过:1.1 fw连接:关闭代理连接:关闭Pragma:无缓存缓存控制:无缓存内容类型:text/html内容长度:701

我正在按原样执行示例,没有任何修改。这可能是什么原因?我该怎么修?

您是否可以使用CC银行(虚拟机构)详细信息测试呼叫:https://developer.intuit.com/docs/0020_customeraccountdata/customer_account_data_api/testing_calls_to_the_api

能否使用CAD apiexplorer检查您的密钥和SAML过程是否正常工作https://developer.intuit.com/apiexplorer?apiname=CustomerAccountData

使用openssl生成密钥-https://developer.intuit.com/docs/0020_customeraccountdata/007_firstrequest

生成这些密钥后,您可以使用公钥创建一个示例应用程序。https://developer.intuit.com/docs/0020_customeraccountdata/009_using_customeraccountdata/0010_gettingstarted/0015_create_an_cad_integration

然后在apiexplorer Link中使用带有pwd(如果有的话)的.p12文件进行SAML断言-https://developer.intuit.com/apiexplorer

该代码(407)类似于401,但是指示客户端应当首先向代理服务器进行认证。

相关内容

最新更新