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 6735385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:00:11+00:00 2026-05-26T11:00:11+00:00

My WCF service works with WebInvoke attributes and using httpGetEnabled. [OperationContract] [WebInvoke(Method=POST, UriTemplate =

  • 0

My WCF service works with WebInvoke attributes and using httpGetEnabled.

[OperationContract]
[WebInvoke(Method="POST", UriTemplate = "/Function1")]
void Function1(Stream input);

[OperationContract]
[WebInvoke(Method="POST", UriTemplate = "/Function2")]
void Function2( Stream input );

When I try to get it to work with https, I cannot access the UriTemplates. I can however, access the svc and wsdl.

<services>
  <service behaviorConfiguration="SslBehavior" name="MyService">
    <endpoint address="" binding="webHttpBinding" contract="IMyService" behaviorConfiguration="WebBehavior" />
  </service>
</services>

<behaviors>
  <serviceBehaviors>
    <behavior name="SslBehavior">
      <serviceMetadata httpsGetEnabled="True" />
      <serviceDebug includeExceptionDetailInFaults="True"/>
    </behavior>
  </serviceBehaviors>

  <endpointBehaviors>
    <behavior name="WebBehavior">
      <webHttp />
    </behavior>
  </endpointBehaviors>
</behaviors>

This service is hosted in IIS 7. Is there something obvious that I’m missing? I’ve tried as many combinations of configuration as possible. When I try to post to one of the WebInvoke links I get a 404 error.

Another company will be posting to this service, which is why it must be RESTfull

Edit

I did try this in the bindings node:

  <webHttpBinding>
    <binding name="SslBinding" transferMode="Streamed">
      <security mode="None">
        <transport clientCredentialType="None" />
      </security>
    </binding>
  </webHttpBinding>

And set the BindingConfiguration on the endpoint. Same issue 🙁

  • 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-05-26T11:00:12+00:00Added an answer on May 26, 2026 at 11:00 am

    Try setting seucrity mode to Transport:

    <bindings>
      <webHttpBinding>
        <binding name="SslBinding" transferMode="Streamed">
          <security mode="Transport">  
            <transport clientCredentialType="None" />     
        </security>     
      </binding>   
    </webHttpBinding>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My WCF REST service method: [WebInvoke(Method = POST, ResponseFormat = WebMessageFormat.Xml)] Metadata[] Extract(Stream stream);
I'm using WCF for JSON services using this format: [OperationContract] [ServiceKnownType(typeof(ComplexResult))] [WebInvoke( Method =
I'm using WCF Restservice to authenticate user. I have a POST method and works
I created a WCF SOAP service using VS 2008 that works server side. I
I have a WCF service, this is a method which I'd to call: [OperationContract]
I have a RESTful WCF service with a method declared like this: [OperationContract(Name =
I'm trying to perform a POST to a WCF service. When using Firefox 8,
I have a website with a Silverlight-enabled WCF service. The service works fine, and
I have a WCF service that works ok if I create the service without
I have a WCF service which works on my dev machine running IIS 7,

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.