Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding

Last post 05-29-2009 10:07 PM by ronald_yoh. 0 replies.

Sort Posts:

  • Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding

    05-29-2009, 10:07 PM
    • Member
      78 point Member
    • ronald_yoh
    • Member since 10-26-2008, 10:37 PM
    • Posts 271

    I;m getting the below error:

     

    Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding. Registered base address schemes are [].
     

    backend code:

     

    sh = New ServiceHost(GetType(WcfService1.ServiceClass)) 'This line which produces the error
             sh.Open()
     
    <service name="WcfService1.ServiceClass" behaviorConfiguration="metadataSupport">
    				<host>
    					<baseAddresses>
    						<add baseAddress="http://localhost:8080/WCFService1"/>
                <add baseAddress="net.pipe://localhost/WCFService1"/>
                <add baseAddress="net.tcp://localhost:8000/WCFService1"/>
    					</baseAddresses>
    				</host>
    				<endpoint address="" binding="wsHttpBinding" contract="WcfService1.WCFService.IServiceClass"/>
            <endpoint address="tcpmex" binding="mexTcpBinding" contract="IMetadataExchange"/>
            <endpoint address="namedpipemex" binding="mexNamedPipeBinding" contract="IMetadataExchange"/>
    			</service>

     

     any suggestions?

Page 1 of 1 (1 items)