Groups | Blog | Home
all groups > dotnet web services enhancements > november 2006 >

dotnet web services enhancements : How to catch message before it's sent to the Web Service


John Saunders
11/6/2006 11:02:30 PM
[quoted text, click to view]

You can do this with a SoapExtension.

John

navyliu
11/7/2006 12:00:00 AM
Hi John,thank you for you reply.but can you provider more detail?

"John Saunders" <john.saunders at trizetto.com> дÈëÏûÏ¢ÐÂÎÅ:urCjgHiAHHA.4740@TK2MSFTNGP03.phx.gbl...
[quoted text, click to view]

Dominick Baier
11/7/2006 12:00:00 AM
http://www.google.com/search?q=SoapExtension

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

[quoted text, click to view]

navyliu
11/7/2006 12:00:00 AM
thanks. I've studied SoapExtention. But I think it can not solve my problem.
To use SoapExtention,I have to make some change to my Web Services.That's to
expensive.
I think ISAPI can do this.But we can only use C or C++ to build ISAPI
filters,and the reference resources I fund are too old. Is ISAPI an
out-of-time sultion?

"Dominick Baier" <dbaier@pleasepleasenospam_leastprivilege.com>
??????:4580be6319b898c8d05f9464b310@news.microsoft.com...
[quoted text, click to view]

navyliu
11/7/2006 12:00:00 AM
Hi everyone.I want to catch message before before it's send to the Web
Service.Just like WSE 3.0 customer UserNameTokenManager does.If I can do
this,I can implement some functions in my framework.For example,I can
plug-in a customer security add-in in IIS.

I'll appriciate it if you can provide some information.

Best Regards.
Navyliu


John Saunders
11/7/2006 6:39:41 AM
[quoted text, click to view]

You do not have to change your web service in order to use a SoapExtension.
One way to use a SoapExtension is by applying a SoapExtensionAttribute to
the web service class and/or to web methods. But the other way is to
configure it in the web.config file. This technique does not require any
changes to the web service.

Here are some links:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp
http://msdn.microsoft.com/msdnmag/issues/03/07/xmlschemavalidation/default.aspx
http://msdn.microsoft.com/msdnmag/issues/03/08/businessrules/

John

AddThis Social Bookmark Button