I am using the WSDL generated webservice class in a asp.net project to call an asynchronous webserivce and then do something when it completes.
~one~ of my web services doesn't work, here is what I have
One aspx page starts the call...
Dim mAsyncResult As IAsyncResult = mMyWebService.BeginMyMethod(blnIgnoreUnknownCodes, False, strMessage, True, Nothing, Nothing)
Session("ProcessStarted"=mAsyncResult
Session("MyWebService" =mMyWebService
and another ends it...
sub Page_Load
mAsyncResult = Session("ProcessStarted"
mMyWebService = Session("MyWebService"
If mMyWebService.IsCompleted Then
Dim result As Boolean
result = mMyWebService.EndMyMethod(mAsyncResult, strMessage) ' *****
End If
end sub
They both have member objects of the same class
The problem is that I get a MissingMemberException on the line with *****
Any ideas?
Thanks in adv
~one~ of my web services doesn't work, here is what I have
One aspx page starts the call...
Dim mAsyncResult As IAsyncResult = mMyWebService.BeginMyMethod(blnIgnoreUnknownCodes, False, strMessage, True, Nothing, Nothing)
Session("ProcessStarted"=mAsyncResult
Session("MyWebService" =mMyWebService
and another ends it...
sub Page_Load
mAsyncResult = Session("ProcessStarted"
mMyWebService = Session("MyWebService"
If mMyWebService.IsCompleted Then
Dim result As Boolean
result = mMyWebService.EndMyMethod(mAsyncResult, strMessage) ' *****
End If
end sub
They both have member objects of the same class
The problem is that I get a MissingMemberException on the line with *****
Any ideas?
Thanks in adv