If you want to passing the dynamical parameters, you can using webm:usePipeline to access the variables in IS pipeline before invoking the IS service. The following is a sample code, wish it is helpful for you ! The IS service Test1:Flow3
needs two input parameters, one is num1, the other is num2.
<%@> – page language=“java” contentType=“text/html” import=“com.wm.data.*”
<%@> – taglib uri=“http://webm-taglib.tld” prefix=“webm”
<html>
<%!> – String num1=“111234”;
<%!> – String num2=“aaabbb”;
<webm:scope>
<webm:usepipeline>
<% IDataCursor pipelineCursor_1 = webm_pipe.getCursor();
IDataUtil.put(pipelineCursor_1, “num1”, num1);
IDataUtil.put(pipelineCursor_1, “num2”, num2);
pipelineCursor_1.destroy();
%>
<webm:invoke> – serviceName=“Test1:Flow3”
output
Final result: <webm:value> – variable=“result”
</webm:usepipeline>
</webm:scope>
</html>
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB