Questions tagged [wcf-routing]

An intermediary WCF service that acts as a message router

The WCF Routing Service is a generic SOAP intermediary that acts as a message router. The core functionality of the Routing Service is the ability to route messages based on message content, which allows a message to be forwarded to a client endpoint based on a value within the message itself, in either the header or the message body.

The RoutingService is implemented as a Windows Communication Foundation (WCF) service in the System.ServiceModel.Routing namespace. The Routing Service exposes one or more service endpoints that receive messages and then routes each message to one or more client endpoints based on the message content. The service provides the following features:

  • Content-based routing
  • Service aggregation
  • Priority routing
  • Dynamic configuration
  • Protocol bridging
  • SOAP processing
  • Advanced error handling
  • Backup endpoints

To implement content-based routing, the Routing Service relies on MessageFilter implementations that are used to match specific values within the messages to be routed. If a MessageFilter matches a message, the message is routed to the destination endpoint associated with the MessageFilter.

Reference: http://msdn.microsoft.com/en-us/library/ee517423(v=vs.110).aspx

66 questions
16
votes
4 answers

WCF Routing with Message Security

I have a WCF service with Message Security Authentication. I want to set up a routing service for Load Balancing. For some reason it doesn't work, I've enabled includeExceptionDetailInFaults to see exceptions, so in the client I see: The client…
Maxim
  • 7,268
  • 1
  • 32
  • 44
7
votes
3 answers

WCF routing and service metadata

I'm building a WCF router which needs to act as a proxy for a number of internal web services (WCF and ASMX). The routing part is fairly straight-forward, but I can't understand how the service metadata exchange would work in this solution. In other…
Ilya Ayzenshtok
  • 721
  • 2
  • 7
  • 18
6
votes
1 answer

WCF Routing Service - Dynamic Error Handling

I'm learning about what can be done with the WCF Routing Service. Still at the 'screwing around with it to see what it can do' phase. My understanding of the Routing Service is that when a message comes through, the service will try to pass it on to…
Daniel Schealler
  • 390
  • 1
  • 16
4
votes
1 answer

WCF routing + WIF

How does the new routing service deal with security? According to http://blogs.microsoft.co.il/blogs/applisec/archive/2011/12/12/wcf-routing-and-message-security.aspx, it might be difficult when default windows security is not chosen (typically a…
fabien
  • 2,041
  • 1
  • 16
  • 19
3
votes
1 answer

WCF routing + SSL

I need to create a "routing" service. I'm trying to used the System.ServiceModel.Routing.IRequestReplyRouter of .Net I can make it work only in HTTP mode, not in HTTPS. The error is "Cannot establish secure SSL/TLS connection"... I also tried a…
Francesco
  • 1,840
  • 19
  • 24
3
votes
0 answers

WCF Routing Https Causing Multiple Requests from the Service Hosting the Router

I have a scenario where I need to connect to a secure external soap web service with basic authentication. Normally this isn't a problem, and this works in my local development environment with basicHttpBinding. When the app is deployed it will live…
Iron Ninja
  • 434
  • 1
  • 3
  • 13
3
votes
2 answers

WCF routing -- how to correctly add filter table programmatically

I am using the WCF 4 routing service, and need to configure the service programmatically (as opposed to via config). The examples I have seen of doing so, which are rare, create a MessageFilterTable as follows: var filterTable=new…
Jeffrey Meyer
  • 5,410
  • 7
  • 30
  • 27
3
votes
1 answer

WCF routing backuplists - logging when they are used

Is there anyway to add some logging or a behaviour to the WCF routing list so that I can log when the routing has made use of an endpoint on a backup list?
Remotec
  • 10,304
  • 25
  • 105
  • 147
3
votes
3 answers

WCF 4.0 routing with mex using System.ServiceModel.Routing.RoutingService

I have service with working MEX at: net.tcp://remotehost:4508 What is the shortest C#/F# code (hard time understanding XML configuration files ^_^") I could write to create a router to it at?: net.tcp://localhost:4508 MEX should also be routed…
Cetin Sert
  • 4,497
  • 5
  • 38
  • 76
3
votes
0 answers

Receiving an error using URL Routing with built-in WCF Router Service

I wanted to create an extension less (file-less if possible) router endpoint via WCF Router Service that has customer user/password security policy. I am getting the following Fault Exception when attempting to route SOAP messages through…
Roman
  • 1,177
  • 1
  • 17
  • 25
3
votes
5 answers

How do I make a JavaScript call to a WCF service hosted on a different domain?

We are designing a web application using ASP.NET and AJAX and we want to host our WCF Service Layer on a different website and make JavaScript calls to the Service Layer from our client pages. We understand that the browser will not allow AJAX…
Josh Kahn
3
votes
2 answers

Setting OperationTimeout on Wcf RoutingService

I'm struggling with setting the OperationTimeout on the RoutingService The issue is that the service to which the message is forwarded needs more then 1 Minute to give a response. This causes an OperationTimeout Exception on the RoutingService. I…
Giulia Amato
  • 41
  • 1
  • 4
2
votes
1 answer

Dynamic Routing with .Net4 WCF Router Service

I'm looking for example for dynamic routing with .net 4 wcf service. please help me.
Morteza Azizi
  • 479
  • 5
  • 23
2
votes
1 answer

Routing calls to legacy ASMX web service through WCF Routing Service

I am working on a legacy application that contains references to two .asmx web services. We want to restructure the service layer to follow more of an Enterprise Service Bus pattern, where the client will direct all of its calls to one service,…
mclark1129
  • 7,532
  • 5
  • 48
  • 84
2
votes
1 answer

How can I get WCF Routing to give me a more detailed error message than - No matching MessageFilter?

Is there a way to configure WCF Routing so that if your filters don't match you can get more information about the message that could not be routed? Currently we're using AppFabric and we only get the following message. This message is not very…
ScArcher2
  • 85,501
  • 44
  • 121
  • 160
1
2 3 4 5