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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:05:32+00:00 2026-05-22T19:05:32+00:00

Using Visual Studio 2010, I developed a WCF service hosted on a web application

  • 0

Using Visual Studio 2010, I developed a WCF service hosted on a web application for a third party to use. They’re telling me that they cannot invoke it. For testing, they redirected me to Altova XmlSpy and pointed out that, when creating a new SOAP request, if they choose the “Send as SOAP+XML (SOAP 1.2)” check in the “Change SOAP Request parameters” menu item, they get the following two alert dialogs:

HTTP error: could not POST file ‘/TurniArc/WebServices/Processi.svc’ on server ’10.51.0.108’ (415)

Error sending the soap data to ‘http://10.51.0.108/TurniArc/WebServices/Processi.svc’ HTTP error: could not POST file ‘/TurniArc/WebServices/Processi.svc’ on server ’10.51.0.108’ (415)

I indeed verified that.
Unchecking that option, request is submitted as wanted. And I never had any problem invoking my web service with soapUI, the software I always used for in-house testing.

This is the first Web Service I create, starting without any theorical knowledge (but I guess everybody does 🙂 ), so I’m not even sure where to poke around to fix this. Could the problem lie in the binding? I created the service using Add/New Item/WCF Service and leaving all the default option, so it should be BasicHttpBinding

This is the serviceModel part of my web.config

<system.serviceModel>
    <behaviors>
        <serviceBehaviors>
            <behavior name="">
                <serviceMetadata httpGetEnabled="true" />
                <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
        </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true"/>
<!--other bindings related to proxies to other services I'm invoking -->
</system.serviceModel>

My interface only has the

[ServiceContract(Namespace="http://www.archinet.it/HRSuite/Processi/")]

attribute and the class implementing it has the

[ServiceBehavior(IncludeExceptionDetailInFaults = true, Namespace = "http://www.archinet.it/HRSuite/Processi/")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]

attributes

Thank you

Edit: The third party is using the Oracle SOA Middleware

  • 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-22T19:05:33+00:00Added an answer on May 22, 2026 at 7:05 pm

    BasicHttpBinding uses SOAP 1.1 so you cannot send request in SOAP 1.2 to the endpoint using this binding. HTTP status code 415 means unsupported media type which also implies this because SOAP 1.1 uses text/xml content type whereas SOAP 1.2 uses application/soap+xml content type.

    If you want BasicHttpBinding equivalent with SOAP 1.2 without any other WS-* stuff included in WsHttpBinding you need to create custom binding. The simplest version looks like:

    <bindings>
      <customBinding>
        <binding name="soap12">
          <textMessageEncoding messageVersion="Soap12" />
          <httpTransport />
        </binding>
      </customBinding>
    </bindings>
    

    Then you must manually define the endpoint for your service (at the moment you are using default endpoint):

    <services>
      <service name="YourNamespace.YourServiceClass">
        <endpoint address="" binding="customBinding" bindingConfiguration="soap12" 
                  contract="YourNamespace.YourServiceContractInterface" />
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
      </service>
    </services>
    

    Anyway I hardly believe that reconfiguring the SOAP version for consuming your service in Oracle SOA middleware takes more then few minutes.

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

Sidebar

Related Questions

I've developed an application using Visual Studio 2010, which by default compiles to the
I've developed a WCF service, and I'm testing it for performance using Visual Studio
I'm building an ASP.net application using Visual Studio Web Developer 2010 Express and have
I developed a simple webpart using the Visual Webpart template in Visual studio 2010
I'm using Visual Studio Team System 2008 at work to do web development. I've
I am using Visual Studio, developing a native application, I have a programmatical breakpoint
We have an ASP.Net MVC 1.0 solution developed using Visual Studio 2008 and .net
I'm looking for information about support for using ClearCase in Visual Studio 2010, I'm
For a solo developer using Visual Studio 2010 beta 2 is TFS Basic a
I have developed a small C# form application which calls a web service. Everything

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.