if(service !=null){
ArrayList service_para = service.getParameters();
for (int i = 0; i < service_para.size(); i++) {
Parameter parameter = (Parameter) service_para.get(i);
String para = req.getParameter(serviceName + "_" + parameter.getName());
service.addParameter(new ParameterImpl(parameter.getName(),para));
}
HashMap operation = service.getOperations();
Collection op_col = operation.values();
for (Iterator iterator = op_col.iterator(); iterator.hasNext();) {
OperationDescription operationDescription =
(OperationDescription) iterator.next();
String op_name = operationDescription.getName().getLocalPart();
ArrayList operation_para = operationDescription.getParameters();
for (int i = 0; i < operation_para.size(); i++) {
Parameter parameter = (Parameter) operation_para.get(i);
String para = req.getParameter(op_name + "_" + parameter.getName());
operationDescription.addParameter(
new ParameterImpl(parameter.getName(),para));
}
}
}
res.setContentType("text/css");
PrintWriter out_writer = new PrintWriter(out);