473,661 Members | 2,506 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to catch message before it's sent to the Web Service

Hi everyone.I want to catch message before before it's send to the Web
Service.Just like WSE 3.0 customer UserNameTokenMa nager 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

Nov 7 '06 #1
5 1546
"navyliu" <na*****@hotmai l.comwrote in message
news:eZ******** ******@TK2MSFTN GP04.phx.gbl...
Hi everyone.I want to catch message before before it's send to the Web
Service.Just like WSE 3.0 customer UserNameTokenMa nager 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.
You can do this with a SoapExtension.

John
Nov 7 '06 #2
Hi John,thank you for you reply.but can you provider more detail?

"John Saunders" <john.saunder s at trizetto.comÐ´È ëÏûÏ¢ÐÂÎÅ:ur*** ***********@TK2 MSFTNGP03.phx.g bl...
"navyliu" <na*****@hotmai l.comwrote in message
news:eZ******** ******@TK2MSFTN GP04.phx.gbl...
>Hi everyone.I want to catch message before before it's send to the Web
Service.Just like WSE 3.0 customer UserNameTokenMa nager 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.

You can do this with a SoapExtension.

John


Nov 7 '06 #3
http://www.google.com/search?q=SoapExtension

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
Hi John,thank you for you reply.but can you provider more detail?

"John Saunders" <john.saunder s at trizetto.com>
дÈëÏûÏ¢ÐÂÎÅ:ur **************@ TK2MSFTNGP03.ph x.gbl...
>"navyliu" <na*****@hotmai l.comwrote in message
news:eZ******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Hi everyone.I want to catch message before before it's send to the
Web Service.Just like WSE 3.0 customer UserNameTokenMa nager 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.
You can do this with a SoapExtension.

John

Nov 7 '06 #4
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@pleasep leasenospam_lea stprivilege.com >
??????:45****** *************** *****@news.micr osoft.com...
http://www.google.com/search?q=SoapExtension

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
>Hi John,thank you for you reply.but can you provider more detail?

"John Saunders" <john.saunder s at trizetto.com>
дÈëÏûÏ¢ÐÂÎÅ:u r************** @TK2MSFTNGP03.p hx.gbl...
>>"navyliu" <na*****@hotmai l.comwrote in message
news:eZ****** ********@TK2MSF TNGP04.phx.gbl. ..

Hi everyone.I want to catch message before before it's send to the
Web Service.Just like WSE 3.0 customer UserNameTokenMa nager 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.

You can do this with a SoapExtension.

John


Nov 7 '06 #5
"navyliu" <na*****@hotmai l.comwrote in message
news:Oe******** ******@TK2MSFTN GP02.phx.gbl...
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.
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 SoapExtensionAt tribute 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/de...extensions.asp
http://msdn.microsoft.com/msdnmag/is...n/default.aspx
http://msdn.microsoft.com/msdnmag/is...businessrules/

John
Nov 7 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1792
by: Dan Bass | last post by:
In a somewhat complex application, I've developed plug-in architecture and am having a problem as to when to catch general exceptions for logging purposes. In each plug-in class library, for example, I'm assuming it's throw on errors, and that the core then catches them. I've got proxy classes handling some fiddly details of the plug-ins. Should I allow the exception to bubble to the top most point it can in a call stack, then catch...
2
2233
by: Greg Merideth | last post by:
This little bugger of a problem took us most of the day to track down but I'm glad it happened as I would like to know why the WSDL generated code that operates inside of a try..catch block throws an exception to the screen when it craps out instead of being caught by the try..catch block. Basically, from inside of VS 2003 I added the reference to the web service using a shared .dll to pass a class reference between the client/server. ...
3
1935
by: tshad | last post by:
I am trying to do: ************************************* Try objCmd.ExecuteNonQuery() Catch e As Exception response.write("We have a message: " & e.Message & "<br>") End Try ************************************************ And I get the error:
4
1264
by: Shapper | last post by:
Hello, I am sending an e-mail and I need to call a function the following way: 1. Display("OK") if Email was SENT 2. Display("Error") if Email was NOT SENT I have this code block: Try
2
3559
by: Alit Atmaja via .NET 247 | last post by:
I need to catch the soap message that travel over thenetwork/Internet from Web Service provider to Web Service Clientor the other way. Some operations will be done to catchedmessage like securing or commpressing the message. The idea iscame from a software named SOAPscope. -------------------------------- From: Alit Atmaja ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) ...
5
1414
by: Rudiga | last post by:
Hi I am trying to build in a try-catch block to access a web service and am trying to control how long it attempts to access to service before running the catch part of the code. Is there a specific way of doing this? try {
6
2032
by: Mantorok | last post by:
Hi all I have a console application that runs every night via a scheduled task, there is a try-catch block in my Main class, whenever an error is caught it is written to a log file and then emailed to several people. The application is run using a domain service account, if the program is successful it emails this result fine. The problem is, the catch doesn't seem to perform correctly if the program fails, all I end up with is an...
2
2685
by: =?Utf-8?B?S2lrZQ==?= | last post by:
Hello, I need to be able to somehow wrap calls made through a standard Interface used to access a WCF service. The reason for this is to have a higher degree of control, mainly to catch all kinds of exceptions transperently, and maybe translate them to other exception types. I've tried to wrap the interface with a class but that way I can only invoke methods of the interface passing a string to an execute method...
6
1514
by: rhaazy | last post by:
I am looking for some feedback on using try catch statements. Usually when I start a project I use them for everything, but stop using them as often after the "meat n' potatos" of the project is finished. I am thinking it would be useful to at least have a blanket try-catch to surround all of the code, and add more to aid in debugging and catching specific exceptions. I want to change my habits but before I do I wanted to see if anyone...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.