beantaxi
10-22-2007, 10:17 PM
Hello all,
I have a Spring .NET app whose middle tier services are exposed via Spring's remoting. Each has an endpoint defined by an HTTP URL in the config file. I'm agnostic about remoting details at the moment but it's clear that HTTP is being used.
I now have a requirement, that my service be able to determine the URL used to invoke it, possibly to do something in the HTTP Response object. The app isn't a true Web app, and has no Global.aspx etc deployed: in fact, part of the req is that we avoid it.
I'm told that there's a way using HTTP Handler to get this information, possibly from System.Web. However I've been through the docs and I'm not seeing anything -- in fact as far as I know, this advice is nonsensical.
Is this ringing a bell with anyone?
Thanks much,
The Taxi
I have a Spring .NET app whose middle tier services are exposed via Spring's remoting. Each has an endpoint defined by an HTTP URL in the config file. I'm agnostic about remoting details at the moment but it's clear that HTTP is being used.
I now have a requirement, that my service be able to determine the URL used to invoke it, possibly to do something in the HTTP Response object. The app isn't a true Web app, and has no Global.aspx etc deployed: in fact, part of the req is that we avoid it.
I'm told that there's a way using HTTP Handler to get this information, possibly from System.Web. However I've been through the docs and I'm not seeing anything -- in fact as far as I know, this advice is nonsensical.
Is this ringing a bell with anyone?
Thanks much,
The Taxi