Hi,
Please could anyone help me with this problem
I have a windows application which is being written in
VB.NET and through this application I making a reference to one of my web service. The web service returns a dataset object. When I make the call it causes an error: The error is as follows:
An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll
Additional information: Server was unable to process request. --> Message: Cast from string "" to type 'Boolean' is not valid.
Source: Microsoft.VisualBasic
Method: FromString
Stack Trace: at Microsoft.VisualBasic.CompilerServices.BooleanType .FromString(String Value)
at Microsoft.VisualBasic.CompilerServices.BooleanType .FromObject(Object Value)
at Sql.Connection..ctor() in C:\Documents and Settings\Administrator\My Documents\Projects\Repair Management System\Sql\Connection.
vb:line 215
I tried looking for the source of the problem and it seems that it is being caused by the function which is auto generated by the .NET
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodA ttribute("http://RMS/Web Service/Vendors/GetFullData", RequestNamespace:="http://RMS/Web Service/Vendors", ResponseNamespace:="http://RMS/Web Service/Vendors", Use:=System.Web.Services.Description.SoapBindingUs e.Literal, ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Wrapped)> _
Public Function GetFullData() As System.Data.DataSet
Dim results() As Object = Me.Invoke("GetFullData", New Object(-1) {})
Return CType(results(0),System.Data.DataSet)
End Function