+ "oper = new org.apache.axis.description.OperationDesc();");
pw.println(indent + "oper.setName(\"" + operName + "\");");
// loop over paramters and set up in/out params
for (int j = 0; j < parameters.list.size(); ++j) {
Parameter p = (Parameter) parameters.list.get(j);
// Get the QName representing the parameter type
QName paramType = Utils.getXSIType(p);
// Set the javaType to the name of the type
String javaType = Utils.getParameterTypeName(p);
if (javaType != null) {
javaType += ".class, ";
} else {
javaType = "null, ";
}
// Get the text representing newing a QName for the name and type
String paramNameText = Utils.getNewQNameWithLastLocalPart(p.getQName());
String paramTypeText = Utils.getNewQName(paramType);
// Generate the addParameter call with the
// name qname, typeQName, optional javaType, and mode
boolean isInHeader = p.isInHeader();
boolean isOutHeader = p.isOutHeader();
pw.println(" oper.addParameter(" + paramNameText + ", "
+ paramTypeText + ", " + javaType
+ modeStrings[p.getMode()] + ", " + isInHeader
+ ", " + isOutHeader + ");");
}
// set output type
if (parameters.returnParam != null) {