Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asynchronous Webservice EndInvoke Gets MissingMemberException

Status
Not open for further replies.

JFritzler

Programmer
Jul 19, 2001
18
US
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
 
I found my problem.
I added a parameter to the BL and the method call in the *asmx, but forgot to put it in the actual CALL to the BL method in the asmx method body.

Oops
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top