RE: Asynchronous Web Service Method Failure
From: Bruce Johnson (bjohnson_at_spammenot.objectsharp.com)
Date: 12/21/04
- Next message: Ravi Singh (UCSD): "Array Of Arrays - Cape Generated WSDL with .NET"
- Previous message: Dan Rogers: "RE: Asynchronous Web Service Method Failure"
- In reply to: Turbo: "RE: Asynchronous Web Service Method Failure"
- Next in thread: Turbo: "RE: Asynchronous Web Service Method Failure"
- Reply: Turbo: "RE: Asynchronous Web Service Method Failure"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Dec 2004 10:49:04 -0800
Oooo. Session ids and web services.
I have to ask. Have you enabled sessions for your web service. If
memory serves, this is done by setting EnableSession to true in the
WebMethod attribute. And 'false' is the default, as using sessions in a
web service is tricky.
Also, does your client persist the cookies returned by each of the web
methods and pass them along to subsequent ones. This is not the
'default' behavior of the proxy class that WSDL.exe generates, for
example. I strongly suspect that WSDL.exe is not alone in it's default.
But it means that every web method call will appear to be in a different
session.
Finally, the exception you're getting is probably being through by the
method that is manipulating the stream. In async called, any exceptions
through by the 'remote' method are held onto until the End... method is
called.
Bruce Johnson [.NET MVP]
http://www.objectsharp.com/blogs/bruce
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Ravi Singh (UCSD): "Array Of Arrays - Cape Generated WSDL with .NET"
- Previous message: Dan Rogers: "RE: Asynchronous Web Service Method Failure"
- In reply to: Turbo: "RE: Asynchronous Web Service Method Failure"
- Next in thread: Turbo: "RE: Asynchronous Web Service Method Failure"
- Reply: Turbo: "RE: Asynchronous Web Service Method Failure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|