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
1 answer

Implement transport security on my WCF service with custombinding on HTTP

I am new to WCF security . I am trying to implement transport security on my WCF service. We are using custombinding on HTTP. Can someone please suggest how can we do that?
Piyush
  • 349
  • 1
  • 7
  • 22
0
votes
2 answers

WCF Rest service not working

ILeaveManagement class [ServiceContract] public interface ILeaveManagement { [OperationContract] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml, BodyStyle =…
Siva P
  • 109
  • 1
  • 12
0
votes
1 answer

"The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate'"

I need to call a web service and for easy testing purposes I’ve created a console application for that. But it needs to work in BizTalk, and it doesn't. It’s a pretty simple configuration in the app.config file:
Mathieu
  • 3,073
  • 1
  • 19
  • 25
0
votes
1 answer

TypedPolling from SQL and Insert to Oracle

I have a BizTalk application trying to do the following: 1) Typedpolling from SQL server using WCF-custom adapter, debatch them 2) Convert and save each individual record to an Oracle database. I can successfully typedpoll records from SQL and send…
user1205746
  • 3,110
  • 11
  • 44
  • 73
0
votes
0 answers

WCF Service "Could not find default endpoint element"

About one week ago I started with WCF for the first time, and so far I don't feel like I'm making any progress. I'm using Visual Studio 2010, .NET 4.0 (as far as I know, 4.5 is also installed) and Windows 7 professional. The current issue is, I have…
George
  • 1,111
  • 3
  • 20
  • 38
0
votes
1 answer

Svcutil.exe metadata showing incorrect path in the browser

We created a wcf service with two endpoints one for http for internal users and the other for https for external users. When the service is viewed in the browser using https , svcutil.exe metadata path is pointing to http instead of https.…
0
votes
1 answer

Exposing contracts via a WCF service

How does one expose the Operation contracts of a self hosting .Net WCF service over the internet? I'm using basichttpbinding and wshttpbinding. Expansion of Question for Edit: I do have that in my app.config file (see edit), but am confused as to…
sagesky36
  • 4,542
  • 19
  • 82
  • 130
0
votes
1 answer

call from web service to another wcf service throwing an error

I have one console application (i.e. Project1/Solution1).I am calling one web service (.asmx) from console application which is in separate project (i.e. Project1/Soloution2) Through single web method there is call to two different business class…
Tina
  • 3
  • 3
0
votes
1 answer

Is it possible to call a WCF Service hosted in a Windows Service within SharePoint?

I have a WCF Service hosted in a Windows Service in the same server where i have moss. The WCF works well calling it from a Console application, but if i call it from a page within Sharepoint, it throws a timed out exception. I added the following…
0
votes
0 answers

WCF Discovery with multithreading - The caller was not authenticated by the service

I try to implement WCF Discovery service using multithreading. static void InvokeService() { var Services = discoveryClient.Find(new FindCriteria(typeof(WCFDiscoveryContract.IService1))); discoveryClient.Close(); …
senthilraja
  • 167
  • 2
  • 11
0
votes
0 answers

Call to WCF returns Request Entity Too Large

I know this has been asked a few times but I have followed the given solutions and still getting the error. I have a WCF Web Service Library, a WCF Web Service Host Application and a Windows Forms application that consumes the services. The Forms…
Fred
  • 5,663
  • 4
  • 45
  • 74
0
votes
1 answer

"Could not find default endpoint element...", only on certain client machines

I have several WCF services (.net 4.0) hosted through IIS on my web server. These services are consumed by my winforms client application (vb.net 4.0). Everything is working fine on my test machines (one XP, one Win7, and one Win8.1). I have…
Scuzzlebutt
  • 494
  • 9
  • 18
0
votes
0 answers

Changing from BasicHTTPBinding to BasicHTTPSBinding not working

I have a WCF service app and client app that I have written. I have been using BasicHTTPBinding on both ends. To be clear: This is NOT a web application. The service is self-hosted in a PC application (NOT IIS). All configuration of the…
JoeMjr2
  • 3,804
  • 4
  • 34
  • 62
0
votes
2 answers

Configuring WCF to use one of two endpoints

How to configure WCF to use just one of two available endpoints? I need two TCP ports (and thus using netTcpBinding). The service host should first try to bind to the first port. If it fails, and only if it fails, it should try to bind to the second…
Michael Damatov
  • 15,253
  • 10
  • 46
  • 71
0
votes
2 answers

Can BizTalk publish a single one and two way web service?

I am publishing a WCF service, using schemas not orchestrations, and using the BizTalk 2010 wizard. Some of my methods are one way and others are request/response. I finished the wizard successfully, published the services (hosted in IIS) and things…
Jeyenne
  • 121
  • 2
  • 15