Actually I get a truncated soap response. SoapUI returns the response NOT truncated so I assume the issue is somewhere in the way I retrieve the response.
this is how I get the response.
request is of type HttpWebRequest
...
using (WebResponse Serviceres = request.GetResponse())
{
using (StreamReader rd = new StreamReader(Serviceres.GetResponseStream()))
{
string ServiceResult = rd.ReadToEnd();
...
...
...
}
}
...
the string in "ServiceResult" is finally truncated. Maybe StreamReader is the problem?
Finally I found the reason for this.
I had to define an encoding and pass it to the StreamReader constructor
After that I get the complete response.