How to pass string value from WCF to Windows service? RRS feed

  • Question

  • Hi,

    I am facing issue to pass the string value from WCF service to Windows service.

    I am creating one windows application that will communicate with WCF service for passing some string value.

    When WCF service received that string, it has to pass to one of the Windows serivice hosted in that machine.

    How can i pass the string value to Windows service from WCF? Please suggest some idea on this



    Thursday, August 19, 2010 8:52 AM


  • The best approach is to host the WCF service directly in windows service which requires that string. Otherwise you have two processes (windows service and WCF service host) which have to exchange data. That means another layer of WCF services (or remoting) with IPC communication.

    Best regards,

    Thursday, August 19, 2010 9:13 AM