wcf

WCF is failed to consumed by Flex code

I have https://mysite/myservice.asmx which is consumed fine with Flashbuilder. When i ported it to https://mysite/myservice.svc, and generate proxy objects, flash proxy objects fails to call any operations. I guess, during web service call, operation contracts are got by https://mysite/myservice.asmx?op=myOp, but in WCF, https://mysite/m...

isOneWay WCF Services

I'm attempting to create a process that verifies data within a database and notifies users of errors. My initial thought was to create a web service that is triggered when the user saves the web form. That web service would begin the process of validating the data and populating another table with information about what information it b...

WCF Service inaccessable when attaching VS 2010 profiler

I'm receiving the following error after I attach the visual studio 2010 profiler to my wcf service. The requested service, 'net.tcp://host:port/path/myservice.svc' could not be activated. See the server's diagnostic trace logs for more information. The service works great otherwise, and as soon as I stop profiling, I can c...

Call WCF REST Service from .NETCF 2.0 Smart Device Application

I need to Call WCF REST Service from .NETCF 2.0 Smart Device Application. There us no "Add Service Reference" option for adding reference to WCF service in .NETCF 2.0 Smart Device Application. ...

Remote executing of Action<> or Func<> objects

Hi everyone! I wanted to transfer (and execute) an Action or Func object from a C# client to a C# server application using WCF. Here's my code: [ServiceContract] interface IRemoteExecuteServer { [OperationContract] void Execute(Action action); } class RemoteExecuteServer : IRemoteExecuteServer { public void Execute(Action...

How to identify the JSON response?

I am developing the REST enabled WCF Service. I am using the following code inside the interface. [OperationContract] //[WebGet] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json)] List<String> GetProjects(); I want the method should return the JSON response. I am pass...

Using a console application to host WCF endpoints that expose asp.net ProfileService, ProfileService and RoleService

Hi All, I've got an MVC web application that is used as an interface to a Console based app that exposes a bunch of ServiceHost/s using the net.pipe protocol. I would like to use the asp.net membership/role/profile provider to manage my users and their roles and profile information (Inside the Console Application). I've done this in q...

System.Speech on Windows Azure Error

I am trying to call some methods from System.Speech via a WCF Service hosted on Windows Azure. When i try this locally on the development fabric, it is working perfectly fine. I can consume the methods from this Speech API via WCF service in my client. But when I up this service in real cloud on Azure, i get the following exception erro...

IIS error hosting WCF Data Service on shared web host

My client has a website hosted on a shared web server. I don't have access to IIS. I am trying to deploy a WCF Data Service onto his site. I am getting this error: IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Val...

Controlling date formatting on .NET WCF service request

I'm trying to call a web service from .NET 3.5 using WCF. The error I'm getting currently is An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. InnerException: {"Value -2147483648 for millisOfSecond must be in the range [0,999]"} I've narrow...

WCF 4 Call Works with Cassini Not IIS

I have a simple ASP.NET site making a call to a WCF service. The call works in Visual Studio 2010 (both sites running under Cassini using basic HTTP binding). Moving the same thing to XP , running the web site page (which makes a simple call to the WCF service) makes the web server throw a "500" error. There is nothing in the Event Log....

dotnetopenauth and Silverlight4

Hello, Do you know a tutorial with dotnetopenauth and SL4 ? thx ...

WCF losing values when using a static

I have a WCF that has a static class. I use this to store login information. To my great surprise I am finding that at different times the wcf static is losing values. What could cause this? What is the best way to persist information in a WCF service? In memory is the best because it is faster... ...

Verifying remote program integrity/validity as part of WCF service security

Hello, I have an application running on remote systems. The remote systems are an embedded computer built into a kiosk. As a result, they are somewhat "untrusted," in that the physical security for them is rather lax. However, these kiosks can be credit card processing, etc. via a WCF service to my server. Using machine certificates, e...

Calling JSON-enabled WCF service with jQuery returns null

I have the following script in my web page to call out to a JSON-enabled WCF service that I have created and am hosting on my web server. However, the alert displays "null". When I point to the url in a browser it returns very simple JSON: {"city":"Ann Arbor"}. Also, when I run the page containing the code below with Fiddler running,...

How to send my own messages to WCF trace file?

So I have my WCF service right now running self-hosted on a console app, but I also have them on IIS. The thing is I'm learning to understand the Service Trace Viewer Tool, and of course, now I want to go a little further and write my own messages to include in the trace files. I tought it should be easy but Trace.TraceInformation writ...

Exception generated on service reference response

I'm calling a service reference using WCF, but the service requires plain-text passwords, which WCF does not natively support, so I'm using Yaron Naveh's ClearUsernameBinding implementation. This is getting me half the way there. The service I'm calling is firing (because I can see it insert records into a database), but it's failing on ...

WCF PollingDuplexHttpBinding with Silverlight Client timeouts and errors

Im building a WPF 3.5 desktop app that has a self-hosted WCF service. The service has an PollingDuplexHttpBinding endpoint defined like so: public static void StartService() { var selfHost = new ServiceHost(Singleton, new Uri("http://localhost:1155/")); selfHost.AddServiceEndpoint( typeof(IMyService), ...

Update data with RIA Services over SOAP

Hi There, I have an SL Application which uses RIA and Domain services for data access. I have modified this to work on SOAP so any other applications can use the service. On a Windows client I can query data without a problem. But I need to make some update and inserts. As you may know all insert, update, delete methods are not visibl...

Can I use Entity Framework for this?

Hi, I am working on a application which I want to expose to external world using ODATA. Let me first give you idea of that application. In that application I need to create a library that will allow the users to perform CRUD operations on the database. For this client has provided XSD , from which we need to generate the classes. Using...