wcf

Using WCF to expose underlying process

I think I must be a little dull because I'm having so much difficulty with this. I use WCF for pretty much everything in-house, it's the most appropriate technology. I have a new Silverlight 3 app that is connecting to the WCF service and that's working fine. Where the problem begins is: Because of the expense in creating the objects...

Consume a "WCF Service" in "Classical ASP" respectively in VB6

Is there a simple way to consume a WCF Service from Classical ASP respectively in VB6 ? Is it possible to provide a WCF Service as a COM+ Service (component) ? ...

Binding for only validation of incoming SOAP message's WS-Security header

Hi Forum, My question is what WCF binding I should be using for following situation: Client should not add any WS-Security header, no message integrity, transport is Http or optionally Https. Server provides message integrity by signing the body. No encryption is done. The security token is X509. The service is written in Java, using...

Consuming WCF in ASP.NET Web Application

Hi, My application is in asp.net 2.0. Is it possible to consume WCF service developed in asp.net 3.5? If possible, how can we consume wcf service in asp.net 2.0? Thanks in advance. ...

WCF - Network Cost

Dear Devs I have a wcf service deployed on IIS with basicHttpBinding and aspNetCompatibilityEnabled=true I have a test client as well which invokes multiple service functions simultaneously. To check the performance of service call on client and server I calculated the Avg time it takes to complete a service request on client(in proxy...

When should i choose to use WCF versus WCF Data Services

Assume a situation where a data will never be queried directly. AKA, there will always be some filtering logic and/or business logic that must occur. When is a good reason to use data services outside of ajax/js? Please don't site this page http://msdn.microsoft.com/en-us/data/bb931106.aspx ...

Connecting to a self hosted WCF service from a Flex application - policy issues

Hello, I am trying to accomplish the following: I wrote a Flex application that is trying to connect to a WCF service hosted on the clients computer. I also wrote a windows forms application for the client to run. This application exposes a self-hosted WCF service that the Flex application is supposed to connect to. This works fine i...

WCF multithreaded calls

We have developed a multithreaded server that recieves data from multiple client and calls different WCF services. There are many cases that two (or more) different clients call the server at the same and the server tries to call the remote WCF from two different threads simultaneously. We have encountered some issues, especially when th...

WCF Self Hosted Web Service invoke with non Navigator client

Hi, I know is not very dificult code a WCF SelHosted WebService, my problem is i am not be able to invoke it from a non navigator, i am using to test it Curl, it's the same implement in this case?: public class ddSoftWS { [ServiceContract] public interface ITest { [OperationContract] [WebInvoke( Method =...

WCF Sporadically slow with small data

I have a WCF Service that is hosted through a custom application, as well as a custom client application that talks to the service. The client itself deals with "customers", which are large blocks of information, as well as "comments" which are very small blocks of information. There are approximately 40 people using the client and ser...

Implementing an interface using an asynchronous WCF service?

Hello, I am trying to figure out if it is possible to implement a .NET interface, where the interface method has to return something and you are implementing that particular interface method with an asynchronous WCF service? Hopefully you should already see the issue I am encountering. Here is the interface: public interface IDa...

Authenticated WCF: Getting the Current Security Context

I have the following scenario: I have various user's data stored in my database. This data was entered via a web app. We'd like to expose this data back to the user over a web service so that they can integrate their data with their applications. We would also like to expose some business logic over these services. As such we do not ...

How to get configuration for WCF Service

I want to check whether the endpoint is defined in the configuration before I'll try to create it System.ServiceModel.ClientBase<T> sourceClient = new System.ServiceModel.ClientBase<T>(EndpointName, new EndpointAddress(discoveryUri)); To check it I need get a configuration but how can I define whether I need to use WebConfigurationMa...

ASP.NET AJAX and WCF behaviorExtension problem

I have simple wcf service with one operation: <service name="HelpService"> [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] [OperationContract] public string GetQuickHelp(string contentId) Service is used on client side over JQuery. All works ok without any...

NHibernate WCF Bidirectional and Lazy loading

Hi everyone, I'm just looking for some direction when it comes to NHibernate and WCF. At the moment i have a many to one association between a person and address. The first problem. I have to eager load the list of addresses so it doesn't generate a lazy loaded proxy. Is there a way to disable lazy loading completely? I never want ...

WCF 3.5 Service and multiple http bindings

Hi I can't get my WCF service to work with more than one http binding. In IIS 7 I have to bindings http:/service and http:/service.test both at port 80 In my web.config I have added the baseAddressPrefixFilters but I can't add more than one <serviceHostingEnvironment> <baseAddressPrefixFilters> <add prefix="http://s...

Adding Property to custom LINQ to SQL class not reflected in client side

Hi, The application I am working uses a Silverlight on the client side and gets data from a database using the LINQ to SQL object explosed through a contract as in WCF. I am trying to add a property to the object of a LINQ query result as follows: public partial class Linq_data_class { public String NewProperty { get; set; } } T...

WCF Webservices and FaultContract - Client's receiving SoapExc insted of FaultException<TDetails>

Hi All, i'm developing a WCF Webservice and consuming it within a mvc2 application. My problem is that i'm using FaultContracts on my methods with a custom FaultDetail and i'm throwing manyally the faultexception but when the client receive the exception , it receives a normal SoapException instead of my FaultException that i throwed fr...

WCF app Deployed on Win7 Machine and get connection refused error

I have created a Sync Framework application based on the following sample from microsoft and deployed it to a new Windows 7 machine for testing. The app runs ok but when I attempt to communicate I get the following error: Could not connect to http://localhost:8000/RelationalSyncContract/SqlSyncService/. TCP error code 10061: No ...

WCF facility : Metadata publishing for this service is currently disabled

I asked this before and got no where so i'm asking again as i'm now desperate!! Hey if i create a new wcf project i can browse the meta instantly. if I try - when using the WCF facility - i get the following: Metadata publishing for this service is currently disabled. i followed the instructions there and in a million other places a...