System.TimeoutException: '当调用服务 wcf 时,在项目 net core 3.1 中的 00:00:40.9185754 之后等待回复时请求通道超时

问题描述 投票:0回答:0

细节错误:

System.TimeoutException: '请求通道在 00:00:40.9185754 之后等待回复时超时。增加传递给 Request 调用的超时值或增加 Binding 上的 SendTimeout 值。分配给此操作的时间可能是较长超时的一部分。'

我的代码:

ServiceSoapClient sv1 = new ServiceSoapClient(0);
ArrayOfXElement a = sv1.GETDATA();

在我的项目中不是文件.config 请帮助

.net api wcf service timeout
© www.soinside.com 2019 - 2024. All rights reserved.