Geeks With Blogs

Blue Probe It’s the parting gift when you host an alien abduction

I had a w/s that when I first read the WSDL in test, was http, but needed to be accessed from behind a reverse proxy with https.  Here are the steps:

      1. Change the app.config, <httpTransport> to <httpsTransport>
      2. Change the app.config and the url address in the <endpoint>to the reverse proxy address
      3. Add System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };  to disable certificate validation.  This will validate all certificates (including invalid, expired or self-signed ones).
Posted on Thursday, July 5, 2012 8:39 AM .NET | Back to top


Comments on this post: Calling a web service through a reverse proxy

# re: Calling a web service through a reverse proxy
Requesting Gravatar...
Very effectively written information. Will probably be invaluable to anybody who usess it, including myself. Sustain the good work – for certain i’ll try more posts
Left by asian girl on Dec 06, 2012 3:07 AM

# re: Calling a web service through a reverse proxy
Requesting Gravatar...
Fantastic question.I would love to see the response of the expert.I am very eager to find the solution of it.
Left by i date asia on Dec 20, 2012 8:11 PM

# re: Calling a web service through a reverse proxy
Requesting Gravatar...
I'm pretty new to this field, so what's the difference between http:// and https:// ? It annoys me when it changes from one to another. Should it do that? Thank you.
Left by Private cloud on Feb 19, 2013 9:45 AM

Your comment:
 (will show your gravatar)


Copyright © Ken Hortsch | Powered by: GeeksWithBlogs.net