using Task API to customize webMethods task management with .net client
May 10, 2013 18:49 1 Comments CAF kumar

 

I am providing below a step-by-step approach to use task API with .net clients which I thought would be useful to other users as I didn't find a proper documentation on this yet.

Step1: 

Use the provided task API URL(http://YOURSERVER:8585/services/bizPolicy/taskDotNet) to create a web Reference(Not Service Reference) in visual studio. 

 Step2:        

 You can use the following code on your proxy object created in step1 to pass authentication information.

 CredentialCache cache = new CredentialCache();

  cache.Add( new Uri(proxy.Url), "Basic",new NetworkCredential("Administrator", "manage"));   //you typically pass Administrator level permissions to create the connection and then to use most of the operations

 proxy.Credentials = cache;

 

Step3:  

Now you can start using the TASK API documentation which will be found in 

Task_Engine_API_and_Service_Reference.pdf ........It has all the information about different operations that you can call from your proxy for achieving different results.

 

I hope this helps anybody looking to invoke Task API from .NET clients.

 

Thanks,

Kumar Pindiprolu.

Prev Next
About the Author
Topic Replies (1)
  1. 1
    idnkx user

    Pavan

    Nice Blog, Appreciate your work Kumar. Thanks, Pavan

Leave a Reply
Guest User

You might also like

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect