Monday, December 16, 2013

SOAP Request Usage

SOAP Request Object usage in Java

SOAPRequestObject getTasks = new SOAPRequestObject("http://schemas.cordys.com/notification/workflow/1.0", "GetTasks", new String[]{"AssignedBy","Target","OrderBy","ShowNonWorkableItems","ReturnTaskData"}, new Object[]{"","","Task.DeliveryDate desc",false,false} );
    getTasks.setUser(BSF.getUser());
    getTasks.addParameterAsXml(criterionNode);
    returnObj = getTasks.execute();

where criterionNode is an XMLNode(Int)

No comments:

Post a Comment