wcf

What WCF client files do I need to check into SVN

I have added a service reference to my visual studio project, and now I want to check that project into SVN. My question is, which of the files need to be checked in for the next person to be able to build the project. The files created include .svcinfo .xsd .disco .datasource .wsdl .cs and .svcmap. ...

How to configure WCF with transport security behind a load balancer

I have a WCF service that will be configured to use transport security with a certificate. The service will sit behind a load balancer (F5). The service certificate will be installed on the load balancer which will terminate the SSL session. I understand how to configure this---my question is whether or not I will be able to authenticat...

2 WCF services, 1 common interface, multiple headaches.

I have 2 WCF services that implement an interface from a separate library. The interface's methods are not marked with either the WebGet or the WebInvoke attribute. BUT, one service is going to be handling POST request, while the other is handling the GET request. So its kinda like this: Service 1: Handles all POST request. Request ...

Busy indicator for WCF async calls in Silverlight 4?

Hi Guys, I have a SL4 app consuming WCF services. The client make async call to the services, during this time I would like to show some sort information or busy indicator on the screen which tells the users that the app is doing something. Now I am pretty sure SL4 has something like this, but I am drawing a blank.... Can someone plea...

Better solution for WCF service(s) that talk to 3rd party Java services?

I am in a scenario where I have to integrate with a 3rd party system here at my job that exposes Java-based web services. I can parse the service WSDL definitions and generate proxy classes and interact with them just fine in the .NET world. However, the services aren't very "clean" in the sense that the property names in the Java app's ...

Specifying a WCF Service session to persist indefinitely

I'm new to WCF, so maybe this is something best done in another way. Right now I have a collection of WCF Services, but I am trying to build in functionality which sends weekly emails. To do this I built another WCF service with the code below: [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, AutomaticSessionShutdown...

WCF Full Duplex Handle Client Disconnection

Is there any way for me to detect client disconnection from my service? I only get the chance to know if a certain client is disconnected on try-catch method which is not a very good way to do it. I don't want to create a timer for each new client that connects on my service just to monitor its last transaction. ...

Self Tracking Entities - AcceptChanges cannot continue because the object's key values conflict with another object in the ObjectStateManager.

Hi, I've been stuck with this problem for over a week now. Hopefully some one can point me in the right direction. I start with a brief description of my schema. Asset 1--->1 Address *-->1 Area *-->1 Region *-->1 Country Package 1-->* Asset Using Self Tracking Entity (STE) + WCF. Steps: Call data store for a list of assets. Call ...

How to consume Windows Communication Foundation (WCF) by a Windows Service

When i create a Windows Service for getting information from a Web Application(ASP.NET c#) for scheduling some task in the client machine. To consume WCF from the web application. I added WCF reference to Window Service project as a service reference, everything seems fine. It updated app.config file, added service reference etc. it...

WCF RIA, Silverlight 4

I am working on a Silverlight 4 project. I am using WCF RIA on the server and expose the model using a DomainService. I have 2 tables, let's say Table1 and Table2 linked with Foreign key say FID. Therefore, i can Load data from both table 1 and table 2 in single data grid. But my question is while editing datagrid if i need to change ...

Consuming a void service operation in a WCF data service

Hi, from a Wcf data service client (inherited from System.Data.Services.Client.DataServiceContext) I would like to invoke a service operation defined on a Wcf Data Service that returns void [WebGet] public void Operation() { // logic } The only reasonable method I found is the Execute, but how could I use it with a void operation? ...

Reference SecurityContextToken in Signature + Axis2

I have been searching google for many days and checked all samples of axis2. I am not able to find any solution to my requirement. Request you to kindly provide a sample/link/pointer how I can achieve this. We have an axis2 1.3 client talking to WCF service. Our client send RST/SCT request and service sends back RSTR response back to c...

WCF customUserNamePasswordValidatorType

Hello. I have a customUserNamePasswordValidatorType and I want to set the service credentials in code in an IServiceBehavior ApplyDispatchBehavior() implementation. If I set it in code like this the problem is the validator never executes: serviceHostBase.Credentials.UserNameAuthentication.CustomUserNamePasswordValidator = ...

WCF timeout client vs server

Hi ! Can anyone explain to me what is the difference between the timeout configuration on the server vesus on the client ? For example, what would happen if a client sets the sendTimeout to 5 minutes while the configuration on the server has it set for 1 minute ? Does the client prevail since it initiates the communication ? Thanks for...

how to find whether wcf 4.0 is installed or not

Is there any registry key which i can look for wcf 4.0 ...

WCF Service VS IIS 7.0 VS IIS7.5

Hi, I got WCF Service with Fluient Nhibernate. When i hosted in my IIS7.5 dev machine(WIN7) it works fine. Worker process shows the clear garbage collection indication of my app pool. But when i moved to production which is win server2008 with IIS7 Garbage collection is not working and the virtual bytes in worker process keeps on incre...

WCF Client Impersonation

Can someone point me to a [relatively] simple walk-through on how to properly configure an ASP.Net hosted WCF 4.0 service to impersonate the credentials of a caller for just certain methods of the service, but allow anonymous access to other methods? I've been reading a lot about this on MSDN, but the more I read, the more confused I ge...

Custom processing of CSV file via WCF

I have a project whereby I have a WCF service that I basically want invoked whenever a file is dropped in a certain directory. I've got the basic custom transport channel logic that I saw published on the web that deals with transport over a file. However, there's another point, the content of the file itself. The file is going to be a c...

Problems using net.tcp for STS

I keep on getting the following error when I try to access a WCF endpoint with an STS reference... Incoming policy failed validation. No valid claim elements were found in the policy XML. Below are the web configs for the STS and WCF web service.... STS Web Config... <?xml version="1.0" encoding="UTF-8"?> <configuration> <appSe...

Using Autofac for DI into WCF service hosted in ASP.NET application

I'm having trouble injecting services dependencies into my WCF service using Autofac 1.4.5. I've read and followed the Autofac wiki page on WcfIntegration but my debugging shows me that my WCF service is created by the System.ServiceModel.Dispatcher.InstanceBehavior.GetInstance() method and not by the AutofacWebServiceHostFactory. What a...