RE: WSE 3.0 SOAP Router for load balancing
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 03 Sep 2007 02:03:40 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}{\f1\fswiss\fprq2\fcharset134 System;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Thanks for your reply Glenn,
\par
\par Yes, you're right. The 'SoapActor' setting must be applied on the WSE service statically at compile time and we can not programmatically assign it. I've ever met some requests on this before and discussed with the WSE dev team and has been confirmed on this. However, as far as I know, this url is used to configure a value which the front end client proxy will send against(call the service), so I think this one could be a unique value for all the clients. At runtime, WSE will check to see whether the url front end client send against matches this value.
\par
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par
\par \pard\li720 --------------------
\par From: =?Utf-8?B?U29HTW8=?= <AgentSmith@xxxxxxxxxxxxx>
\par References: <312A69AF-EB1D-49CC-BF6C-3D0E5C9A5904@xxxxxxxxxxxxx> <H6eaId46HHA.360@xxxxxxxxxxxxxxxxxxxxxx>
\par Subject: RE: WSE 3.0 SOAP Router for load balancing
\par Date: Fri, 31 Aug 2007 12:30:00 -0700
\par
\par Hi Steven,
\par
\par Thanks for your reply, it answers my question.
\par
\par It is not allways possible for us to go the hardware or windows based load
\par balancing way as it depends on customer infrastructure.
\par
\par I had just understood that it was possible to do load balancing
\par functionallity based on configuration of the refferalCache, but unfortunately
\par this is not the case.
\par
\par I was going to take a custom approch to "Route SOAP Messages Based Upon
\par Their Content", which you also describes in #2. Then I could store the
\par routing information in a database (or xml file), and maybe even do a mix of
\par load balancing and content based routing in the custom routing functionality.
\par It leaves an issue of a dynamic URI in the SoapActor attribute of the
\par recieving services.
\par *************
\par [SoapActor("http://SoapRouterName/RoutedService.asmx")]
\par public class StockTraderService : System.Web.Services.WebService
\par \{
\par //Web service implementation
\par \}
\par *************
\par To make it all configurable, it would be great if this URI could be fetched
\par from the database as well, but as far as I know this is not possible because
\par this is compiled code - or is it?
\par
\par Sincerely
\par
\par Glenn M. S\f1\'c3\'b8\f0 rensen
\par
\par "Steven Cheng[MSFT]" wrote:
\par
\par > Hi Glenn,
\par >
\par > For the WSE 3 loading balance, I think you can consider the following
\par > approaches:
\par >
\par > 1. Is it possible that you use hardware or windows operating system's
\par > loading balance feature? Thus, you can simply let a single front server
\par > accept the requests and let the underlying loading balance framework to
\par > redirect requests to back end service server
\par >
\par > 2. WSE 3.0's rounter feature is mainly used for hidden the backend service
\par > server from front end client users. If you want to use it in a loading
\par > balance model, I think you may need to write the custom SoapRouter and do
\par > the loading balance redirect code logic in it:
\par >
\par > #Routing SOAP Messages with WSE
\par > http://msdn2.microsoft.com/en-us/library/aa529328.aspx
\par >
\par > #How to: Route SOAP Messages Based Upon Their Content
\par > http://msdn2.microsoft.com/en-us/library/aa528755.aspx
\par >
\par > As in the "Route SOAP Messages Based Upon Their Content" example indicate,
\par > you can programmatically determine the target url you want to redirect a
\par > WSE request, and for your custom loading balance router, you may need to
\par > give the proper target servers(from all balance servers) url. How do you
\par > think?
\par >
\par > Sincerely,
\par >
\par > Steven Cheng
\par >
\par > Microsoft MSDN Online Support Lead
\par >
\par >
\par >
\par > ==================================================
\par >
\par > Get notification to my posts through email? Please refer to
\par > http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
\par > ications.
\par >
\par >
\par >
\par > Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
\par > where an initial response from the community or a Microsoft Support
\par > Engineer within 1 business day is acceptable. Please note that each follow
\par > up response may take approximately 2 business days as the support
\par > professional working with you may need further investigation to reach the
\par > most efficient resolution. The offering is not appropriate for situations
\par > that require urgent, real-time or phone-based interactions or complex
\par > project analysis and dump analysis issues. Issues of this nature are best
\par > handled working with a dedicated Microsoft Support Engineer by contacting
\par > Microsoft Customer Support Services (CSS) at
\par > http://msdn.microsoft.com/subscriptions/support/default.aspx.
\par >
\par > ==================================================
\par > \tab
\par >
\par > This posting is provided "AS IS" with no warranties, and confers no rights.
\par >
\par >
\par >
\par >
\par >
\par >
\par >
\par >
\par >
\par >
\par >
\par > --------------------
\par >
\par >
\par > Hi,
\par >
\par > I've read several places and in several books, that you can implement load
\par > balancing with WSE 3.0 and the httpHandler
\par > Microsoft.Web.Services3.Messaging.SoapHttpRouter component (WS-Referral). I
\par > have only been able to implement the chain and content.based routing models.
\par >
\par > Does anyone know if and how you implement the load balancing routing model?
\par >
\par > /Glenn
\par >
\par \pard
\par
\par }
- Next by Date: Adding certificate using X509Store
- Next by thread: Adding certificate using X509Store
- Index(es):
Loading