The error comes on the indictaed line below;
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.o
rg/StaffWS/Service1/GetStaffDiary",
RequestNamespace:="http://tempuri.org/StaffWS/Service1",
ResponseNamespace:="http://tempuri.org/StaffWS/Service1",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetStaffDiary() As System.Data.DataSet
Dim results() As Object = Me.Invoke("GetStaffDiary", New Object(-1) {})
' <=== Line with error
Return CType(results(0),System.Data.DataSet)
End Function
The file is Reference.vb under ...\Project\Web References\<the url in
reverse> folder.
> Hi
>
[quoted text clipped - 9 lines]
>
> Regards