Windows Communication Foundation is a part of the .NET Framework that provides a unified programming model for rapidly building service-oriented applications.

learn more… | top users | synonyms (1)

1
vote
2answers
16 views

What does WCF custom class / object get extra “Field” method?

When "watching" my object in debug, I notice that the items class (list of t), is duplicated in an itemsField class/Property? Not sure really. In debug I can see this, but using intellisense, its not ...
0
votes
1answer
10 views

WCF : What is the need of Correlation State in Message Inspector?

I am using message inspector at the server side. Regarding Correlation state my understanding is as below - Correlation state is populated on the AfterReceiveRequest & BeforeSendReply. ...
0
votes
2answers
16 views

how to use wcf service in jquery html application as remote or local?

hi; how to use wcf service in jquery html application as remote or local? i have been prepared a wcf service. i would like to use in html file by jquery ajax method. Any error not return. WCF Side ...
1
vote
1answer
29 views

How to access async methods from WCF?

This is my WCF service with method signIn() which looks through a database for a user and returns it's UserID. [ServiceContract] public interface IService1 { [OperationContract] int ...
1
vote
0answers
16 views

How to update Entity Framework from DataSet that is reading XML?

I want to update my database over a WCF Data Service and the Entity Framework from an XML file read from disk. I am using a DataSet to read the XML file but I don't know how to update the database ...
0
votes
0answers
17 views

Is a ping method a good idea to show the status of the WCF connection?

I want to add a visual WCF connection status to my application (winform), my idea is to add a ping method to the WCF contract, then keep pinging it every n. The ping method does nothing except for ...
0
votes
0answers
12 views

Retrieving information of validated user in WCF

I was following this tutorial at http://www.codeproject.com/Articles/380900/WCF-Authentication-and-Authorization-in-Enterprise Now I have it logging in and everything, no problems infact it works ...
0
votes
0answers
7 views

Error private key is not present in the X.509 certificate

This might be a duplicate of Private key is not present in x509 I am consuming WSDL along with MVC project using .net 4.5. I have deployed it on IIS7 and I getting below error. The private key is ...
1
vote
1answer
28 views

Optimal Implementation and Usage of Task Parallel Library?

I have a WCF Service that is responseible for taking in an offer and 'reaching' out and dynamically provide this offer to X amount of potential buyers (typically 15-20) which are essentially external ...
1
vote
1answer
16 views

WCF Service Slow - Options?

I have a WCF Service that is returning JSON data. It has to be able to return 10000-50000 objects. I've done some timing and it takes less than 10 milliseconds for the body of the method the service ...
0
votes
0answers
5 views

Where to configure NLog NHibernate bridge for logging sql configuration?

As a proof-of-concept I am using a console application wrapping a proxy of a WCF service. I execute a few calls through the proxy and write the results to the console. Underlying the WCF service is a ...
0
votes
0answers
15 views

asmx to wcf (dont want consumers to need to change signature)

I am trying to convert asmx webmethods to wcf. I don't want the consumers to change either their input or expected output. A sample web method is [WebMethod] public List<Customer> ...
0
votes
0answers
12 views

UPN Identity for SOAP call getting switched in a clustered service

I make a call in which the WCF service client is constructed like so: var endpointIdentity = EndpointIdentity.CreateUpnIdentity("DOMAINNAME\serviceAccountName@DOMAINNAME"); var endpointAddress = new ...
0
votes
0answers
14 views

ServiceSecurityContext.Current is null in WCF

I'm trying to retrieve the logged in windows user in a WCF service. I've tried using ServiceSecurityContext but Current is always null. ServiceSecurityContext.Current.WindowsIdentity.Name I've ...
0
votes
0answers
9 views

WCF - localhost double hop security negotiation timeout (IIS Integrated mode only)

If someone could help me out here, I would very much appreciate it. I have a set of websites making calls between each other (all on localhost on the same box). Site A makes a series of parallel ...
0
votes
0answers
10 views

Soap Envelope With Credentials - 500 Error

I am building a soap envelope as below, but always get 500 error, the documentation is in php and says : /** * Create the "auth" namespace, which will transmit your * credentials ...
0
votes
0answers
16 views

Missing Assembly when running WCF service

Right now I have a WCF Service application that hosts 2 different services. I have a windows form project that references both services. I have another project called ActionPlugins that is ...
0
votes
4answers
47 views

WCF Contracts without the annotations [duplicate]

I was wondering if there is any way to define a WCF Contract class without using the [DataContract] and [DataMember] annotation. The reason is that domain model we currently have is fairly clean so we ...
0
votes
0answers
17 views

Wrap JSON data with callback function? No JSONP

I have a WCF service that returns a JSON object. Is there an easy way of wrapping this JSON data in parentheses and add the callback name? For anyone that suggests JSONP, I don't want my WCF service ...
0
votes
1answer
13 views

Can't pass parameter from jQuery to stored procedure

I am trying to pass parameters to WCF service and from WCF service to stored procedure, but nothing is going to stored procedure.. value to other parameters in service are getting assign function ...
0
votes
0answers
25 views

Login failed for user 'NT AUTHORITY\\ANONYMOUS LOGON' when accessing sql server from a wcf service with impersonation

I have a very specific problem with a WCF service I'm using: I have an ASP.NET page with 2 dropdowns: The first one is populated from the ASP.NET code behind. The other one is populated from a WCF ...
0
votes
1answer
19 views

How to get UserName and Password from a WCF basic request

I have a Service which expose some functionality in Basic Auth to expose some feeds to powerpivot. During the method call I can see (for example with fiddler) the credential under the attribute: ...
0
votes
0answers
16 views

Error in deserializing body of reply message for operation -wcf [duplicate]

I have list, which is returing 5 questions from DB. Under data contarct , i am using Datamember having string. But i m facing issue: Error in deserializing body of reply message for operation .
0
votes
1answer
6 views

Using Session with WCF WS2007FederationHttpBinding (WSFederationHttpBinding)

I can't get my values stored in the WCF session when use WS2007FederationHttpBinding. I've seen this topic Session in WCF not consistent, but it didn't help. Moreover, I don't care about reliable ...
0
votes
0answers
32 views

Calling WCF usng Jquery-ajax

I had gone through many posts but dint get any help. I am trying to call my WCf using jquery ajax but I always get following errors. 400 (Bad Request) Access-Control-Allow-Origin. My code is as ...
0
votes
1answer
9 views

Catch external service fault exception into wcf riaservice

I have wcf service and I used it into ASP.net MVC and WCF RIA service. I am able to catch fault exception into ASP.net MVC but not able to catch into WCF RIA Service. Following code is for wcf ria ...
0
votes
0answers
7 views

not able to consume WCF service application hosted in IIS5.1 from a Windows application(endpoint address inludes the ip address)

Not be able to consume WCF service application hosted in IIS5.1 from a Windows application(endpoint address inludes the ip address) and i am getting error(the referenced account is locked out)
0
votes
0answers
9 views

WCF Service Error Trace

I have a simple service i'm getting following stack trace at client application :- Server stack trace: at ...
0
votes
1answer
11 views

Android/iOS client consumes WCF Duplex service

I am trying to build a server/web service which provides APIs to Android/iOS client. I am using WCF service and clients can send request to server successfully. Now, I am going to make server enable ...
0
votes
0answers
11 views

Publishing web project with service reference to azure

I have one VS 2012 solution, which holds a lightweight MVC web site (little web project), and a WCF service, that is consumed by that site only, that implements some buisness logic. Now if run it ...
0
votes
1answer
17 views

Restful service consuming WCF self hosted service

I am currently working with an application that is using a restful service. There is another application that has a self hosted WCF service running. I would like to consume the self hosted service ...
2
votes
2answers
19 views

Debugging WCF service that will not serialize objects

I am having issues with serializing objects to JSON, and being new to WCF, I am having issues on where to start in terms of debugging. All I get if I hit the service by typing the url in the browser ...
1
vote
0answers
10 views

workflowapplication and SynchronousSynchronizationContext in WCF

I'm implementing a stare machine application using WF 4.5; this workflow is hosted by a WCF service using the WorkflowApplication class. It's intended to be used by an ASP.NET MVC application that ...
1
vote
0answers
11 views

Kendo Chart not reading WCF service that returns JSON object

I've been having a hard time with this, so any help is appreciated. I've been trying to populate a kendo chart with data from a JSON object. For my example I'm using the code from this Kendo Remote ...
0
votes
1answer
17 views

WCF Authentication Binding Errors

I have a WCF Service which also consumes a sharepoint userprofile service. I am getting this error when i try to run the service on IIS. The authentication schemes configured on the host ...
0
votes
1answer
21 views

turn on IncludeExceptionDetailInFaults?

My WCF service throwing exception. not able to find what is the exception could be. It throws like this System.ServiceModel.FaultException: The server was unable to process the request due to an ...
0
votes
0answers
17 views

Is there a way to wake up a suspended metro app using wcf?

I have a WCF service that can access the database and I would like to be able to use it to check the database for updates, and then inform the app about these updates even if it is suspended. I've ...
-1
votes
1answer
39 views

WCF to acknowledge a received message

Consider this scenario; we have a WCF Service A and a WCF Service B. Service A will send a request message to Service B Service B will receive the request message and sends an acknowledgement to ...
0
votes
1answer
8 views

Value of type 'DOOD.ServiceReference1.Search' cannot be converted to 'DOOD.Search'

After adding service reference in web application it created reference.vb class with namespace service reference1 and when i tried to assign i created a class same as what web service is returning ...
0
votes
1answer
12 views

How should i create datacontract for a List of class which contain nested list of classes as properties

public class GroupItem { public string Name {get;set;} public string ID{get;set;} } public class MainItem { public List<GroupItem> Group {get;set;} ...
1
vote
0answers
10 views

WCF handle update to person object

I have this pretty common problem. I have POCO person class. [DataContract] public class Person { [DataMember(IsRequired = true)] public int id{get;set;} [DataMember] public decimal? ...
0
votes
1answer
12 views

WCF REST JSON argument polymorphism

I'm implementing REST service with JSON message format using WCF. I have a method that should take argument of different types (but derived form basic class). And I wonder if it is a good approach to ...
0
votes
0answers
7 views

WCF serialization / deserialization xsd vs svcutil

WCF Service Interface : [ServiceContract(Name = "TestService", Namespace = "http://www.company.com/tests")] [XmlSerializerFormat] public interface IService1 { [OperationContract] string ...
1
vote
1answer
16 views

WCF - SOAP Action mismatch error while testing with SoapUI

How do I fix this? > <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" > xmlns:a="http://www.w3.org/2005/08/addressing"> <s:Header> > <a:Action ...
1
vote
0answers
19 views

WCF Windows Service Host - WCF Http Request Mapping

I am hosting a wcf rest service within a windows service hosting container and am having an issue mapping http requests from a distinct dns name to a given wcf endpoint. It seems like the requests ...
0
votes
1answer
16 views

IE9 XmlHttpRequest returns 12019 error instead of HTTP/417 response code

I have some error processing for ajax request to WCF service on client side, self.remove = function (dep, processingResult) { var data = { "id": dep }; $.ajax({ ...
0
votes
2answers
19 views

extract data from json

I have a json data coming from wcf servicein jquery like this GetBedTypeList1Result1 is function in wcf { "GetBedTypeList1Result":[ {"Code":23,"CompanyCode":null,"Decode":"1 Class New ...
0
votes
1answer
13 views

WCP WebHttpBinding times out on machines on the same LAN

I'm currently attempting to add a simple WCF-based web UI to an existing application, so that certain aspects can be remote controlled via any device on the same LAN with a web browser. (from a phone ...
1
vote
1answer
20 views

Bad NLog callsite for a WCF logging behavior

I am writing a logging behavior like in this blog by Pieter de Rycke, but for NLog. I came up with this code: public class NLogLogger : IParameterInspector { private void Log(Type instanceType, ...
0
votes
1answer
18 views

protobuf-net as wcf serializer with object in OperationContract

I have project that uses wcf. Currently it uses NetDataContractSerializer. I want to migrate to protobuf-net. My service has folowing contract: interface IRemotingServer { [OperationContract] ...

1 2 3 4 5 620
15 30 50 per page