wcf - Using ChannelFactory with WorkflowServiceHost -


is there way service inference on workflow definition xaml create interface can distributed client used channelfactory instead of host exposing wsdl , client having generate service definition adding service reference?

i did in 3 step process:

  1. temporarily exposing metadata workflow service
  2. creating proxy code svcutil
  3. changing configuration not exposing metadata

in detail:

  • include xamlx file defines service in project created "wcf workflow service application" (declarativeservicelibrary1)
  • compile project
  • set project startup project
  • select xamlx file in solution explorer
  • press ctrl-f5 -> wcf test client starts, see service loaded
  • rightclick on xamlx url in wcf test client, choose copy address (e.g. http://localhost:56326/service1.xamlx)
  • open vs2010 admin console window
  • create proxy code svcutil.exe:
    • cd /d %temp%
    • svcutil http://localhost:56326/service1.xamlx
    • this creates 2 files, *.cs , *.config, contain proxy code

i had lot of problems other ways of craeting proxy code (inside vs2010), external svcutil stable way it. hope helps.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -