how to convert response of soap webservice to an object in visual studio 2012
<p>I am new in webservices so I need to know what is the best way to convert my response that I am getting from my soap webservice to an object created in my project. Below is my code that is working fine and returning XML data in variable backstr. Any hint? Thanks in advance.</p>

<pre><code>    Public Function function1(ByVal claimNum As String) As String
            Try
                Dim URLReq As HttpWebRequest
                Dim URLRes As HttpWebResponse

                Dim strURL As String = "http://mywebservice?strVisaID=" &amp; claimNum

                If Trim(strURL) &lt;&gt; "" Then

                    URLReq = WebRequest.Create(strURL)
                    URLRes = URLReq.GetResponse

                    Dim res As HttpWebResponse = URLReq.GetResponse()
                    Dim sr As New StreamReader(res.GetResponseStream(), System.Text.Encoding.[Default])

                    Dim backstr As String = sr.ReadToEnd()


                    If URLRes.StatusCode = HttpStatusCode.OK Then
                        Return backstr + " ok done "
                    Else
                        Return backstr + " something is wrong "
                    End If

                Else
                    Return "empty url"
                End If

            Catch ex As Exception
                Return " exception" + ex.Message
            End Try
 End Function
</code></pre>