我正在尝试向web服务执行soaprequest,它运行的数据很少,但在trynig获取大量数据时会出现badGateway错误,
这是我的代码
var content = new StringContent(soapEnvelopRequest, Encoding.UTF8, "text/xml");
using (var response = await client.PostAsync(action, content))
{
var soapResponse = await response.Content.ReadAsStringAsync();
return soapResponse;
}