wcf-binding

Data binding support in O/RM tools, how to detect

I want to verify that a generated class (single entity or collection) from an O/RM tool is data binding compatible. I read that supported data binding types in WCF are: one time, one way, two way, one way from source in WCF. But how about "old school" .NET 1.1 data binding ? It looks kind of difficult to check in code what kind of dat...

What is the maximum size that maxReceivedMessageSize can be set to for a NetNamedPipeBinding?

I noticed that 2147483647 seems to be a popular choice for maxReceivedMessageSize but is this the limit? ...

What is Public key infrastucture

I need to know what is public key infastructure. I need to know is this related to sending requests and response as like WsHttpbinding in WCF. ...

Consume WCF Service Hosted in a Windows Service

I wrote the WCF Service and hosted in windows service. I need to know how to consume this windows service in my client application. Note: I wrote Net pipe binding service. Edit: How can I write the client application for net pipe binding? ...

How to host WCF through TCP Ports?

How to host wcf services,through TCP Ports,and how to listen to it?,and consume services through these TCP ports? i.e apart from net.tcp binding,is there someway to host and consume using TCP Ports.? ...

WCF Service with webHttpBinding; 404 error

Hi, does a service, which is configured like in the box below, throwing a 404 when there is a mismatch in the parameter? In this case the parameter is a complex type and every call to the SearchJson method returns a 404... ( is it even allowed with the WebInvoke option and WITHOUT the UriTemplate? ) The service is up and running ( i ca...

Error message with WCF WSDualHttpBinding: Unable to automatically debug service

I'm currently working on a solution which needs to use both Silverlight 3.0 and standard .NET applications as clients to a web service implemented with WCF. The portions of the web service consumed by the Silverlight client need duplex functionality, so I'm using the (still fairly new) PollingDuplexBindingElement on one end point of my ...

Consuming a WCF WsHttpBinding WebService in Java

Hey guys, I'm trying to get a Java Client to communicate with a WCF wshttpbinding WebService. But I am unable to do so. The call either hangs, or I get "musunderstoodheader expcetions". My Web Service is just the default Visual Studio generated "WCF Service Library Template". My Web Service Client is just a blank IntelliJ project, wi...

Windows Forms & WCF - Client Application Communication

We are developing a Windows Forms application that will be installed on about 1,000 employee pcs. Users may run multiple instances of the application at the same time. The clients are all on a single intranet. Changes in the application may cause database record changes, which in turn must be communicated to the other clients so their...

How to increase MaxStringContentLength on the server side for binary Http binding

I recently converted some Silverlight 3 WCF services to use the new binary http bindings. Long strings are often sent over to the server for deserialization in these services and I previously used to ensure the data could be read properly. However, with the new binding I can't find the correct place to add the element: <custom...

Security configuration when using custom binding in WCF

Hello, I'm about to port an application to silverlight. Until now my client application talked to the server using netTcpBinding. However Silverlight doesn't support that, and I found out that they recommend to use a custom binding instead. I'd like to know wether I need to configure the binding in a special way regarding security. My...

WCF Service Error

Hi, I have a WCF service deployed on a windows 2003 server. We are using a WPF application to consume this service. The trouble is if we deploy a new version of WCF service or leave the IIS and WPF application idle for sometime and then try to execute a functionality, we are get the following exception: The content type text/html of th...

How to consume WCF web service through URL at run time?

Hi, I want to access all the methods exposed in the service through the URL. if suppose the URL will be : http://localhost/MyService/MyService.svc How can I access methods: if suppose I have a ServiceReference and what should I do if don't have the Service Reference. ...

What is the difference between WCF Service application and WCF Service library?

Hi, I am developing WCF web service and I used WCF Service application to do that.Is that creating "WCF Service application" fulfill this requirement. and above all what are the advantage of creating WCF Service Library over WCF Service application? ...

accessing WCF service through URL

I have a WCF service ( Let's say WCFService1 ) is deployed on two remote machines. Since the same service is deployed on two different machines they have common interface and common methods exposed. WCFService1 is deployed on Machine1 and Machine2. To consume WCF service from client machine, I have created a client app: I have added ...

WCF Response Message Takes 40 Minutes and No Timeout Exception is Thrown

I have a WCF service hosted in IIS7 (the service and client configuration is at the end of this post). I have run across an odd scenario that I was hoping someone might have some ideas about how to attack it and find a solution. The service only exposes one contract, 'ProcessMessage'. I can send/receive synchronous messages from the se...

Callback with NetTCPBinding

Hi everyone Is NetTCPBinding supporting Callbacks? If so, please redirect me to any appropriate example. Thanks ...

WCF: How to get configuration from binding?

I have instantiated a WCF binding in code: var binding = new WSHttpBinding(); binding.Secuity.Mode = SecurityMode.Transport; Is there a way (in code) to get its equivalent configuration? For the above I would expect: <wsHttpBinding> <binding name="NewBinding0"> <security mode="Transport" /> <...

Problems with WCF authenication

I have a very simple WCF service that I would like to expose publicly. I created the service and set it up over our server without much hassle. The problem is that we are able to use the service from within our private network, but when we attempt to use it from outside the network, the following error is throw: “The Security Support ...

How to store header info in a custom WCF HTTP binding

Hi there, Basically, I want to get HTTP requests from a different source than a listening socket. However, since the provided bindings don't offer support for this, I am currently building my own binding. My current binding consists of the WebMessageEncoder and of a custom TransportBindingElement, which references a custom ChannelListe...