The Problem SolverWIndows Workflow Foundation
HomeShow ChangesEditPrintRecent ChangesSubscriptionsLost and FoundFind ReferencesRename



26-11-2007 08:12:405-10-2007 15:54:3923-8-2007 22:56:5721-10-2006 13:54:2621-10-2006 13:54:08

List all versions

Web Service Namespace

The generated web services always use as the namespace.

The recommended work around for this is to write your own web service proxy class by deriving from WorkflowWebService. Here's a rough sample which we recommend. After talking to the dev team about this we're considering putting out a sample that helps you generate this more directly.

    public class myWFWebService : WorkflowWebService
        public myWFWebService()
            : base(typeof(Workflow1))

        public virtual string myMethod(string s)
            return (string)base.Invoke(typeof(Interface1), "myMethod", true, new object[] { s })[0];

The above sample is for an interface that’s like this:

    interface Interface1
        string myMethod(string s);

Another solution can be found

Wiki Usage

This wiki site is supposed to be a shared resource. As a shared resource everyone is encouraged to add new content or modify existing content!

Enjoy the WF wiki.

Recent Topics