// Make sure we're document/literal here.
if (operation.getStyle() != com.sun.xml.rpc.wsdl.document.soap.SOAPStyle.DOCUMENT || operation.getUse() != com.sun.xml.rpc.wsdl.document.soap.SOAPUse.LITERAL) {
String style = styleToString(operation.getStyle());
String use = useToString(operation.getUse());
Localizable msg = getMessage("stubgenerator.wrongStyleOrUse",
operationName, style, use);
commentWarning(msg);
return;
}
if (!isValid(operation, usedTypes)) {
Localizable msg = getMessage("stubgenerator.operationHasInvalidType",
operationName);
commentWarning(msg);
return;
}