Reading SOAP message
===

Question: How to read a SOAP message.

I have this part of code 

     // http response body
    Stream data = response.GetResponseStream();
    StreamReader reader = new StreamReader(data);
    String respBody = reader.ReadToEnd();
    WriteErrors.WriteToLogFile("WS.SAVE_DOK-OracleException", "Poruka:" +respBody.ToString());
    reader.Close();

After I execute the whole code i get this message:

    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header/><SOAP:Body><Response status='1'><Description>ERROR</Description></Response></SOAP:Body></SOAP:Envelope>

And now I want to read this message, but only thing that is important is this : Response status='1'

I want to write somethig like this:

    if(Response status='1')
    {
       retval = true;
    }
    else
    {
       retval = false;  
    } 

So help me good souls..... :-)

