Does anyone know how to catch a policy exception that is thrown on the server
side from within my web service? For example, I may want to catch any
PolicyVerificationException exceptions that are thrown by the policy
mechanism so that I can log the event on the server. This way the admin
knows if someone keeps constantly trying to access the web service in an
insecure fashion.
Dilip Krishnan - 18 Feb 2005 14:51 GMT
Hello Ford152,
Write a filter for soap faults
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Does anyone know how to catch a policy exception that is thrown on the
> server side from within my web service? For example, I may want to
> catch any PolicyVerificationException exceptions that are thrown by
> the policy mechanism so that I can log the event on the server. This
> way the admin knows if someone keeps constantly trying to access the
> web service in an insecure fashion.
John Bristowe - 23 Feb 2005 17:53 GMT
The WSE supports policy tracing through the following configuration element:
/configuration/microsoft.web.services2/policyTrace
Policy tracing allows you to observe enforcement & verification at runtime;
where it succeeded, where it failed, etc. Very, very useful - strongly
recommended.
HTH,
John
> Does anyone know how to catch a policy exception that is thrown on the
> server
[quoted text clipped - 3 lines]
> knows if someone keeps constantly trying to access the web service in an
> insecure fashion.