Questions tagged [wcf-binding]

The configuration of encoding, protocol and transport detailing how WCF services and clients communicate with each other. This tag is for both the default system-provided bindings, and custom bindings.

A WCF binding is a combination of encoding, protocol, and transport details used by WCF web services and clients to communicate with eachother. It determines the wire representation of messages exchanged by services and clients.

WCF offers default system-provided bindings for typical combinations, e.g. for typical http or https connections. You can also create custom bindings for your application, detailing non-default options for encoding, transport, and protocol.

References

1642 questions
8
votes
3 answers

WCF, net.tcp, and ASP.NET development server

I'm setting up a net.tcp WCF service using instructions here: http://blogs.msdn.com/swiss_dpe_team/archive/2008/02/08/iis-7-support-for-non-http-protocols.aspx One of the steps says to do the following: "If you open the IIS7 management console and…
bryanjonker
  • 3,386
  • 3
  • 24
  • 37
8
votes
2 answers

What does ABC in WCF stand for?

What does ABC in WCF stand for?
Rajesh
  • 6,269
  • 5
  • 28
  • 23
8
votes
1 answer

WCF Service configuration HTTPS with CustomBinding

I needed a custombinding on a WCF Service to allow me to pass raw content to WCFRest service. Works great, but I can't get it to accept transport level security. I want https and basicauthentication as I use elsewhere. Endpoint looks like this: …
RBrowning99
  • 411
  • 2
  • 9
  • 21
8
votes
2 answers

Net TCP binding: The URI prefix is not recognized

This really is bugging me for a couple of hours. I created the simplest WCF service using a TCP binding. namespace WcfTcpService { public class TestTcpService : ITestTcpService { public string Hello(string name) { …
Nullius
  • 2,607
  • 2
  • 16
  • 22
8
votes
3 answers

Ensuring that outgoing WCF requests are performed using a specific network interface

I have a remote WCF web service that I'm connecting to from my application. The application may be running on a server with multiple IP addresses (or multiple physical network interfaces) I need to make sure that I can control which IP address is…
PhonicUK
  • 13,486
  • 4
  • 43
  • 62
8
votes
3 answers

WCF Service netTCPbinding

I want to use netTCPbinding, so I've changed my web config as below. I'm experiencing this error: Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are…
Ashish Ashu
  • 14,169
  • 37
  • 86
  • 117
8
votes
4 answers

WCF Multiple Bindings

I'm getting the following error when I try multiple end points.. System.ServiceModel.AddressAlreadyInUseException: The TransportManager failed to listen on the supplied URI using the NetTcpPortSharing service: the service failed to listen. at…
Josh
  • 13,530
  • 29
  • 114
  • 159
8
votes
2 answers

WCF Configuration AddressFilter mismatch

I am having WCF configuration woes. I have a WCF Webservice that I want to be able to access through a web browser using GET parameters (and eventually in PHP with simplexml_load_file()). My Visual Studio Solution is set up as a WCF Service Library…
Brendon Dugan
  • 2,138
  • 7
  • 31
  • 65
7
votes
1 answer

WCF: Call Service using parameter in URL with &

I have my WCF service with URL template like.. http://localhost:8448/service/SearchProduct/{productid}/{categoryid}/{search}/{pageSize} /{currPage} Here, I want to call this service path by using & parameters in the URL,…
nunu
  • 3,184
  • 10
  • 43
  • 58
7
votes
2 answers

MTOM Encoding and Custom binding

How do I configure custom binding and MTOM encoding? I have a custom binding like given below,
blue
  • 833
  • 2
  • 12
  • 39
7
votes
3 answers

(413) Request Entity Too Large

I have WCF service, and I have a method when I want to pass parameter as big string (over 1mb) I run this wcf and in WCF Test Client I changed configuration as is shown below:
Robert
  • 2,571
  • 10
  • 63
  • 95
7
votes
4 answers

REST in WCF for non dot.NET clients

I've read quite a few articles regarding the differences between REST and SOAP. I will just summarize in a few lines, please let me know if its wrong. SOAP is a protocol which uses HTTP, TCP etc to transfer the messages but REST uses only HTTP to…
user3119881
  • 170
  • 5
7
votes
4 answers

WCF Maximum Message Size Quota

I'm trying to call a WCF service (hosted in a Windows Service, not IIS) and am getting the following error: The maximum message size quota for incoming messages has been exceeded for the remote channel. See the server logs for more…
reustmd
  • 3,513
  • 5
  • 30
  • 41
7
votes
3 answers

WCF NetTCP Binding Over Internet

I have a question. I would like to serve a series of services made with WCF. The client that consumes the services is also .NET with WCF. I would like to have high speed of access, fast response, transport medium to small Data Contracts (primary…
Arturo Caballero
  • 438
  • 1
  • 5
  • 14
7
votes
2 answers

WCF how to bind multiple service contracts?

First off I'll apologise as this is probably a duplicate but everything I read seems to be either incomplete or confusing as I'm very new to WCF. I basically am looking to deploy a WCF service in IIS with 2 endpoints accessible and have been going…
JazziJeff
  • 721
  • 4
  • 17
  • 35