Ask a Question related to ASP.NET Web Services, Design and Development.
-
Tim Reynolds #1
how to redirect a web service
I support an application that runs on multiple service. A CSS url is used to
call the web services - and it round robins each to the next server so there
is even distribution accross our servers. Sometimes, based on the details in
the input parms, we may need to redirect the request to a different server.
Does anyone have a C# code snipet that can be used to redirect a webservice
call to another server? Or an MSDN library article.
Much thanks,Tim
Tim Reynolds Guest
-
redirect to guest if first redirect is doesnt work for a user
Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using... -
Noobilicious question: Exposing two interfaces on the same web service(C# web service)
What are the fundamentals? I'm getting ready to write a new web service and I'd like to have the ability to add interfaces as they change to... -
Referencing web service complex data type within a second web service (like a delegate)
Hi, I am trying to figure out if ASP.NET XML Web Services and the WSDL standard can handle this type of scenario: I have two web services, and... -
win32::eventlog DNS Server, Directory Service, File Replication Service
hello, does anyone know how to scan the special eventlogs on a dc like DNS Server log Directory Service File Replicatoin Service i tried it... -
Redirect to New Browser Window like Response.Redirect
That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in... -
Tim Reynolds #2
RE: how to redirect a web service
I am using this code snipet:
HttpWebRequest
myHttpWebRequest=(HttpWebRequest)WebRequest.Create (strTargetURL);
myHttpWebRequest.MaximumAutomaticRedirections=1;
myHttpWebRequest.AllowAutoRedirect=true;
HttpWebResponse
myHttpWebResponse=(HttpWebResponse)myHttpWebReques t.GetResponse();
However, I can't seem to 'capture' what is in the myHttpWebResponse. It
keeps right on cruising past this code - but GetResponse is synchronize call
- so it should haev a value in it. Event when I breakpoint at next line in
code I still can't access myHttpWebResopnse. Even if I could access it - I'm
not sure how to return it to the caller of this web service... Please
advise....
Thanks,
Tim
"Tim Reynolds" wrote:
> I support an application that runs on multiple service. A CSS url is used to
> call the web services - and it round robins each to the next server so there
> is even distribution accross our servers. Sometimes, based on the details in
> the input parms, we may need to redirect the request to a different server.
> Does anyone have a C# code snipet that can be used to redirect a webservice
> call to another server? Or an MSDN library article.
> Much thanks,TimTim Reynolds Guest
-
Chad Z. Hower aka Kudzu #3
Re: how to redirect a web service
=?Utf-8?B?VGltIFJleW5vbGRz?= <TimReynolds@discussions.microsoft.com>
wrote in news:D4DF50FA-68F0-42AB-99B1-611FBDF5DDFE@microsoft.com:Ive never tried it, but a basic ASP.NET aspx page with a Redirect in it should do it.> I support an application that runs on multiple service. A CSS url is
> used to call the web services - and it round robins each to the next
--
Chad Z. Hower (a.k.a. Kudzu) - [url]http://www.hower.org/Kudzu/[/url]
"Programming is an art form that fights back"
Blog: [url]http://blogs.atozed.com/kudzu[/url]
Chad Z. Hower aka Kudzu Guest
-
Pete Wood #4
Re: how to redirect a web service
Hi Tim...
Not sure what "specifically" your contraints are here do you want to:
a) Intercept the message (and redirect) as it reachs the target web service
b) Send the message to a different web service before it even reach the
"first"
a) is probably the easiest. When the message arrives at the web service,
you can simply invoke another one (which presumably is less busy!)
b) would involve an architectural change - you need to put in a "SOAP
router" infront of all your web services. This essentially acts as a
"postman", and just recieves the SOAP message, and forwards to the least
busy service. You can do SOAProuting via software or there is some neat
hardware (we've used) that does all this for you! :-)
Hope that helps!
--
Pete Wood
Contact me at [url]http://www.webserviceshelp.org[/url] for more help
__________________________________________________ _______
"Tim Reynolds" <TimReynolds@discussions.microsoft.com> wrote in message
news:D4DF50FA-68F0-42AB-99B1-611FBDF5DDFE@microsoft.com...>I support an application that runs on multiple service. A CSS url is used
>to
> call the web services - and it round robins each to the next server so
> there
> is even distribution accross our servers. Sometimes, based on the details
> in
> the input parms, we may need to redirect the request to a different
> server.
> Does anyone have a C# code snipet that can be used to redirect a
> webservice
> call to another server? Or an MSDN library article.
> Much thanks,Tim
Pete Wood Guest



Reply With Quote

