Hi guys,

I found a issue while using a IInterceptor with WcfFacility.

When I call a operation from a service that implements IDisposable, the
interceptor is not called. With a service that NOT implements IDisposable,
the interceptor was called correctly.

To reproduce the error, the test case can be used:
WillApplyCustomInterceptorsWhenCallingMethodsAsynchronously (in
WcfClientFixture.cs)  - just need modify IOperations to implement
IDisposable interface.

The exception:

System.InvalidOperationException : Something is wrong.  No AsyncResult is
available.  This may be a bug so please report it.

When was called sync (without BeginWcfCall) the value is returned, but the
IInterceptor didn't was called.

It's a bug or a behavior that I misunderstood? Lifestyle related?

Thanks,

Tiago Soczek

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to