My scenario : I have added a service reference and using proxy classes to call a certain soap service. When i query the soap service and the response contain only ONE set of values it works perfectly but if i query a certain surname for example which will return a SET OF values instead the code show response is null even thought when checking using Fiddler the values are being returned.
SoapService.queryWebServiceSoapPortClient client = new SoapService.queryWebServiceSoapPortClient();
client.ClientCredentials.UserName.UserName = userID;
client.ClientCredentials.UserName.Password = Password;
SoapService.qwsInput query1 = new SoapService.qwsInput();
SoapService.queryResponse response = new SoapService.queryResponse();
query1.userId = userID;
query1.pass = Password;
query1.queryId = queryId;
query1.qwsInputParams = InputParam;
query a = new query();
a.queryInput = query1;
try
{
response = client.query(a);
}
catch (Exception error)
{
var b = error.ToString();
}