Questions tagged [wshttpbinding]

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.

263 questions
3
votes
1 answer

How can I implement WS-Security at JQuery end?

I followed this codeproject sample. At the Consuming the Service Exposed with wsHttpBinding in JQuery section it's written that: A service exposed with “wsHttpBinding” binding implements WS-Security of WS-* family of web service specifications.…
Dor Cohen
  • 16,769
  • 23
  • 93
  • 161
3
votes
1 answer

WCF binding security for encryption

Here is WCF binding and security question I'm quite confused: You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency. The agency adds operations to support sending biometric…
cateyes
  • 5,208
  • 2
  • 24
  • 31
3
votes
2 answers

How to configure WCF service deployed on IIS and remote client to authenticate from remote client PC?

I'm a noob; please help me understand this authentication config / bindings stuff that confuses me so much. I have a C# WCF service deployed on IIS 7 on Win 2008. My client is a Windows Forms C# app. My client works just fine when it's running…
Jim
  • 6,753
  • 12
  • 44
  • 72
3
votes
1 answer

Getting WSHttpBinding working through an http proxy

I have a WCF service and a client that uses that service. They use WSHttpBinding with MTOM message encoding. The client doesn't use an app.config file, and does all of the endpoint configuration in code. It all works rather nicely in a normal…
Rob W.
  • 362
  • 5
  • 18
3
votes
1 answer

Call a WCF webservice with wsHttpbinding and x509 certificate with javascript or Jquery

I'm writing a web application and I need to use an existing webservice. This webservice uses a wsHttpBinding and x509 certificate. I looked all over the web but didn't find a working solution. Can someone help me with this one?
Timetje8
  • 31
  • 1
3
votes
1 answer

What is the scenario to make wsHttpBinding an alternative for netTcpBinding

We use netTcpBinding in an asp.net webforms intranet application. On the client machines we have activeX (winforms) running which retrieves its data via wcf. The activeX container is inside the asp.net application. What advantage/benefit do we have…
Pascal
  • 12,265
  • 25
  • 103
  • 195
2
votes
1 answer

WCF disabling UseNagleAlgorithm while connecting to SQL Azure

Have a bunch of WCF REST services hosted on Azure that access a SQL Azure database. I see that ServicePointManager.UseNagleAlgorithm is set to true. I understand that setting this to false would speed up calls (inserts of records < 1460 bytes) to…
user529265
  • 820
  • 10
  • 27
2
votes
3 answers

WCF MaxArrayLength Changing Setting Won't Stay

I am trying to upload files using WCF. Everything under 16K works fine, but anything over throws this error: There was an error deserializing the object of type System.Byte[]. The maximum array length quota (16384) has been exceeded while reading…
Ryan
  • 68
  • 6
2
votes
1 answer

Contract requires Session, but Binding ‘WSHttpBinding’ doesn’t support it or isn’t configured properly to support it

I have specified the service contract to require the session. [ServiceContract(SessionMode = SessionMode.Required)] public interface ITicketSales { } The service decorated like this: [ServiceBehavior(InstanceContextMode =…
EngineerSpock
  • 2,575
  • 4
  • 35
  • 57
2
votes
1 answer

wsHttpBinding on the wcf service and web reference on the client don't work

I am using wsHttpBinding with a WCF service. I've added a web reference and I've got the web proxy (it is based on SoapHttpClientProtocol). Also I've tried to build a proxy using wsdl.exe and the actual wsdl generated by the wcf service…
Max
  • 47
  • 1
  • 6
2
votes
1 answer

WsHttpBinding on .Net Core

I'm migrating a .Net 4.x project to .Net Core 3.1. This project is heavily dependent on SOAP web services. As .Net Core does not support configuration based WCF service consumption, I call the service by code. Current project uses ws2007HttpBinding…
Afshar Mohebi
  • 10,479
  • 17
  • 82
  • 126
2
votes
1 answer

Enable session with wsHttpBinding in wcf

I've written this code: interface: public interface IService1 { [OperationContract] string Welcome(string fullName); [OperationContract] string Goodbye(); [OperationContract] string GetSessionID(); [OperationContract] …
Arian
  • 12,793
  • 66
  • 176
  • 300
2
votes
1 answer

WCF Authentication -- Authenticate user/pass one time, then authenticate some other way afterwards?

Basically, I have the following scenario and information: We're using HTTPS. We want to authenticate a user by user/pass when they first log in. After they are authenticated, I want any future calls to OTHER services (not the login service) to use…
michael
  • 14,844
  • 28
  • 89
  • 177
2
votes
0 answers

Error Using Certificate Authentication in WCF

I'm in a bit of a pickle! I am getting the following error when deploying to one of my live servers which I haven't seen in previous installations. This server is behind a hardware load balancer (BigIP) in our production environment which, as far as…
2
votes
1 answer

WCF self-hosted service SSL/transport security/Basic authentication doesn't ask for credentials

I've created a self-hosted WCF service with HTTPS/SSL, transport security and Basic authentication. For some reason, when I run the service in the browser it never asks for credentials. What's wrong? Service configuration:
Stefan
  • 4,166
  • 3
  • 33
  • 47