partNameList.add(
WSDLUtil.getPartQName(opName.getLocalPart(),
WSDLConstants.INPUT_PART_QNAME_SUFFIX,
Constants.ANY_ELEMENT_FIELD_NAME));
} else {
throw new CodeGenerationException(CodegenMessages.getMessage("extension.unsupportedSchemaFormat",
"unknown type", "Element"));
}
}
//we do not know how to deal with other particles
//such as xs:all or xs:choice. Usually occurs when
//passed with the user built WSDL where the style
//is document.
} else if (schemaParticle instanceof XmlSchemaChoice) {
throw new CodeGenerationException(CodegenMessages.getMessage("extension.unsupportedSchemaFormat",
"choice", "sequence"));
} else if (schemaParticle instanceof XmlSchemaAll) {
throw new CodeGenerationException(CodegenMessages.getMessage("extension.unsupportedSchemaFormat",
"all", "sequence"));
} else {
throw new CodeGenerationException(CodegenMessages.getMessage("extension.unsupportedSchemaFormat",
"unknown", "sequence"));
}
}