K
ksbhangu
Hi,
I am developing a system on the Compact Framework for Pocket PC. In my
project , I am trying to access Web Service from pda application..
However whenever complie the program, the following error is raised:
______________
A first chance exception of type 'System.IO.FileNotFoundException'
occurred in mscorlib.dll
Additional information: FileNotFoundException
______________
The error is raised in Reference.vb file at line
Dim results() As Object = Me.Invoke("Login", New Object(-1) {})
in the follwing code (here login is a web method in service being
accessed)
<System.Web.Services.Protocols.SoapHeaderAttribute("cls_RL_SRV_AuthenticatorValue"),
_
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/PdaServices/ws_RL_SRV_NewServices/Login",
RequestNamespace:="http://tempuri.org/PdaServices/ws_RL_SRV_NewServices",
ResponseNamespace:="http://tempuri.org/PdaServices/ws_RL_SRV_NewServices",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>
_
Public Function Login() As String
Dim results() As Object = Me.Invoke("Login", New Object(-1) {})
Return CType(results(0),String)
End Function
I am developing a system on the Compact Framework for Pocket PC. In my
project , I am trying to access Web Service from pda application..
However whenever complie the program, the following error is raised:
______________
A first chance exception of type 'System.IO.FileNotFoundException'
occurred in mscorlib.dll
Additional information: FileNotFoundException
______________
The error is raised in Reference.vb file at line
Dim results() As Object = Me.Invoke("Login", New Object(-1) {})
in the follwing code (here login is a web method in service being
accessed)
<System.Web.Services.Protocols.SoapHeaderAttribute("cls_RL_SRV_AuthenticatorValue"),
_
System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/PdaServices/ws_RL_SRV_NewServices/Login",
RequestNamespace:="http://tempuri.org/PdaServices/ws_RL_SRV_NewServices",
ResponseNamespace:="http://tempuri.org/PdaServices/ws_RL_SRV_NewServices",
Use:=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>
_
Public Function Login() As String
Dim results() As Object = Me.Invoke("Login", New Object(-1) {})
Return CType(results(0),String)
End Function