The WsHttpBinding is a WCF (Windows Communication Framework) binding class that uses HTTP or HTTPS as a transport protocol and is complaint with a variety of WS* standards (reliability,security,etc). Services that use this binding are designed to inter-operate with WS* complaint clients.
Questions tagged [wshttpbinding]
263 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
36
votes
1 answer
What is the difference between BasicHttpsBinding and WsHttpBinding with Transport security?
As BasicHttpsBinding is new at .net 4.5, I don't seem to be able to find much stuff around differences between the two.

dqm
- 1,190
- 3
- 12
- 19
18
votes
2 answers
At least one security token in the message could not be validated
Server config:
…

croisharp
- 1,926
- 5
- 25
- 40
17
votes
5 answers
netTcpBinding or wsHttpBinding
I have a WCF Service hosted as Windows Service and client is an ASP.Net application consuming WCF Service methods.
In process of implementing security, I am confused over which among netTcpBinding/wsHttpBinding will be suitable for my case.
Most…

inutan
- 10,558
- 27
- 84
- 126
17
votes
3 answers
How to abort a stream from WCF service without reading it to end?
This is a problems I've been investigating in the last week and can't find any solution. Found posts asking the same but never getting an answer, hopefully this will help others as well.
I have a WCF service that returns an object containing a…

Yev
- 276
- 3
- 13
16
votes
4 answers
What is the difference between wsHttpBinding and ws2007HttpBinding?
On the MSDN we can read :
The WS2007HttpBinding class adds a system-provided binding similar to WSHttpBinding but uses the Organization for the Advancement of Structured Information Standards (OASIS) standard versions of the ReliableSession,…

Nicolas Dorier
- 7,383
- 11
- 58
- 71
16
votes
5 answers
Transferring large payloads of data (Serialized Objects) using wsHttp in WCF with message security
I have a case where I need to transfer large amounts of serialized object graphs (via NetDataContractSerializer) using WCF using wsHttp. I'm using message security and would like to continue to do so. Using this setup I would like to transfer…

jpierson
- 16,435
- 14
- 105
- 149
16
votes
1 answer
WCF error The client certificate is not provided. Specify a client certificate in ClientCredentials
I am trying to call a WCF service .I created a selfsigned certificate and installed in my localmachine \personnal \certificates , and also I added that in my section .But I don't understand why this error is .
Here is my web.config

Steve
- 1,471
- 7
- 19
- 32
16
votes
3 answers
mex binding error in WCF
I am using VSTS 2008 + C# + .NET 3.0. I am using a self-hosted WCF service. When executing the following statement, there is the following "binding not found" error. I have posted my whole app.config file, any ideas what is wrong?
ServiceHost host =…

George2
- 44,761
- 110
- 317
- 455
12
votes
1 answer
Setting Message version in code for WCF client
I want to set message version for WSHttpBinding to EnvelopeVersion.Soap11. I don't know how to do that. Can any one help me. Here is my binding code
var binding = new WSHttpBinding()
{
UseDefaultWebProxy = true,
…

Amzath
- 3,159
- 10
- 31
- 43
12
votes
4 answers
"Invalid or expired security context token" when running after a debugging restart
I have a WCF App that I am coding. I start and stop it several times as I change things and then run the service call again.
Since I need session info I am using wsHttpBinding.
Before I moved to wsHttpBinding I was using basicHttpBinding and I…

Vaccano
- 78,325
- 149
- 468
- 850
11
votes
2 answers
Consuming a WCF WsHttpBinding WebService in Java
I'm trying to get a Java Client to communicate with a WCF wshttpbinding WebService. But I am unable to do so. The call either hangs, or I get "musunderstoodheader expcetions".
My Web Service is just the default Visual Studio generated "WCF Service…

vicsz
- 9,552
- 16
- 69
- 101
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
10
votes
1 answer
Getting "Could not find a base address that matches scheme http for the endpoint with binding WSHttpBinding. Registered base address schemes are []"
I have been through Stack Overflow and followed an online tutorial for SSL And WebHttpBinding.
I am getting back the same error as mentioned there. I have reverted back to the old web config as shown below. My https site is working fine, and I added…

tang fire
- 133
- 2
- 2
- 8
9
votes
1 answer
Programmatic WCF Message Security with Certificates
I've written a self-hosted WCF service using WSHttpBindings and I'm trying to implement message-level security using certificates I've generated myself. Unfortunately I'm getting a buried exception (via the Service Trace Viewer) stating "The…

mattmck
- 431
- 4
- 16