title: How to convert string to SOAPMessage in C#
body: <p>I am writing application where in the requirement I have to communicate with one device witch send SOAP message over UDP. I am using .Net UDPClient class to communicate with this device. I am receiving reply from this in UDPClient but I am getting that as Byte[] array. How I can convert this to SoapMessage object ? </p>
  
  <pre><code>    public void ReceiveCallback(IAsyncResult ar)
      {
          UdpClient udpClient = (UdpClient)((UdpState)(ar.AsyncState)).udpClient;
          IPEndPoint ipEndpt = (IPEndPoint)((UdpState)(ar.AsyncState)).ipEndpt;
  
          Byte[] receiveBytes = udpClient.EndReceive(ar, ref ipEndpt);
          string receiveString = Encoding.ASCII.GetString(receiveBytes);
                     //Here receiveString  I want to convert to SoapMessage
          BeginReceive();
      }
  </code></pre>