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

How to call IS service from Portal with JAVA code.

  • 1.  How to call IS service from Portal with JAVA code.

    Posted 06/19/08 08:14 PM

    the service is called but the parameter is always null even if I try to put the value directly like p.setStringIn(“test”);

    Is there a BUG or do I need to put the value in parameters in another way?

    List selectedIds = getSelectedTaskIDs();
    ActivationService1 taskClient = new ActivationService1();

    for (String taskID: selectedIds) {
    taskClient.setTaskID(taskID);

    com.webMethods.caf.is.wsclient.pstesting.datetest.DateTest9 CompleteTask = new com.webMethods.caf.is.wsclient.pstesting.datetest.DateTest9();
    com.webMethods.caf.is.wsclient.pstesting.datetest.DateTest9.Parameters p = CompleteTask.new Parameters();
    p.setStringIn(taskID);
    CompleteTask.refresh();
    }


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