Hi Erik,
What happens if you interrup the service execution returning a
SoapFilterResult.Stop instead of executing a bogus service.
The logic will remain almost equal but you can eliminate the bogus service.
Regards,
Pablo Cibraro.
> Okay, I've been testing some solutions today and I came up with something
> that works, but it is very ugly.
[quoted text clipped - 50 lines]
>> also no solution, because it just terminates, nothing else.
>> Can anyone help me with this?
Erikst - 19 Jun 2006 08:09 GMT
Pablo,
Using SoapFilterResult.Stop is not possible because that is a boolean and I
have to return a SoapFilterResult. Maybe you were thinking of
SoapFilterResult.Terminate? This also doesn’t work, because
SoapFilterResult.Terminate doesn’t have any effect on a input pipeline, only
on an output pipeline.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse3.0_mref/htm
l/T_Microsoft_Web_Services3_SoapFilterResult.asp:
“The behavior of the pipeline and its interpretation of the SoapFilterResult
returned from ProcessMessage depends on whether the Soap filter is an input
filter, or an output filter. In the case of an input filter that processes
incoming messages, if the ProcessMessage returns Continue processing will
continue to the next filter in the pipeline. However, if this filter returns
a SoapFilterResult containing a user defined SoapServerMethod then processing
of the pipeline will be transferred to this user defined method, and then
terminated.
If a Soap filter is an output filter that processes outgoing messages and
ProcessMessage returns Terminate, processing will stop, and the next filter
in the pipeline will not be executed.”
If I’m reading this right, it suggests that there is no way to interrupt an
input pipeline and/or create an output pipeline without running a service.
Maybe some other suggestions, everything is welcome?
Thanks in advance,
Erik Steinebach
> Hi Erik,
>
[quoted text clipped - 59 lines]
> >> also no solution, because it just terminates, nothing else.
> >> Can anyone help me with this?