Questions tagged [wcf-4]

Wcf 4 is a version of Microsoft Windows Communication Foundation (WCF) released with Microsoft .NET Framework 4.0

44 questions
0
votes
1 answer

local WCF client server connection: message that no service is listening

After two years I am coming back to implementing a WCF service. I want for starters to configure a super simple, configuration file free service. I have the servercode below. When I use svcutil to create a proxy all is fine. But when I try to…
Dabblernl
  • 15,831
  • 18
  • 96
  • 148
0
votes
1 answer

how to control help file generation for WCF 4 REST Service?

I have written a WCF Rest Service that uses XmlSerializer. I have also implemented IXmlSerializable on the type I am accepting as a service parameter. The serialization works great. However the help files that WCF generates by default do not…
BentOnCoding
  • 27,307
  • 14
  • 64
  • 92
0
votes
2 answers

Custom "Basic" Authentication for my WCF services. REST and RIA. Possible?

My server side contains WCF4 REST services and I'm going to add RIA services for my future SL4 application. Currently I'm doing Basic authentication like this: var auth = HttpContext.Current.Request.Headers.GetValues("Authorization"); And so on..…
katit
  • 17,375
  • 35
  • 128
  • 256
0
votes
1 answer

Retry logic with multiple methods

I am implementing retry logic for WCF services on the client side. I have multiple operations in WCF service with various input parameters and return types. I created a wrapper that can make a call to these certain methods that have no return…
Deepak
  • 23
  • 2
  • 7
0
votes
2 answers

ASP.NET ExecutionTimeout no effect on IIS-hosted WCF service

I guessed that the ASP.NET ExecutionTimeout would have an effect on my IIS-hosted WCF service, however, it does not. Is there some magic going on in WCF which disables the ExecutionTimeout?
D.R.
  • 20,268
  • 21
  • 102
  • 205
0
votes
0 answers

How to use Throttling and Fault Contract in WCF?

First of all sorry if it is repeated question any where. Today I got some task saying that The throttling policy for SMS is 1000/min across all clients. As well as another thing is : The SOAP fault returned when the throttling limit is breached…
0
votes
1 answer

Change "" on request recieved in WCF

I have a WCF service implemented via custom wsdl. It simple have 5 methods as per wsdl. Call to My service from standard client works fine. Problem was in some old implementation which send SoapAction="" I wanted to change the soapAction to some…
Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
0
votes
2 answers

MSMQ + WCF - Immediately Move Messages to the Dead-Letter Queue

We have a WCF service that listens for messages on a queue (MSMQ). It sends a request to our web server (REST API), which returns an HTTP status code. If the status code falls within the 400 range, we are throwing away the message. The idea is a 400…
Travis Parks
  • 8,435
  • 12
  • 52
  • 85
0
votes
1 answer

wcf fault exception not throwing/being caught properly

This is the exception I get: An exception of type 'System.ServiceModel.FaultException`1' occurred in TestService.exe but was not handled in user code I try to run my client and the debugger gets caught when I try to do the following catch (Exception…
Price Jones
  • 1,948
  • 1
  • 24
  • 40
0
votes
1 answer

Firing event in WCF (4.5) host

I am trying to get this to work in the latest version of WCF. The problem is that BatServ does not show up for me to use from the service reference that was added. Only IBatServ does. is this because of the latest version of WCF or something else?
O.O
  • 11,077
  • 18
  • 94
  • 182
0
votes
1 answer

WCF Duplex communication with InterSystems

Can someone point me to a sample of how to call a WCF service using wsDualHttpBinding? I created the classes using the SOAP Client Wizard and everything compiles. When I run the objectscript code, it hangs on the web service call for a while (it's…
O.O
  • 11,077
  • 18
  • 94
  • 182
0
votes
1 answer

WCF Service Publishing and Fileless Activation : still create a .svc file

Using Visual Studio 2012, I have created a WCF 4.5 Service Library. When the service is published to my local IIS, despite the serviceActivations section in the configuration file, a .svc file is still created. I'm also using a custom factory in the…
anon
0
votes
1 answer

Can I have a WCF application that has two endpoints. One with Windows Security and one without?

I have read several posts (here on SO and on MSDN) that supposedly show how I can have two endpoints for my WCF service. But and I can't seem to get this to work. I tried what they show, but it still does not work. Here is what I have…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

Multiple services vs unique service

Hi i would like your help so i can decide on what to do with this matter. The thing is that at my work we are currently migrating from Web Services to using WCF, now the thing is that when we used web services we had one web service that was in…
user1655331
  • 33
  • 1
  • 4
1 2
3