locked
Routing table can not contain multiple routes for endpoint RRS feed

  • Question

  •  

    What is the reason that it is not possible to have multiple routes to one endpoint?

     

    My work around currently is to have multiple operation attributes at one methode

     

    Code Block

     

    [Operation(Name="method" Action="http://tempuri/method")]

    [Operation(Name="method2" Action="http://tempuri/method2")]

    public void Method(object o)

    {

     ....

    }

     

     

     

    Wednesday, January 2, 2008 3:01 PM

All replies

  • Hi Roel,

     

    CSF Operations are meant to be executed on the basis of the Soap Message which needs an action to be performed. There is generally no need to have multiple actions for a method. There can always be two methods implementing the two different actions.

    Moreover, if there is a need that all response / request messages are required to be handled by one method only then you can always use wildcard characters like "*" for the value of Action.

     

    Hope this helps,

    Rishabh Kapoor

    Monday, January 7, 2008 7:00 PM