W
warren.lafrance
I can invoke my web service via the test page (xxxx.asmx) that visual
studio builds for you...
I am able to open IE and surf to the page and invoke the service..
If I create a windows application and try to invoke it I get a time out
error...
System.Net.WebException: The operation has timed-out.
at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
The code looks like this:
Dim service As WebReference.Service1
service = New WebReference.Service1
Try
service.getCamusIDs()
Dim dsCampusList As New DataSet
dsCampusList = service.getCamusIDs()
Catch ex As Exception
Throw
End Try
studio builds for you...
I am able to open IE and surf to the page and invoke the service..
If I create a windows application and try to invoke it I get a time out
error...
System.Net.WebException: The operation has timed-out.
at
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest
request)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
The code looks like this:
Dim service As WebReference.Service1
service = New WebReference.Service1
Try
service.getCamusIDs()
Dim dsCampusList As New DataSet
dsCampusList = service.getCamusIDs()
Catch ex As Exception
Throw
End Try