Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2007

Tip: Looking for answers? Try searching our database.

Content-based routing and content modification

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Mediavilla - 04 Oct 2007 11:43 GMT
I have a web service with SoapExtensions that read and modify the
content of the SOAP message both in the request and in the response.

I want to insert an element of routing to redirect the message to
other servers (depending on fields in the message) after the input
modifications are done. The response of the other servers will also be
processed by my extensions. This means that the actual code in the web
service will not be reached, and all the processing will happen in the
router and the extensions. I want no (de)serialization, working just
on the XML.

I have seen that SOAP routing is done by overriding SoapHttpRouter but
even if I assign *.asmx to my router, the message goes to and from the
other servers without passing through my SoapExtensions.

Is there some component in WSE that allows to intercept the message
content (including HTTP headers) in both ways in a configured order
(so that the routing occurs after all my input ffilters and before all
my output filters).

I think that SoapFilter could be what I am looking for, but I'd like
to know if somebody has used it along SoapHttpRouter.

Thanks in advance

--
David Mediavilla
David Mediavilla - 05 Oct 2007 12:56 GMT
> I have a web service with SoapExtensions that read and modify the
> content of the SOAP message both in the request and in the response.
[quoted text clipped - 6 lines]
> router and the extensions. I want no (de)serialization, working just
> on the XML.

Perhaps I could use the ProcessRequestMessage and
ProcessResponseMessage to reproduce the processing done by my
SoapExtensions (this involves reading from the XML but also modifying
it.
Can that be done with SoapHttpRouter?

> David Mediavilla

--
David Mediavilla

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.