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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:39:15+00:00 2026-05-23T18:39:15+00:00

I have WCF hosted SOAP service which I’m able to hit from the browser

  • 0

I have WCF hosted SOAP service which I’m able to hit from the browser as well as from my SOAP client fine when making HTTP GET requests, however, when doing any HTTP POST requests, the response is a 404 Not Found.

My Web.config looks like:

<system.serviceModel>
    <behaviors>
        <serviceBehaviors>
            <behavior>
                <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
                <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
                <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                <serviceDebug includeExceptionDetailInFaults="true"/>
            </behavior>
        </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
    <bindings>
        <wsHttpBinding>
            <binding>
                <security mode="Transport">
                    <transport clientCredentialType="Certificate" />
                </security>
                <readerQuotas maxDepth="15" maxStringContentLength="524288" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
            </binding>
        </wsHttpBinding>
        <basicHttpBinding>
            <binding>
                <readerQuotas maxDepth="15" maxStringContentLength="524288" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
            </binding>
        </basicHttpBinding>
    </bindings>
</system.serviceModel>

My service is defined in the markup using the .svc file as:

<%@ ServiceHost Language="C#" Debug="true" Service="Boca.WebServices.Billing.QBService" CodeBehind="QBService.svc.cs" %>

Again, I can hit my service using the browser and a SOAP client as follows using an HTTP GET but not with HTTP POST:

  • http://api.mydomain.com/Billing/QBService.svc
  • http://api.mydomain.com/Billing/QBService.svc?wsdl

What am I doing wrong? Should I not be using the .svc markup and just define my service in the Web.config?

UPDATE:

When I “start debug” my WCF project from within VS 2010 using IIS Express on a localhost:8181 port, the HTTP POSTS to the service work. It’s only when the service is hosted through IIS the HTTP POST to the service are being rejected or not found.

  • 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-23T18:39:16+00:00Added an answer on May 23, 2026 at 6:39 pm

    I’ve solved the problem. It, after all, was not an IIS issue rather an issue with the me not configuring the <basicHttpBinding> with <security> node. I din’t thoroughly read about bindings and how they work, so I thought that adding the <wsHttpBinding> alongside the <basicHttpBinding> would add SSL support for WCF.

    Doing so and configuring the default <wsHttpBinding> with the <security> node definitely allowed me to GET the SOAP metadata securely even though internally it was still using the <basicHttpBinding>, however POSTs were not supported.

    I updated my configuration so that the transport clientCredentialType was set to None and that resolved the issue:

    <bindings>
        <basicHttpBinding>
            <binding name="QBService_BasicHttpBinding">
                <security mode="Transport">
                    <transport clientCredentialType="None" />
                </security>
                <readerQuotas maxDepth="15" maxStringContentLength="524288" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
            </binding>
        </basicHttpBinding>
    </bindings>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF Service hosted as Windows Service and client is an ASP.Net
I have simple WCF service hosted on Windows Service. When the client of wcf
We have a SOAP web service hosted via WCF. One of the clients we
Have a WCF service (hosted in IIS 6.0) that takes an XML feed from
I have a WCF service hosted in IIS which takes a long time (around
I have a self-hosted WCF web service running, and an Android client application. I
I have WCF service which launches the remote process from Process.Start successfully on stand
We have a WCF service hosted on ServerA which is a server with no-direct
I have a WCF service hosted in a Windows service which publishes errors to
I have a WCF process hosted in a windows service. I am wondering if

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.