locked
SoapFaultException: The message '...' from non-participant is ignored for routing. RRS feed

  • Question

  • I think there's something wrong with my routing manifest but I couldn't find it out, can someone help me?

    I have 3 participants (all web services including the source one) and 3 routes.

                //Set the manifest properties
                manifest.SessionName = "DemoManifest";
                manifest.RouteAnyAction = true;
                manifest.Timeout = 30;

                //Create the Participant Manifest
                manifest.Participants = new ParticipantManifest[3];

                //Create a new ParticipantManifest
                manifest.Participants[0] = new ParticipantManifest();
                manifest.Participants[0].Role = ParticipantRoles.Service;
                manifest.Participants[0].ParticipantName = "GatewayLogin";
                manifest.Participants[0].ParticipantUrl = "
    http://csfvpc30-app/GatewayWS/Service.asmx";
                manifest.Participants[0].ParticipantID = "GatewayLogin";

                //Create a new ParticipantManifest
                manifest.Participants[1] = new ParticipantManifest();
                manifest.Participants[1].Role = ParticipantRoles.Service;
                manifest.Participants[1].ParticipantName = "AAAService";
                manifest.Participants[1].ParticipantUrl = "
    http://csfvpc30-app/AAAWS/Service.asmx";
                manifest.Participants[1].ParticipantID = "AAAService";

                //Create a new ParticipantManifest
                manifest.Participants[2] = new ParticipantManifest();
                manifest.Participants[2].Role = ParticipantRoles.Service;
                manifest.Participants[2].ParticipantName = "SubscribeService";
                manifest.Participants[2].ParticipantUrl = "
    http://csfvpc30-app/SubscribeWS/Service.asmx";
                manifest.Participants[2].ParticipantID = "SubscribeService";


                //Create the Routing Table
                manifest.RoutingTable = new RoutingTable();
                manifest.RoutingTable.Routes = new Route[3];

                //Create a new Route
                manifest.RoutingTable.Routes[0] = new Route();
                manifest.RoutingTable.Routes[0].Criteria = "ACTION EQ 'http://tempuri.org/Login'";
                manifest.RoutingTable.Routes[0].Destination = "AAAService[http://tempuri.org/AAA]";

                //Create a new Route
                manifest.RoutingTable.Routes[1] = new Route();
                manifest.RoutingTable.Routes[1].Criteria = "ACTION EQ 'http://tempuri.org/AAA'";
                manifest.RoutingTable.Routes[1].Destination = "SubscribeService[http://tempuri.org/Subscribe]";


                //Create a new Route
                manifest.RoutingTable.Routes[2] = new Route();
                manifest.RoutingTable.Routes[2].Criteria = "ACTION EQ 'http://tempuri.org/Subscribe'";
                manifest.RoutingTable.Routes[2].Destination = "GatewayLogin[http://tempuri.org/Login]";

     

    And here is how I send the message synchronously after session succesfully created:

            Header header = new Header();
            header.Addressing = new AddressingHeaders();
            header.Addressing.To = new Uri(response.SessionLocations[0].SessionWSUri);
            header.Addressing.Action = "http://tempuri.org/Login";
           
            header.CsfProperties.SessionId = new Uri(this.sessionId);

            Message message = Message.CreateMessage(header, strUsername);
            message.Header.Security.Add(new Microsoft.ConnectedServices.Sdk.Security.Tokens.UsernameToken(@"csfvpc30\csf_user", @"passw0rd!", PasswordOption.SendPlainText));
            MessageSender sender = new MessageSender();
            string[] returnList = sender.SendSync<string[]>(message);
            return returnList;

     

    I am using CSF 3.0 full version and the title is what I got in the event log.

    Thanks and regards,

    Mengruts,


    Wednesday, February 14, 2007 9:54 AM

Answers

  • This is already discusssed in CSFDiscussion alias. Please let me know if it is not resolved.
    Monday, March 5, 2007 5:57 PM