Hey,

I'm developping the client-side of a webservice. The purpose is that I send three values to the server (xml-file, username and password) and I will get an xml-file in return.
I'm allready able to send information to the webservice but then it 'hangs' and my application is blocked.
How should I attach the xml-file to the webrequest?? What contentType is needed?? More suggestions??

Code:
Dim request As Net.HttpWebRequest = DirectCast(WebRequest.Create(strUrl), HttpWebRequest)
request.Method = "post"
request.ContentLength = "12000"
request.ContentType = "multipart/form-data"

Dim response As Net.HttpWebResponse = CType(request.GetResponse, Net.HttpWebResponse)
Thanks for the effort to try and find me a solution.