News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

How to: Configure the WSE SOAP Router

Started by thiruvasagamani, Mar 09, 2009, 05:36 PM

Previous topic - Next topic

thiruvasagamani

How to: Configure the WSE SOAP Router

There are two basic steps to configure the WSE router:

    * Configure the WSE router and WebServiceExtension attribute for a Web application to use WSE on the intermediate computer.
    * Configure a referral cache, which contains the URLs that a SOAP message should be rerouted to on the intermediate computer.

To configure the WSE router and WebServiceExtension attribute for a Web application


      For the Web application that is hosting the SOAP router, include one or more <add> Element for <httpHandlers> (WSE for Microsoft .NET) elements in the <httpHandlers> section of the Web.config file.

      Although the <add> Element for <httpHandlers> (WSE for Microsoft .NET)section that you add to your Web.config file will be nearly identical to the following code example, the path attribute is application configurable. The path attribute controls the set of requests received by ASP.NET that are processed by the WSE router. That is, if an application needs the WSE router to reroute two specific Web services, append two <add> elements to the Web.config file, each specifying exactly one file in the path attribute. This allows client applications to continue to send SOAP requests to one endpoint that may or may not be a SOAP router. That endpoint is configured based on application requirements to optionally reroute the requests to another Web server without updating the client application.

Source : MSDN
Thiruvasakamani Karnan