parms.returnParam.getMIMEInfo() , "_resp");
}
else {
// The resp object must go into a holder
int i = 0;
Parameter p = (Parameter) parms.list.get(i);
while (p.getMode() == Parameter.IN) {
p = (Parameter) parms.list.get(++i);
}
String javifiedName = Utils.xmlNameToJava(p.getName());
String qnameName = Utils.getNewQName(p.getQName());
pw.println(" java.util.Map _output;");
pw.println(" _output = _call.getOutputParams();");
writeOutputAssign(pw, javifiedName + ".value = ",
p.getType(), p.getMIMEInfo(),
"_output.get(" + qnameName + ")");
}
}
else {
// There is more than 1 output. Get the outputs from getOutputParams.
pw.println(" java.util.Map _output;");
pw.println(" _output = _call.getOutputParams();");
for (int i = 0; i < parms.list.size (); ++i) {
Parameter p = (Parameter) parms.list.get (i);
String javifiedName = Utils.xmlNameToJava(p.getName());
String qnameName = Utils.getNewQName(p.getQName());
if (p.getMode() != Parameter.IN) {
writeOutputAssign(pw, javifiedName + ".value = ",
p.getType(), p.getMIMEInfo(),
"_output.get(" + qnameName + ")");
}
}
if (parms.returnParam != null) {
writeOutputAssign(pw, "return ", parms.returnParam.getType(),