title: How do I get a WCF service's WSDL to say that it requires basic authentication?
body: <p>We have a WCF service hosted on IIS behind a SiteMinder proxy (for lack of a better term).  In essence, requests enter the SiteMinder at <a href="https://public.domain.com/SOA/Service.svc" rel="nofollow noreferrer">https://public.domain.com/SOA/Service.svc</a> with http basic authentication.  SiteMinder verifies the authentication, strips it off and sends a request to <a href="http://internal.domain/SOA/Service.svc" rel="nofollow noreferrer">http://internal.domain/SOA/Service.svc</a> with no authentication.</p>
  
  <p>This presents two problems when querying the service WSDL:</p>
  
  <ol>
  <li>The URLs within the WSDL show http: instead of https:</li>
  <li>The WSDL doesn't make any mention of requiring basic authentication</li>
  </ol>
  
  <p>I've been able to address concern #1 by implementing an IWsdlExportExtension that replaces the urls within the ExportEndpoint( method.  I have not been able to figure out how to address problem #2 though.  Can anyone out there point me in the right direction?</p>
  
  <p>Thanks!</p>