Questions tagged [basichttpbinding]

Represents a binding that a Windows Communication Foundation (WCF) service can use to configure and expose endpoints that are able to communicate with ASMX-based Web services and clients and other services that conform to the WS-I Basic Profile 1.1.

From MSDN:

Represents a binding that a Windows Communication Foundation (WCF) service can use to configure and expose endpoints that are able to communicate with ASMX-based Web services and clients and other services that conform to the WS-I Basic Profile 1.1.

257 questions
313
votes
3 answers

BasicHttpBinding vs WsHttpBinding vs WebHttpBinding

In WCF there are several different types of HTTP based bindings: BasicHttpBinding WsHttpBinding WebHttpBinding What are the differences among these 3? In particular what are the differences in terms of features / performance and compatability?
Mubashar
  • 12,300
  • 11
  • 66
  • 95
89
votes
8 answers

The maximum message size quota for incoming messages (65536) has been exceeded

I get this exception while creating scope for few tables all those tables are huge in design
Onkar
  • 891
  • 1
  • 6
  • 4
34
votes
9 answers

How to fix "could not find a base address that matches schema http"... in WCF

I'm trying to deploy a WCF service to my server, hosted in IIS. Naturally it works on my machine :) But when I deploy it, I get the following error: This collection already contains an address with scheme http. There can be at most one…
Craig Shearer
  • 14,222
  • 19
  • 64
  • 95
28
votes
9 answers

The authentication schemes configured on the host ('Anonymous') do not allow those configured on the binding 'BasicHttpBinding' ('Negotiate').

The authentication schemes configured on the host ('Anonymous') do not allow those configured on the binding 'BasicHttpBinding' ('Negotiate'). Please ensure that the SecurityMode is set to Transport or TransportCredentialOnly. Additionally, this…
Harsha
  • 831
  • 1
  • 9
  • 16
22
votes
4 answers

Large Binary (byte[]) File transfer through WCF

I am trying to build a WCF service that allows me to send large binary files from clients to the service. However I am only able to successfully transfer files up to 3-4MB. (I fail when I try to transfer 4.91MB and, off course, anything beyond) The…
user402186
  • 489
  • 2
  • 7
  • 17
22
votes
1 answer

How can I use WCF with the basichttpbinding only , SSL and Basic Authentication in IIS?

Is it possible to setup a WCF service with SSL and Basic Authentication in IIS using only the BasicHttpBinding-binding? (I can’t use the wsHttpBinding-binding) The site is hosted on IIS 7, with the following authentication set up: Anonymous…
Tim
  • 939
  • 1
  • 7
  • 13
21
votes
4 answers

Wcf Basic authentication

Having some trouble using basic authentication with a simple test Wcf service. I am getting an exception: The requested service, 'http://qld-tgower/test/Service.svc' could not be activated. See the > server's diagnostic trace logs for more…
TheRealTy
  • 2,409
  • 3
  • 22
  • 32
21
votes
2 answers

.NET or Win32 Equivalent of "netsh http add urlacl" command

There are several questions around how to allow a self-hosted WCF application to use BasicHttpBinding with HTTP.SYS without requiring administrative privileges. It boils down to needing to grant permission (from an admin context) to the URL, then…
Travis
  • 2,654
  • 4
  • 26
  • 46
21
votes
3 answers

How can I programmatically create this custom binding?

We've got to access a web service that uses soap11... no problem I'll just set the binding as: BasicHttpBinding wsBinding = new BasicHttpBinding(BasicHttpSecurityMode.TransportWithMessageCredential); Nope. No dice. So I asked the host of the…
D.Forrest
  • 845
  • 1
  • 9
  • 23
18
votes
5 answers

What 130 second timeout is killing my WCF streaming service call?

Just recently I started to investigate a tricky problem with WCF streaming in which a CommunicationException is produced if the client waits for any longer than 130 seconds in between sends to the server. Here is the full…
jpierson
  • 16,435
  • 14
  • 105
  • 149
16
votes
4 answers

Why is the first WCF client call slow?

I am trying to figure out why the first WCF call after client application start takes much more time comparing to second one. What I did to test that: Implemented simple self hosted WCF Server and console client. Server IS warmed up - I run it and…
Dmitry Harnitski
  • 5,838
  • 1
  • 28
  • 43
12
votes
2 answers

WSDL URL for a WCF Service (basicHttpBinding) hosted inside a Windows Service

I am hosting a WCF service in a Windows Service on one of our servers. After making it work in basicHttpBinding and building a test client in .NET (which finally worked) I went along and try to access it from PHP using the SoapClient class. The…
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
11
votes
8 answers

WCF, BasicHttpBinding: Stop new connections but allow existing connections to continue

.NET 3.5, VS2008, WCF service using BasicHttpBinding I have a WCF service hosted in a Windows service. When the Windows service shuts down, due to upgrades, scheduled maintenance, etc, I need to gracefully shut down my WCF service. The WCF service…
David Chappelle
  • 1,243
  • 5
  • 13
  • 29
10
votes
0 answers

Can .NET web services with wsHttpBinding be consumed by python

I got a problem because I have a web service with wsHttpBinding: I can't get my python code call it, every time that I try to call I receive this error…
Carlo 1585
  • 1,455
  • 1
  • 22
  • 40
9
votes
3 answers

Problem with large requests in WCF

I've seen this problem posted a million times, but none of the solutions have worked for me...So here I go: When calling a WCF service I get the following error: The formatter threw an exception while trying to deserialize the message: There was…
HeineSkov
  • 449
  • 1
  • 7
  • 18
1
2 3
17 18