hi,
ive written a webservice that returns a dataset.. this has been working well.. until now.. and for no apparent reason it has started throwing and error when getting the databack from the webservice.. this is on the .net compact framework btw..
the error i get is:
An unhandled exception of type System.FormatException occurred in mscorlib.dll
Additional information: FormatException
here is the place the error occurs on the dim line (vs 2003 auto generates this code when you add a web reference)
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Mobile/Service1/GetDeliveries", RequestNamespace:="http://tempuri.org/Mobile/Service1", ResponseNamespace:="http://tempuri.org/Mobile/Service1", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetDeliveries(ByVal vstrUsername As String, ByVal vstrPassword As String, ByVal vdteDate As Date) As System.Data.DataSet
Dim results() As Object = Me.Invoke("GetDeliveries", New Object() {vstrUsername, vstrPassword, vdteDate})
Return CType(results(0),System.Data.DataSet)
End Function
any ideas please... the exception seems to happen in the Me.Invoke line..
rgds
chris
ive written a webservice that returns a dataset.. this has been working well.. until now.. and for no apparent reason it has started throwing and error when getting the databack from the webservice.. this is on the .net compact framework btw..
the error i get is:
An unhandled exception of type System.FormatException occurred in mscorlib.dll
Additional information: FormatException
here is the place the error occurs on the dim line (vs 2003 auto generates this code when you add a web reference)
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Mobile/Service1/GetDeliveries", RequestNamespace:="http://tempuri.org/Mobile/Service1", ResponseNamespace:="http://tempuri.org/Mobile/Service1", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function GetDeliveries(ByVal vstrUsername As String, ByVal vstrPassword As String, ByVal vdteDate As Date) As System.Data.DataSet
Dim results() As Object = Me.Invoke("GetDeliveries", New Object() {vstrUsername, vstrPassword, vdteDate})
Return CType(results(0),System.Data.DataSet)
End Function
any ideas please... the exception seems to happen in the Me.Invoke line..
rgds
chris