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

c# WCF With POCO DataContract

I have a c# solution with 3 projects: Models (EF POCO Classes) WCF Services Client (main app) Under project Models I have a model Employee: [Table("employee")] public class Employee { [Key, Column("organizationid", TypeName =…
VAAA
  • 14,531
  • 28
  • 130
  • 253
0
votes
1 answer

WCF pass maximum byte array

I am trying to pass large byte array to wcf service from windows phone application. I have tried all possible way's to pass large byte array but I couldn't pass it. Here is my web.config
user2575950
0
votes
1 answer

The provided URI scheme 'https' is invalid

I have tried implementing a number of suggestions from other questions to fix this frustrating issue. Normally, when I set up a site in IIS, the web apps are somewhat "agnostic" to what is going on at the transport layer. However, for this…
tacos_tacos_tacos
  • 10,277
  • 11
  • 73
  • 126
0
votes
1 answer

ASP.Net Class Library project accessing WCF

Existing Asp.Net project was consuming WCF WebService. Working OK. I decided to move the business logic into a class library. So now the Class library consumes the WCF web service and the Asp.net app has no reference to it. On the first call into…
Bob Clegg
  • 553
  • 2
  • 9
  • 21
0
votes
1 answer

How to set a method with class as a parameter in WCF service?

I am trying to create a method with class as a parameter. But it's throwing error. After some search I found the implementation of QueryStringConverter. I am trying to do it but I didn't have much knowledge in it. In my service class, the method is…
RajeshKannan
  • 894
  • 2
  • 16
  • 32
0
votes
0 answers

How To Change The Binding of a WCF Service

I have a very simple (see any getting started sample online) wcf service library. And i can run it via the WCF Test Client exe on localhost. But when accessing it via another client tool, like soapUI, i get errors. I believe the errors are related…
glutz
  • 1,889
  • 7
  • 29
  • 44
0
votes
1 answer

My WCF service won't use my wsHttpBinding

serviceModel section of my web.config:
Ross Presser
  • 6,027
  • 1
  • 34
  • 66
0
votes
1 answer

named pipe could not be activated

I am working with an WCF application that interacts with a sql server database and consumed by an asp.net mvc application. It runs in IIS 7.5. Up to recently the protocol used for interaction with the services from the mvc app was via http. However…
amateur
  • 43,371
  • 65
  • 192
  • 320
0
votes
0 answers

Class Project and WCF Could not find default endpoint element

I am adding a WCF client via “Add Service Reference” to the Class project with Visual Studio 2012. However I am getting the well known error: Could not find default endpoint element that references contract ‘Service1.IService1′ in the ServiceModel…
Jim
  • 2,760
  • 8
  • 42
  • 66
0
votes
2 answers

Encrypt/Decrypt Soap Body In WCF Client

I have a WCF service hosted in IIS. The service is mandated to be basicHttpBinding. There is IBM DataPower in front of the WCF service that exposes it to outside world. I am writing a WCF client app (inheriting from ClientBase) that has to encrypt…
muruge
  • 4,083
  • 3
  • 38
  • 45
0
votes
1 answer

The message with Action '' cannot be processed at the receiver,

I have WSDl provided by the Client based on which i need to create a WCF service it is does not provide any soap action as its under soap 1.2 which i tried to implement in WCF using following config when i try to submit and app using soap UI i get…
Justin Homes
  • 3,739
  • 9
  • 49
  • 78
0
votes
1 answer

How to increase the MaxStringContentLength size when creating the XML reader

I am getting following error: The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'InsertQuery'. The maximum string content length quota (8192) has been exceeded…
Peace
  • 1
  • 2
  • 3
0
votes
3 answers

WCF Service Throwing Error On Server (works fine locallly)

I created a WCF service using c#4.0 and wcf 4.0, it is working fine locally. Tested using the WCf Test client and also using a console app as client. But after deploying the service I to do the same but it is giving the below error. I don't know…
Sri
  • 33
  • 1
  • 11
0
votes
1 answer

Any upload image file is saving with same size

i have a wcf rest which is recieving an image from andriod device and save into public shared folder. everything is working well but while saving the image file(actual image size is 15kb) into my shared folder it is saving with 489kb. Any image file…
Balu
  • 39
  • 7
0
votes
3 answers

WCF security errors

I recently made a change to a working web application with a wcf service in it. After publishing the thing I get error Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts…
wali
  • 477
  • 7
  • 19