int index = Integer.parseInt(httpParmName.substring(4));
String value = request.getParameter("in_t"+index);
String desc = request.getParameter("in_d"+index);
String paramName = request.getParameter(httpParmName);
if(paramName != null && paramName.trim().length() > 0){
methodBean.addInputParms(new ParamObject(paramName,value,index,desc));
}
}else if(httpParmName.endsWith("in_n1")){
int index = Integer.parseInt(httpParmName.substring(18,19));
String value = request.getParameter("serviceInfo:td_in:"+index+":in_t1");
String desc = request.getParameter("serviceInfo:td_in:"+index+":in_d1");
String paramName = request.getParameter(httpParmName);
if(paramName != null && paramName.trim().length() > 0){
methodBean.addInputParms(new ParamObject(paramName,value,index,desc));
}
}
else if(httpParmName.startsWith("out_n")){
int index = Integer.parseInt(httpParmName.substring(5));
String value = request.getParameter("out_t"+index);
String regex = request.getParameter("out_r"+index);
String desc = request.getParameter("out_d"+index);
String paramName = request.getParameter(httpParmName);
if(paramName != null && paramName.trim().length() > 0){
methodBean.addOutputParms(new ParamObject(paramName,value,index,regex,desc));
}
}else if(httpParmName.endsWith("out_n1")){
int index = Integer.parseInt(httpParmName.substring(19,20));
String value = request.getParameter("serviceInfo:td_out:"+index+":out_t1");
String paramName = request.getParameter(httpParmName);
String desc = request.getParameter("serviceInfo:td_out:"+index+":out_d1");
String regex = request.getParameter("serviceInfo:td_out:"+index+":out_r1");
if(paramName != null && paramName.trim().length() > 0){
methodBean.addOutputParms(new ParamObject(paramName,value,index,regex,desc));
}
}
}
methodBean.sortParams();
return methodBean;