Topic:   Looking for a sample invocation of webMethods task API from .net framework.
May 04, 2013 00:08 7 Replies 1760 Views kumar
Prev Next
Topic Replies (7)
  1. 1
    idnkx user

    kumar

    Hi all, I am looking for a code sample or better documentation for invoking task API with our .net application... I would really appreciate if anybody can point me in the right direction....

    I am facing issues with accessing(authentication error) the API to use various operations......I didn't find a proper documentation anywhere on sending authentication credentials to the API.....I have already gone thru the TASK API pdf files that comes with the installation in the webmethods/document folder. But I didn't find any useful information on how to send client credentials for the TAsk API.


    Please help me,
    Thanks in Advance
    Kumar.

    1
    idnkx user

    kumar

    I resolved this issue by using a serviceReference from within dotNet application:

    I modified client config bindings as below:

    [






    ]

    Now I am able to connect to MWS from my interface and I see that I can delete tasks as an admin.

    I am still having issues when I use getTask() to get task info for a particular user....Task object is simply null

    Did any one face this issue before?

    1
    idnkx user

    kumar

    I got this working..we need to use Add Web Reference instead of Add Service Reference

    1
    idnkx user

    Pavan

    Thanks for sharing this useful information Kumar :)

    1
    idnkx user

    kumar

    You are welcome man...one week of hard work gone into finding this stuff :) ...I still want to validate it with anyone who is already implementing this.

    1
    idnkx user

    Pavan

    Kumar,

    After validating your scenario I suggest you to write a [url=http://idnxchange.com/webmethods-blogs.html] Step by Step Blog[/url] which would to useful to other users going through the same scenario.

    1
    idnkx user

    kumar

    Sure...Will do sometime this week.

Leave a Reply
Guest User

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