Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8076851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:21:03+00:00 2026-06-05T15:21:03+00:00

A few months ago I asked about UsernameToken and SSL in WCF 4 web

  • 0

A few months ago I asked about UsernameToken and SSL in WCF 4 web service and received a good answer using wsHttpBinding.

However now we have had to revert to using basicHttpBinding due to incompatibilities with a Java client. I’ve tried switching the configuration as follows….

    <bindings>
        <basicHttpBinding>
            <binding name="secureBinding">
                <security mode="TransportWithMessageCredential">
                    <transport clientCredentialType="None"/>
                    <message clientCredentialType="UserName"/>
                </security>
            </binding>
        </basicHttpBinding>         
    </bindings>

And then using this config in the service…

    <service name="ServiceName">
        <endpoint binding="basicHttpBinding" bindingConfiguration="secureBinding" contract="ContractType" />
    </service>

However when I try to make a call to this service I am getting back an error…

The provided URI scheme ‘https’ is invalid; expected ‘http’.
Parameter name: via

Is there something else I need to configure to make this work with basicHttpBinding?

(Please note: My original requirements are still the same – SSL, usernametoken)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:21:05+00:00Added an answer on June 5, 2026 at 3:21 pm

    As per my comments (below the original question) this was actually a problem when using WCFStorm as the client.

    The solution to this was found as one of the answers on this question The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via

    This was to click on the “Config” settings option (NOT THE “Client Config”) in WCFStorm. After clicking on that, click on the “Security” tab on the dialog that pops up. Make sure “Authentication Type” is set to “None” (The default is “Windows Authentication”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A few months ago I remember reading about a useful little web service somebody
I've asked here a ton of questions about WSAAsyncSelect and NET.Few months ago I
I went to the iPhone Developer Tech Talk a few months ago and asked
From few months ago when i was using twitter, i was able to send
A few months ago I read about a technique so that if there parameters
I was using an ubuntu server I found via Alestic a few months ago
I wrote a video gallery web app a few months ago in CodeIgniter and
A few months ago I came across service where you could make your code
A few months ago i asked the question below. My question. However, i have
A few months ago I imported the HTML5/CSS3 update into Visual Web Developer 2010,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.