title: create asp.net webservice for SSL HTTPS
body: <p>I use Visual Studio 2008... and have created an ASP.NET website.  Within this website project, I have a Web Service file .asmx.  Calling this service over HTTP works just fine.  But there is now a requirement that it be called over SSL / HTTPS.</p>
  
  <p>When I browse to the URL through HTTP, the .asmx and WSDL show up just fine.  but as soon as i put  HTTPS , the browser shows the message 'Internet Explorer cannot display the webpage'</p>
  
  <p>We run this site on a windows 2003 server with IIS.</p>
  
  <p>If easily possible, I would only want to call this service over HTTPS... and leave the rest of the pages in this project available over HTTP.  If thats very difficult I can still create a new project for this service... but I still dont know how to allow it to be accessed over HTTPS.</p>
  
  <p>Thanks in advance for any help!</p>
  
  <pre><code>Imports System.Web
  Imports System.Web.Services
  Imports System.Web.Services.Protocols
  Imports System.Data
  
  &lt;WebService(Namespace:="http://services.vm.vmc/InstantAccount/")&gt; _
  &lt;WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)&gt; _
  &lt;Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()&gt; _
  Public Class MyWebService
      Inherits System.Web.Services.WebService
  
      &lt;WebMethod()&gt; _
      Public Function doSomething(ByVal p_String As String) As String
            Return "Test"
      End Function
  End Class
  </code></pre>