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

how to add to WCF service inside

I have a class library project with WCF service references. When I do that I see below entries in app.config :
Sanjay Sutar
  • 544
  • 1
  • 5
  • 18
0
votes
1 answer

WCF Comunication Exception when passing string array

I have a wcf service and i want to pass a string[] through it. I am receiving the below error. Can someone point me in the right direction ? The error : There was an error while trying to serialize parameter…
sebastian.roibu
  • 2,579
  • 7
  • 37
  • 59
0
votes
1 answer

Call other WCF service inside the callback function at client side

I have a simple WCF application with call back interface. What I want is call other WCF service inside the callback function at client side. But When I try to do , I get the exception DetailsSystem.ServiceModel.CommunicationException: The server…
Hippias Minor
  • 1,917
  • 2
  • 21
  • 46
0
votes
1 answer

User authentication based on basicHttpBinding without certificate

I am trying to set up a web service which is to have a username and password in order to access the service. I am using this link as a guide http://www.codeproject.com/Articles/642997/Generate-username-authentication-based-on-basicHtt I've hit an…
Computer
  • 2,149
  • 7
  • 34
  • 71
0
votes
0 answers

WCF Exchange Server Mail Transport from ASP

I have a requirement to send email through exchange server from an ASP page. I am trying to implement the client/server scenario from this walk through, http://msdn.microsoft.com/en-us/library/bb397828.aspx , but the client code is directed at…
CheGuevarasBeret
  • 1,364
  • 2
  • 14
  • 33
0
votes
1 answer

Need to use SSL certificate in asynchronous WCF communication

I have two servers M1, M2 at different locations The requirement is M1 just triggers a function at M2 (say GetData) and returns. After that function (GetData) at M2 executes, it will send the response to M1, say a text file. Need to implement SSL…
Akki J
  • 63
  • 9
0
votes
1 answer

Which WCF binding is most performant for cloud?

In my current project which is still in development, I have three layers. Each layer is made up of WCF service, consuming a service below it with basicHttpBinding currently. Upon completion the project will be hosted on Amazon EC2. There the…
MaxRecursion
  • 4,773
  • 12
  • 42
  • 76
0
votes
1 answer

wcf service with call back configuration

Hi I need to create wcf service with call back. Because the service need to update the windows UI for long operation. Can you help me with the suitable configuration for wcf service and client?
selvakumar
  • 1,771
  • 3
  • 20
  • 34
0
votes
1 answer

Port numbers when Running Service

I want to just default to port 80. When I right-click my WCF service in Visual Studio and select View in Browser, it somehow auto selects a port for me: http://localhost:55129/Events.svc?wsdl I want it to just be…
PositiveGuy
  • 46,620
  • 110
  • 305
  • 471
0
votes
1 answer

do I use MsmqIntegrationBinding or netMsmqBinding?

my company bought a third party application. There's no documentation, there's no support. this application is using .net, and it creates a queue. I need to write an application to pick up the message as soon as it gets to the queue. which binding…
qinking126
  • 11,385
  • 25
  • 74
  • 124
0
votes
0 answers

Same WCF binding configuration but error only on one

So I have a WCF service with 2 ServiceContracts + MEX. So that's 3 endpoints. Two of the endpoints that connect to each service contract use a netTcpBinding and utilize the same bindingConfiguration. From one spot I have to use both services. The…
Ingó Vals
  • 4,788
  • 14
  • 65
  • 113
0
votes
0 answers

netTcpBinding data transfer freezes for some time periodically

I have two applications WCF client and WCF server running on same machine. Client calls on server for image data, server prepares few images and gives those images to client and client displays them. Client application make calls to server every…
harik
  • 563
  • 2
  • 5
  • 16
0
votes
1 answer

Which is Best For Hosting My Vb.Net Windows ERP Application

I have a windows server 2008 and sql server 2005 and my application is windows based. I have created a wcf service in my application for sending SMS. I have a server with internet connection and have 50 pc's in the network. They dont have internet…
Md Nawaz
  • 71
  • 1
  • 10
0
votes
1 answer

When is config file read?

I have a Windows Service that uses custom LibraryA. LibraryA has a service reference to ServiceB, which also created endpoint entries in LibraryA's app.config file. The Windows Service does not have entries in its app.config for ServiceB. I get…
4thSpace
  • 43,672
  • 97
  • 296
  • 475
0
votes
3 answers

Using WCF to consume service and receieving varying errors depending on binding configuration

I am attempting to consume an intranet web service with WCF. I added reference to the service via the Add Service Reference feature in VS2008. In doing so I was prompted for network credentials to access the service which I provided and the service…
ahsteele
  • 26,243
  • 28
  • 134
  • 248