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
0
votes
0 answers

One-way WCF call using netTcpBinding: add OneWayBindingElement through configuration

I want to implement a one-way, fire-and-forget call from an ASP.NET application to a WCF service (hosted in a Windows Service). It's a long-running operation at the service-side (otherwise I would just do it inside the ASP.NET application) so the…
Vincent Sels
  • 2,711
  • 1
  • 24
  • 31
0
votes
0 answers

WCF exception for reference object in entity framework

I have a WCF service with basicHttpBinding. This service is loading data and its related objects from database via ADO.net Entity framework. I have disabled Proxy creation: using (var db = new ComputerDealsDb()) { …
0
votes
0 answers

WCF Error in binding of two End Points

i am getting this - ERROR: An unhandled exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll Additional information: The binding at …
0
votes
0 answers

Visual Studio 2010 Add Service Reference no longer creates binding

Recently, when I try to add a service reference in Visual Studio, it creates an empty binding in the App.config file. It used to create the full binding for me, now it looks like this: rather than this Any idea why this would be?! Have I…
Louise
  • 107
  • 1
  • 12
0
votes
1 answer

How do I customize WCF's "service not found" error?

I have some spare time on the project I'm working on and want to customize the WCF "Service not found" error with something useful, humorous, or matches the site's 404 page. How can I customize the WCF "service not found" error?
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
1 answer

Duplication of EndPoint but i cannot see it

I have a web service. This is (part of my) my web config:
Andrew Simpson
  • 6,883
  • 11
  • 79
  • 179
0
votes
1 answer

No end point defined while access wcf on lan

This is my app.config code:
0
votes
1 answer

Handle JSON calls in WCF to single URL with method name contained in request body

We are replicating an existing service and need to offer the exact same contract. Requests are posted to a single URL with the method name contained in the request body. For example the request body of a call to LoginService.Login: All calls will be…
rept
  • 2,086
  • 1
  • 26
  • 44
0
votes
1 answer

WCF Cross domain service creation

I've REST based WCF service which is host on IIS 7.5. It is working fine, but when try to access from PHP application. It's returning blank response. Actually the plan is, to make it available to open world. Just like yahoo weather service. This…
M2012
  • 3,465
  • 2
  • 20
  • 27
0
votes
2 answers

How to Configure WCF Service Application for 413 Request Entity Too Large Error

I have a WCF Service Application running that requires byte arrays to be sent to the service and be returned from the service. I am getting the 413 "Request Too Large" error. I have researched this error and there are many responses like changing…
user31673
  • 13,245
  • 12
  • 58
  • 96
0
votes
1 answer

WCF service is added but, service reference instance is unavaiable into MVC 4 client applicaiton

I have crated WCF service. Service client as - MVC 4 application. Added - Service reference into MVC 4 applicaiton. Problem: In client application, unable to find - servicerefernececlient object to access service methods. When i add same service…
user3711357
  • 1,425
  • 7
  • 32
  • 54
0
votes
1 answer

How to configure web.config for WCF Rest Service?

I'm creating a WCF Rest website but can't quite figure out how to configure the web.config. I'm seeing some examples online, but they are all non-Rest. I don't know if it makes any difference when it comes to the configuration besides the binding,…
eestein
  • 4,914
  • 8
  • 54
  • 93
0
votes
1 answer

The caller was not authenticated by the service. Using wsHttpBinding and Already passing credentials

I went through the other posts on the site, but none could help me. So here is the error description that i get. The caller was not authenticated by the service. INNER EXCEPTION: System.ServiceModel.FaultException: The request for security token…
Nanu
  • 3,010
  • 10
  • 38
  • 52
0
votes
2 answers

Create a BasicHttpBinding from a BasicHttpBindingElement

Is there an easy way to create a BasicHttpBinding from a BasicHttpBindingElement except looping through all properties and set the values? This is what I'm doing right now public class BasicHttpBinding : System.ServiceModel.BasicHttpBinding { …
Machinegon
  • 1,855
  • 1
  • 28
  • 45