all groups > dotnet web services > april 2005 >
You're in the

dotnet web services

group:

Modifying the http/soap/xml after WS has created it, before it is


Re: Modifying the http/soap/xml after WS has created it, before it is ScottReynolds
4/24/2005 12:00:00 AM
dotnet web services: You can use WSE and create a filter for the input or ouput. Look on the net
for Mike Naulty. He has written a tool for WSE that allow you too intercept
messages.
[quoted text, click to view]

Re: Modifying the http/soap/xml after WS has created it, before it ScottReynolds
4/24/2005 12:00:00 AM
Sorry, I pointed you to the concept rather than the answer.

Here's a link to the WSE documentation that talk specifically about adding
filters. It allows you to do what ever you want to a message.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wse/html/167141a8-54db-4a91-b805-260e74077dda.asp

In dotnet 1.1 without wse look at inheriting a calss from
System.Web.Services.WebService and see if you cant override a render method.
This is how you would do it in asp.net.

What exactly do you want to do?

Scott

[quoted text, click to view]

Modifying the http/soap/xml after WS has created it, before it is Anders
4/24/2005 8:14:01 AM
Hi all,

I wish to intercept the http/soap/xml message being send back from a web
service - is this possible?

I've been asked to make a simple front to mimic business systems to enable
test of the client side. Correct responses already have been created in text
files to correspond to tests executed on clients. I wish to more or less
substitute the response with the pre-prepared responses.

I know this may seem like asking for trouble (and comments are welcome), but
could someone enlighten me as to where I can 'hook in'?

Thanks in advance,

Re: Modifying the http/soap/xml after WS has created it, before it Anders
4/24/2005 9:39:07 AM
It sounds like its more like an inspection tool, that you refer to? What I'm
looking for is, optimally, an event that fires after the http message has
been produced but before it is send to client. I also need to be able to
*alter* the contents of the http.

I just made a google search for mike naulty to look at the tool referenced,
but found nothing of relevance. A bit more to go on? I did find something on
wse, so you have pointed me a bit in the right direction.

Thanks so far, looking forward to more ;-)

Anders

[quoted text, click to view]
AddThis Social Bookmark Button