%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
invoke.jsp
Web Service API - Sample
<%
try {
com.ibm.www.QueryProcessTemplates parameters = new com.ibm.www.QueryProcessTemplates();
com.ibm.www.QueryProcessTemplatesResponse bfmResponse = MyBFMAccess.queryProcessTemplates(parameters);
com.ibm.www.ProcessTemplateType[] templates = bfmResponse.getProcessTemplate();
if (templates == null || templates.length == 0) {
out.println("No process templates found on server.");
} else {
out.println(templates.length +" process template(s) found, details following:
");
out.println("");
out.println("Name | Auto-delete | Long running |
");
for (int i=0; i");
out.println("" + templates[i].getName() + " | ");
out.println("" + templates[i].isAutoDelete() + " | ");
out.println("" + templates[i].getExecutionMode() + " | ");
out.println("");
} // end for
out.println("
");
} // end if
} catch (Exception e) {
out.println("Error while doing call: "+e);
}
%>
Basic sample - Home