InputParameterType[] inputparams = method.getInputParameterArray();
ServiceParam[] inparam = new ServiceParam[inputparams.length];
for (int i = 0; i < inputparams.length; i++) {
inparam[i] = new ServiceParam();
InputParameterType inputParameterType = inputparams[i];
inparam[i].paramName = inputParameterType.getParameterName();
inparam[i].paramDesc = inputParameterType.getParameterDescription();
inparam[i].paramValue = inputParameterType.getParameterType().toString();
}
// Done to convert the parameter type of enum to string which was not
// possible in JSF selectOneListbox. For inputText it works without
// doing this change