IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Looking for a sample invocation of task API from .net framework.

    Posted 05/03/13 06:28 PM

    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 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.


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 2.  RE: Looking for a sample invocation of task API from .net framework.

    Posted 05/07/13 01:03 PM

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

    I modified client config bindings as below:

    [

    			  <security mode="TransportCredentialOnly">
    
    <transport clientCredentialType="Basic"/>
    
    </security>
    </binding>]
    

    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?


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: Looking for a sample invocation of task API from .net framework.

    Posted 05/08/13 03:24 PM

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


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS