Hi,
I am trying to make a DLL for a proxy class of a web service as:
It gives me errors as :
Do i have to include system.web.services.protocols.dll but i read it is included
in system.web.services.dll then why it is complaining about certain members of the class.Here "Service" is my webservice and "proxyservice.vb" is proxy class whose dll is need to be created and "DBRead" is a method in my web service "Service".
'InvokeAsync' is method generated when proxy class is created by WSDL.exe and is not a member of my webservice.
need help.
Regards!
Ayyaz
I am trying to make a DLL for a proxy class of a web service as:
VB.NET:
vbc.exe /t:library /r:system.web.dll /r:system.web.services.dll /r:system.xm
l.dll /r:system.data.dll proxyservice.vb
It gives me errors as :
VB.NET:
E:\ProxyService.vb(73) : error BC30456: 'InvokeAsync' is not a member of 'Service'.
Me.InvokeAsync("DBRead", New Object() {tblname}, Me.DBReadOperationCompl
eted, userState)
~~~~~~~~~~~~~~
E:\ProxyService.vb(78) : error BC30002: Type 'System.Web.Services.Protocols.InvokeCompletedEventArgs' is not defined.
Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEvent
Args = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
Do i have to include system.web.services.protocols.dll but i read it is included
in system.web.services.dll then why it is complaining about certain members of the class.Here "Service" is my webservice and "proxyservice.vb" is proxy class whose dll is need to be created and "DBRead" is a method in my web service "Service".
'InvokeAsync' is method generated when proxy class is created by WSDL.exe and is not a member of my webservice.
need help.
Regards!
Ayyaz