}
List outparas = null;
if (paras != null) {
for (int j = 0; j < paras.size(); j++) {
Member param = (Member) paras.get(j);
String parameterName = param.getName();
DataType paraType = param.getDataType();
if (Member.MODE_INOUT.equals(param.getMode())) {
if (outparas==null)
outparas = new ArrayList();
outparas.add(param);
} else if (Member.MODE_OUT.equals(param.getMode())) {
if (outparas==null)
outparas = new ArrayList();
outparas.add(param);
continue;
}
if(nonRpcMethods.contains(operationName)){
generateSchemaForType(sequence, null, operationName);
break;
} else {
generateSchemaForType(sequence, paraType, parameterName);
}
}
}
DataType returnType = operation.getReturnType();
if ((returnType != null && !CorbaUtil.getQualifiedName(returnType).equals(VOID)) || outparas!=null) {
methodSchemaType = createSchemaTypeForMethodPart(operationName + RESPONSE);
sequence = new XmlSchemaSequence();
methodSchemaType.setParticle(sequence);
if (returnType != null && !CorbaUtil.getQualifiedName(returnType).equals(VOID)) {
String returnName ="return";
if(nonRpcMethods.contains(operationName)){
generateSchemaForType(sequence, null, returnName);
} else {
generateSchemaForType(sequence, returnType, returnName);
}
}
if (outparas != null) {
for (int j = 0; j < outparas.size(); j++) {
Member param = (Member) outparas.get(j);
String parameterName = param.getName();
DataType paraType = param.getDataType();
if(nonRpcMethods.contains(operationName)){
generateSchemaForType(sequence, null, operationName);
break;
} else {
generateSchemaForType(sequence, paraType, parameterName);