none
Hosting C++ WCF service with morethan one endpoint RRS feed

  • Question

  • Hi,

    I am getting below error while I try to modify existing implementation to support morethan one endpoint:

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

    Earlier, my application was supporting netTcp. Now, I also want to add basicHttp. precisely, more than 1 bindings.

    Below is my existing code:

    ServiceHost^ selfHost = gcnew ServiceHost(service11->GetType(),str);

    selfHost->Open();

    ***str*** is the valid URI.

    Now, how can i modify the code to support morethan 1 binding.

    Please help me :-(

    Thanks alot.

    Regards,

    Pradeep Daram

    Wednesday, January 7, 2015 10:55 AM

Answers

All replies