0

IntuitPartnerPlatformのサンプルアプリケーションをインストールします。[アカウントの追加]をクリックして機関を選択し、ログインしようとすると、DiscoverAndAddAccountsを呼び出すときに「サービスが利用できません」というエラーが発生します。

List<Credential> credentials = new List<Credential>();
foreach (Control control in LoginControls.Controls)
{
    if (control as TextBox != null)
    {
        Credential cred = new Credential();
        TextBox loginValue = (TextBox)control;
        cred.name = loginValue.Attributes["KeyName"];
        cred.value = loginValue.Text;
        credentials.Add(cred);
    }
}
creds.credential = credentials.ToArray();
instLogin.AnyIntuitObject = creds;

Challenges challenges = null;
ChallengeSession challengeSession = null;
AccountList accountList = svc.DiscoverAndAddAccounts(long.Parse(Request.QueryString["InstitutionID"].ToString()), instLogin, out challenges, out challengeSession);

誰かが何が悪いのか説明できますか?ログインとパスワードに「test」と書きます。

4

0 に答える 0