Hi Chris,
I believe you cannot perform redirections from a web-service that simply.
Notice that a redirection is a HTTP response with status code 3xx, which
delegates to the client to request the (eventual same) web resource from
another URL. Although you can send the response code back to the client (for
instance, through HttpResponse.Redirect) you will always rely on the client
to perform the new request.
--
Best regards,
Abel Eduardo Pereira
"Chris" <Ch***@discussions.microsoft.com> wrote in message
news:19**********************************@microsof t.com...
The subject says it all, I have a webservice which I want to require SSL
on.
I don't want to do this via IIS, I would like to enable it via the
service.
Something where when the service is called, if it is called on port 80, it
redirects to 443.
I can do this on normal ASP and ASP.NET pages with ForceSSL.inc and a
include statement. I can't seem to figure out how to make it work with a
web
service.
Anyone have any ideas ?