.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Calling ResumeBookmark from WCF Workflow Services

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :Windows Application
I am using WCF Workflow Services too host the workflow runtime. I invoke the workflow through xamlx service reference created in my web project. I am creating bookmarks at certain locations in the workflow. Is there a way I can call "ResumeBookmark" from my web project? I see that the only way to call is through a regular workflow application (not a service).

Any help would be appreciated.

View Complete Post

More Related Resource Links

Workflow Services: Visual Design of Workflows with WCF and WF 4


The .NET Framework 4 makes it easier than ever to implement WCF services using WF. We'll demonstrate just how easy it is by modeling a long-running, durable and instrumented workflow based on a real-world business case without having to write any code.

Leon Welicki

MSDN Magazine May 2010

Foundations: Workflow Services for Local Communication


This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.

Matthew Milner

MSDN Magazine November 2009

Foundations: Workflow Services


With the NET Framework 3.5, Windows Workflow Foundation can now truly be integrated with Windows Communication Foundation. This column describes how the integration works and how to make use of it effectively.

Matt Milner

MSDN Magazine Launch 2008

Web Service Workflows: Deploy Distributed Business Processes With Windows Workflow And Web Services


Due to the distributed nature of a business process it makes sense for a workflow to be deployed as a distributed application. See how Windows Workflow and Web Services hold the key.

Israel Hilerio

MSDN Magazine October 2006

BizTalk 2004: Automate Your Business Processes with Human Workflow Services and Visual Studio


BizTalk Server is an excellent platform for automating B2B and EAI workflows. Process-driven workflows send messages between machines and access data. Until now, such processes were very difficult to automate, but with the introduction of Human Workflow Services in BizTalk Server 2004, this class of workflow automation is a very real possibility. This article explains it all.

Chris Whytock

MSDN Magazine October 2004

Calling Web Services


Dear Friends,

I m new to web services.I want to create and call the web service on click of button which wold give me city id and cityname.Then I want to bind it to the Dropdownlist1 

How shold i to it




Error loading workflow services

Hello, I'm developing a service library using the new wf 4.0 and one of my requirements is that some activities have the ability to be resumed by a client, so i created a wcf resume service that could load a workflow definition and resume a bookmark of that workflow. One of the services i created was a flowchart that has a receive reply activites inside a sequence activity has a start point, after that i have another sequence that have another sequence, yes 2 sequence activities, and my custom activity that needs to be resumed by a client. The 2 nested sequence activites was a something i used only for testing, but if i had those 2 sequence activities nested i got an error when loading that workflow definition in my resume service: 'ObtemPareceres' is not of type 'Sequence'. When loading this instance you must ensure that the activity with name 'ObtemPareceres' implements 'Sequence'. The "ObtemPareceres" is my custom activity, and if i remove that second nested sequence everything works fine. Anyone has any idea of whats going where? thanksFrederico Regateiro

Calling WCF Services From Silverlight Keeping The Code Inline in VB.NET

Hello,   I have a large amount of code that I'm trying to convert to a Silverlight 4 Application from a VB.NET Win Forms App.  All of the business logic code is written inline calling stored procedures on a database.  There is so much code that it's overhelming to be making asynchronous call after asynchronous call back to the WCF service.  The code is now all over the place since I'm having to chain methods all around after the WCF calls complete.    I don't really need these WCF calls to be done synchronously (since we don't want to block the main UI thread), but is there any good way in VB.NET to keep all the code in-line when calling a WCF service?  Is there some sort of wrapper that can be used to call the WCF methods or another way?  I know some of this is done easier in C#, but I'm having some issues with this being done in VB.NET.   Example In The VB.NET App I'm Converting:   Dim Customer As New Customer   If Customer.CheckIfCustomerExists(10) = True    'Calls the database, checks if Customer #10 exists        'Do Something   Else       Dim CustomerNum As Integer = Customer.InsertNewCustomer("Customer Name")       'Do Something    End If In Silverlight This Woul

Workflow Service not calling workflow in another project

I have a windows workflow service 4.0 that calls a workflow located in another project (i.e. another assembly). I have created a project reference in my workflow service project to the workflow in the other assembly. I have set a breakpoint in the workflow service receive activity and this breakpoint is hit. Next I step into the next activity which is an activity located in another project and the debugger does not work. Also the other workflow is sending an email.  It appears that the other workflow is not being called because I never receive an email from the workflow in the other project.   Any help is greatly appreciated.

Error calling sharepoint web services from .net 3.5 WCF client...

Code Snippet                 using (OCUserProfileService.UserProfileServiceSoapClient service =                     new TestAndDestroy.OCUserProfileService.UserProfileServiceSoapClient(GetWcfBinding())) {                     service.ClientCredentials.Windows.AllowedImpersonationLevel = TokenImpersonationLevel.Impersonation;                                     PropertyData[] properties = service.GetUserProfileByName("domain\\user.name");                     foreach (PropertyData p in properties) {                        Console.WriteLine(p.Name);                        Console.WriteLine(p.Values);                    }       produces....The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://microsoft.com/webservices/SharePointPortalServer/UserProfileService:GetUserProfileByNameResponse. The InnerException message was 'Error in line 1 position 392. 'Element' 'IsPrivacyChanged' from namespace 'http://microsoft.com/webservices/SharePointPortalServer/UserProfileService' is not expected. Expecting element 'Name | Privacy'.'.  Please see InnerException for more details.   I'm totally stumped, any ideas???

Workflow Services in WF4 - how to find out which operations can be invoked?

Hi All I'm just working through a migration from WF3.5 to WF4.0. In WF3.5, with the Receive activity, I was able to access the workflow runtime behavior from the workflow service host, and get access to the workflow runtime. From the workflow runtime, I could get the workflow instance, and from the workflow instance I could enumerate the queues. Because the conventional queue name was InterfaceName|OperationName, I could find out which operations could be delivered to a particular workflow. I wrote a companion service that returned this information to the client. This meant that the client application didn't have to have knowledge of which operations could be delivered to a particular workflow based on its current state, which was nice! In WF4.0, is there equivalent functionality available? I can post some indicative code samples from WF3.5 if required... Regards Nigel

Hosting workflow services with durable timers / delays

If I host a workflow service in IIS, will persisted workflows with expired timers be reliably and automatically reloaded? What about if I host it with WorkflowServiceHost in my own app? I haven't been able to find a clear answer to this question - all I found were old posts referring to the betas, where apparently you needed Workflow Management Service to do this, but this isn't in the shipping version of Workflow Foundation. I'd greatly appreciate a clear unambiguous answer.

SSIS custom task calling web services response errors.

Hi             I have some code within a .Net 3.5 library which call a web service.  The web proxy class was created using WSDL command line tool.  Also the library is wrapped within .Net console, for testing the library works, and SQL Server Integration Services custom task, which is intended to use so that it will be part of the ETL process.    If I run the SSIS custom task and console application on a Windows XP everything works as expected.    However I am currently facing a problem where the response from the web service is not being interpreted correctly when running within the SSIS custom task on windows server 2008 R2, whereas the response from the web service is correctly understood when running the library within console application on the same server.    Has anyone come across this problem before or know any issues with SSIS and .Net libraries which call web services?

Error Publishing Workflow - : Activation could not be completed because the InfoPath Forms Services

Recently our when trying to publish a new workflow we are getting the following error: Activation could not be completed because the InfoPath Forms Services support feature is not present. Another symptom is any existing custom workflows are not running. There are several older posts from SharePoint 2007 that indicate to disable and re-enable the SharePoint Server Enterprise Site features. I have tried that and I still get the error.  Looking through the ULS I see the following when I try and publish a workflow: 09/16/2010 15:04:29.48 w3wp.exe (0x2070) 0x0718 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070002 c700de1a-5756-4f45-915e-3b229e56f049 09/16/2010 15:04:29.48 w3wp.exe (0x2070) 0x0718 InfoPath Forms Services Conversion and Deployment ey0w Verbose VerifyListPresence: FTL not found on site:http://uchintranet due to expected FileNotFound exception:The system cannot find the file specified. (Exception from HRESULT: 0x80070002) c700de1a-5756-4f45-915e-3b229e56f049 09/16/2010 15:04:29.48 w3wp.exe (0x2070) 0x0718 InfoPath Forms Services Runtime 82mv Exception Activate NonAdminSolution failed with unhandled exception Microsoft.Office.InfoPath.Server.Util.InfoPathLocalizedException: Activation could not be completed because the InfoPath Forms Services support feature is not present.     at Mic

Calling multiple WCF services


I have multiple services in my application. WebService1, WebService2,WebService3 and so on..

All the services have same methods, but they are hosted on different IPs.

Now when a client calls a methodA(1) then

WebService1Client.Method() should be called;

client calls a methodA(2) then WebService2Client.Method() should be called.

I do not want to do a switch case for each and every function on the client.

I would rather prefer to create some class/methods which would return the appropriate proxyClient.

How can I create a class to return the object and further how to use that object.

Please point me to some sample codes or references.


Calling WF 4 Workflow Service Asynchronously from ASP.NET



I have a developed a workflow service in VS 2010 and added it to my web site as a service reference with the option of 'Generate asynchronous operations' checked.I am now calling the workflow from my asp.net page and everything works fine except that the page will not finish loading until the workflow completes its operations.I have also added the page directive async=true to the top of the page.My workflow service  is just two activities and a 10 seconds delay in the middle, so the second operations will get called after 10 seconds.I have also configured the persistence store from the web.config file.


Here is my code:


ServiceClient svc = new JobWorkflow.ServiceClient();

Thanks in advance.




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend