> I am designing an application,in which, i wish to catch an exception if the
> destination SoapReceiver doesnt exist or is not actively running.
[quoted text clipped - 9 lines]
> Does the FaultTo works only with inproc?
> Is there a better way to throw and catch Faults?
In general, FaultTo and ReplyTo are tricky things to obey at a receiver
because they provide an easy mechanism for someone to flood a different
server by sending bad requests with one of these headers pointing at
another machine. By default, WSE will inject a Via element into incoming
ReplyTo and FaultTo headers to force them back down the originating
connection. There is a specific configuration for enabling ReplyTo and
FaultTo behaviour - it's called allowResponseRedirection and details can
be found in the wse.config file in the WSE installation directory. Only
if you enable this will the product obey these headers.
soap.inproc works here regardless of this setting because it is using an
app.domain wide central dispatch queue rather than unique network
connections and therefore the injected Via doesn't prevent delivery of
the fault.

Signature
This posting is provided "AS IS", with no warranties, and confers no rights.
Ramadass - 29 Sep 2004 22:41 GMT
Thanks,
I added <allowRedirectedResponses enabled="true" /> and the fault receiver
receives the message on a fault.
This works fine as long as my faultreceiver endpoint is of the format
"soap.tcp://localhost/xyz",
but Fails if the endpoint is like "soap.tcp://localhost:8040/xyz".
Is my address configuration incorrect?
Does this affect only when i use the localhost or does it affect if use
soap.tcp://servername:portname/xyz?
Regards
Ramadass
> > I am designing an application,in which, i wish to catch an exception if the
> > destination SoapReceiver doesnt exist or is not actively running.
[quoted text clipped - 24 lines]
> connections and therefore the injected Via doesn't prevent delivery of
> the fault.
Hervey Wilson [MSFT] - 03 Oct 2004 19:02 GMT
> Thanks,
> I added <allowRedirectedResponses enabled="true" /> and the fault receiver
[quoted text clipped - 5 lines]
> Does this affect only when i use the localhost or does it affect if use
> soap.tcp://servername:portname/xyz?
Specifying a port should work provided that you have registered the your
fault receiver at the same address.

Signature
This posting is provided "AS IS", with no warranties, and confers no rights.