Hi All.

I'm struggling to add http authentication to my app (client side). I am rather new to working with webservices. The application and the webservice are both on the local domain and were working fine but Management has asked the web service guys to use authentication.

I was just emailed a username and password. I'm not to sure what to do with this, from what i have been reading is that I need to edit the credentials? I can someone please guide me thanks

I'm using visual studio 2003, If I open object explorer and click on a web reference this is what I included in the constructor

Public Sub New()
MyBase.New
Me.Url = "http://zablv20650.xyz.corp:5555/soap/rpc"
Dim cred As New System.Net.NetworkCredential("username", "password")
Me.Credentials = cred
Me.PreAuthenticate = True
End Sub