views:

291

answers:

1

I am consuming a 3rd-party web service which has been implemented in WCF.

My consumer code resides on an ASP.NET asynchronous page.

Problem is, sometimes the BeginCallWebService() method is returning null. Shouldn't it always return an IAsyncResult object?

Should I ask the web service developer to modify their code, or is null a legit response?

+2  A: 

Begin... should always return IAsyncResult as you'll need it to call End...

Currently his webservice implements async patterns (his bug), or your proxy provide it (your bug)?

Rubens Farias
The proxy code was generated using Visual Studio by adding the web service reference.
frankadelic