From a webservice tell if you are coming in on a secure port.

U

UJ

Is there a way to tell when a webservice is called whether it came in
through HTTP or HTTPS ?

TIA - Jeff.
 
U

UJ

I tried that but Request doesn't seem to be defined. When I attempt to
reference it, it says 'Type or namespace Request could not be found.'

Is it not defined for web services?
 
Q

Q. John Chen

My mistake. Now I know what you meant - you want detect what channel is
used in your web service method.

I don't think you can do this. Web service is at a higher layer over
the transport layer such as HTTP. It can be over other tranport layer
(https for example). Maybe other, if any. It defeat it's purpose if you
have to care what mechnism is used to tranfer the data.

If your data is of critical information - such as credit card, etc. you
make it available only through SSL. You can set it up through IIS. I
just don't understand why want do this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top