SandBox客户管理服务调用失败C#:无法连接到远程服务器 [英] SandBox Customer Management Service call fail C# : Unable to connect to the remote server

查看:117
本文介绍了SandBox客户管理服务调用失败C#:无法连接到远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用GetAccount方法时,总会出现错误:

When I use the GetAccount method , there is always an error :

方法:

  service.GetAccount(null ,null,m_token,密码,用户名,accountId,false,out帐户);

 service.GetAccount(null, null, m_token, password, username, accountId, false, out account);

错误:

未处理的异常:System.ServiceModel.FaultException` 1 [CustomerManagementService.ApiFault]:无效的客户端数据。检查SOAP故障详细信息以获取更多信息

Unhandled Exception: System.ServiceModel.FaultException`1[CustomerManagementService.ApiFault]: Invalid client data. Check the SOAP fault details for more information

错误是  CustomerManagementService.OperationError。并且 错误代码是456。

error is  a CustomerManagementService.OperationError . And  Error code is 456.

但很奇怪,

当我使用GetAccountInfo方法时,它也没有稳定。有时,它会通过,但有时会出现错误。

When I use GetAccountInfo method , it is also not stabilized.Sometimes, it pass, but sometimes , an error appears.

方法:

service.GetAccountsInfo(null,null,m_token,password,username,customerId,false,out accountInfo);

service.GetAccountsInfo(null, null, m_token, password, username,customerId,false,out accountInfo);

错误:

无法连接到远程服务器

Error :
Unable to connect to the remote server

如果有人可以提供帮助,我将不胜感激。

I would appreciate if someone can help.

推荐答案

Hello。

Hello.

对于"无法连接到远程服务器"问题,我昨天也观察到了。有时在Sandbox日常部署期间可以观察到错误,但考虑到它发生的频率我已经要求我们的工程团队确认根
原因。 

For the "unable to connect to remote server" issue, I observed the same yesterday. Sometimes errors can be observed during Sandbox daily deployments, although given the frequency that it occurred I've asked our engineering team to confirm the root cause. 

对于456错误你有更多细节,例如SOAP请求+响应?

For the 456 error do you have more details e.g. SOAP request + response?

祝你好运,

Eric


这篇关于SandBox客户管理服务调用失败C#:无法连接到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆