0001: package com.sun.tools.ws.resources;
0002:
0003: import com.sun.xml.ws.util.localization.Localizable;
0004: import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
0005: import com.sun.xml.ws.util.localization.Localizer;
0006:
0007: /**
0008: * Defines string formatting method for each constant in the resource file
0009: *
0010: */
0011: public final class WsdlMessages {
0012:
0013: private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
0014: "com.sun.tools.ws.resources.wsdl");
0015: private final static Localizer localizer = new Localizer();
0016:
0017: public static Localizable localizablePARSING_ELEMENT_EXPECTED() {
0018: return messageFactory.getMessage("parsing.elementExpected");
0019: }
0020:
0021: /**
0022: * unexpected non-element found
0023: *
0024: */
0025: public static String PARSING_ELEMENT_EXPECTED() {
0026: return localizer
0027: .localize(localizablePARSING_ELEMENT_EXPECTED());
0028: }
0029:
0030: public static Localizable localizableENTITY_NOT_FOUND_BINDING(
0031: Object arg0, Object arg1) {
0032: return messageFactory.getMessage("entity.notFound.binding",
0033: arg0, arg1);
0034: }
0035:
0036: /**
0037: * wsdl:binding "{0}" referenced by wsdl:port "{1}", but its not found in the wsdl
0038: *
0039: */
0040: public static String ENTITY_NOT_FOUND_BINDING(Object arg0,
0041: Object arg1) {
0042: return localizer.localize(localizableENTITY_NOT_FOUND_BINDING(
0043: arg0, arg1));
0044: }
0045:
0046: public static Localizable localizablePARSING_UNABLE_TO_GET_METADATA(
0047: Object arg0, Object arg1) {
0048: return messageFactory.getMessage("parsing.unableToGetMetadata",
0049: arg0, arg1);
0050: }
0051:
0052: /**
0053: * {0}
0054: *
0055: * {1}
0056: *
0057: */
0058: public static String PARSING_UNABLE_TO_GET_METADATA(Object arg0,
0059: Object arg1) {
0060: return localizer
0061: .localize(localizablePARSING_UNABLE_TO_GET_METADATA(
0062: arg0, arg1));
0063: }
0064:
0065: public static Localizable localizablePARSING_PARSE_FAILED() {
0066: return messageFactory.getMessage("Parsing.ParseFailed");
0067: }
0068:
0069: /**
0070: * Failed to parse the WSDL.
0071: *
0072: */
0073: public static String PARSING_PARSE_FAILED() {
0074: return localizer.localize(localizablePARSING_PARSE_FAILED());
0075: }
0076:
0077: public static Localizable localizableVALIDATION_INVALID_PREFIX(
0078: Object arg0) {
0079: return messageFactory.getMessage("validation.invalidPrefix",
0080: arg0);
0081: }
0082:
0083: /**
0084: * undeclared namespace prefix: "{0}"
0085: *
0086: */
0087: public static String VALIDATION_INVALID_PREFIX(Object arg0) {
0088: return localizer
0089: .localize(localizableVALIDATION_INVALID_PREFIX(arg0));
0090: }
0091:
0092: public static Localizable localizablePARSING_INVALID_ATTRIBUTE_VALUE(
0093: Object arg0, Object arg1) {
0094: return messageFactory.getMessage(
0095: "parsing.invalidAttributeValue", arg0, arg1);
0096: }
0097:
0098: /**
0099: * invalid value "{1}" for attribute "{0}"
0100: *
0101: */
0102: public static String PARSING_INVALID_ATTRIBUTE_VALUE(Object arg0,
0103: Object arg1) {
0104: return localizer
0105: .localize(localizablePARSING_INVALID_ATTRIBUTE_VALUE(
0106: arg0, arg1));
0107: }
0108:
0109: public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(
0110: Object arg0, Object arg1) {
0111: return messageFactory.getMessage(
0112: "validation.invalidAttributeValue", arg0, arg1);
0113: }
0114:
0115: /**
0116: * invalid value "{1}" for attribute "{0}"
0117: *
0118: */
0119: public static String VALIDATION_INVALID_ATTRIBUTE_VALUE(
0120: Object arg0, Object arg1) {
0121: return localizer
0122: .localize(localizableVALIDATION_INVALID_ATTRIBUTE_VALUE(
0123: arg0, arg1));
0124: }
0125:
0126: public static Localizable localizableVALIDATION_INVALID_RANGE(
0127: Object arg0, Object arg1) {
0128: return messageFactory.getMessage("validation.invalidRange",
0129: arg0, arg1);
0130: }
0131:
0132: /**
0133: * invalid range found (min: {0}, max: {1})
0134: *
0135: */
0136: public static String VALIDATION_INVALID_RANGE(Object arg0,
0137: Object arg1) {
0138: return localizer.localize(localizableVALIDATION_INVALID_RANGE(
0139: arg0, arg1));
0140: }
0141:
0142: public static Localizable localizablePARSING_INVALID_TAG(
0143: Object arg0, Object arg1) {
0144: return messageFactory.getMessage("parsing.invalidTag", arg0,
0145: arg1);
0146: }
0147:
0148: /**
0149: * expected element "{1}", found "{0}"
0150: *
0151: */
0152: public static String PARSING_INVALID_TAG(Object arg0, Object arg1) {
0153: return localizer.localize(localizablePARSING_INVALID_TAG(arg0,
0154: arg1));
0155: }
0156:
0157: public static Localizable localizableENTITY_NOT_FOUND_PORT_TYPE(
0158: Object arg0, Object arg1) {
0159: return messageFactory.getMessage("entity.notFound.portType",
0160: arg0, arg1);
0161: }
0162:
0163: /**
0164: * wsdl:portType "{0}" referenced by wsdl:binding "{1}", but its not found in the wsdl
0165: *
0166: */
0167: public static String ENTITY_NOT_FOUND_PORT_TYPE(Object arg0,
0168: Object arg1) {
0169: return localizer
0170: .localize(localizableENTITY_NOT_FOUND_PORT_TYPE(arg0,
0171: arg1));
0172: }
0173:
0174: public static Localizable localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(
0175: Object arg0, Object arg1) {
0176: return messageFactory.getMessage(
0177: "parsing.missingRequiredAttribute", arg0, arg1);
0178: }
0179:
0180: /**
0181: * missing required attribute "{1}" of element "{0}"
0182: *
0183: */
0184: public static String PARSING_MISSING_REQUIRED_ATTRIBUTE(
0185: Object arg0, Object arg1) {
0186: return localizer
0187: .localize(localizablePARSING_MISSING_REQUIRED_ATTRIBUTE(
0188: arg0, arg1));
0189: }
0190:
0191: public static Localizable localizablePARSING_INVALID_ELEMENT(
0192: Object arg0, Object arg1) {
0193: return messageFactory.getMessage("parsing.invalidElement",
0194: arg0, arg1);
0195: }
0196:
0197: /**
0198: * invalid element: "{0}" (in namespace "{1}")
0199: *
0200: */
0201: public static String PARSING_INVALID_ELEMENT(Object arg0,
0202: Object arg1) {
0203: return localizer.localize(localizablePARSING_INVALID_ELEMENT(
0204: arg0, arg1));
0205: }
0206:
0207: public static Localizable localizableVALIDATION_INVALID_ELEMENT(
0208: Object arg0) {
0209: return messageFactory.getMessage("validation.invalidElement",
0210: arg0);
0211: }
0212:
0213: /**
0214: * invalid element: "{0}"
0215: *
0216: */
0217: public static String VALIDATION_INVALID_ELEMENT(Object arg0) {
0218: return localizer
0219: .localize(localizableVALIDATION_INVALID_ELEMENT(arg0));
0220: }
0221:
0222: public static Localizable localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES() {
0223: return messageFactory
0224: .getMessage("Internalizer.TwoVersionAttributes");
0225: }
0226:
0227: /**
0228: * Both jaxws:version and version are present
0229: *
0230: */
0231: public static String INTERNALIZER_TWO_VERSION_ATTRIBUTES() {
0232: return localizer
0233: .localize(localizableINTERNALIZER_TWO_VERSION_ATTRIBUTES());
0234: }
0235:
0236: public static Localizable localizableVALIDATION_DUPLICATE_PART_NAME(
0237: Object arg0, Object arg1) {
0238: return messageFactory.getMessage(
0239: "validation.duplicatePartName", arg0, arg1);
0240: }
0241:
0242: /**
0243: * Invalid WSDL, duplicate parts in a wsdl:message is not allowed.
0244: * wsdl:message {0} has duplicated part name: "{1}"
0245: *
0246: */
0247: public static String VALIDATION_DUPLICATE_PART_NAME(Object arg0,
0248: Object arg1) {
0249: return localizer
0250: .localize(localizableVALIDATION_DUPLICATE_PART_NAME(
0251: arg0, arg1));
0252: }
0253:
0254: public static Localizable localizablePARSING_INVALID_WSDL_ELEMENT(
0255: Object arg0) {
0256: return messageFactory.getMessage("parsing.invalidWsdlElement",
0257: arg0);
0258: }
0259:
0260: /**
0261: * invalid WSDL element: "{0}"
0262: *
0263: */
0264: public static String PARSING_INVALID_WSDL_ELEMENT(Object arg0) {
0265: return localizer
0266: .localize(localizablePARSING_INVALID_WSDL_ELEMENT(arg0));
0267: }
0268:
0269: public static Localizable localizableVALIDATION_INVALID_COMPLEX_TYPE_IN_ELEMENT(
0270: Object arg0, Object arg1) {
0271: return messageFactory.getMessage(
0272: "validation.invalidComplexTypeInElement", arg0, arg1);
0273: }
0274:
0275: /**
0276: * invalid element: "{1}", has named complexType: "{0}"
0277: *
0278: */
0279: public static String VALIDATION_INVALID_COMPLEX_TYPE_IN_ELEMENT(
0280: Object arg0, Object arg1) {
0281: return localizer
0282: .localize(localizableVALIDATION_INVALID_COMPLEX_TYPE_IN_ELEMENT(
0283: arg0, arg1));
0284: }
0285:
0286: public static Localizable localizablePARSING_NON_WHITESPACE_TEXT_FOUND(
0287: Object arg0) {
0288: return messageFactory.getMessage(
0289: "parsing.nonWhitespaceTextFound", arg0);
0290: }
0291:
0292: /**
0293: * found unexpected non whitespace text: "{0}"
0294: *
0295: */
0296: public static String PARSING_NON_WHITESPACE_TEXT_FOUND(Object arg0) {
0297: return localizer
0298: .localize(localizablePARSING_NON_WHITESPACE_TEXT_FOUND(arg0));
0299: }
0300:
0301: public static Localizable localizableINTERNALIZER_TARGET_NOT_FOUND(
0302: Object arg0) {
0303: return messageFactory.getMessage("internalizer.targetNotFound",
0304: arg0);
0305: }
0306:
0307: /**
0308: * No target found for the wsdlLocation: {0}
0309: *
0310: */
0311: public static String INTERNALIZER_TARGET_NOT_FOUND(Object arg0) {
0312: return localizer
0313: .localize(localizableINTERNALIZER_TARGET_NOT_FOUND(arg0));
0314: }
0315:
0316: public static Localizable localizableVALIDATION_NOT_SIMPLE_TYPE(
0317: Object arg0) {
0318: return messageFactory.getMessage("validation.notSimpleType",
0319: arg0);
0320: }
0321:
0322: /**
0323: * not a simple type: "{0}"
0324: *
0325: */
0326: public static String VALIDATION_NOT_SIMPLE_TYPE(Object arg0) {
0327: return localizer
0328: .localize(localizableVALIDATION_NOT_SIMPLE_TYPE(arg0));
0329: }
0330:
0331: public static Localizable localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(
0332: Object arg0) {
0333: return messageFactory.getMessage(
0334: "parsing.saxExceptionWithSystemId", arg0);
0335: }
0336:
0337: /**
0338: * invalid WSDL file! failed to parse document at "{0}"
0339: *
0340: */
0341: public static String PARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(
0342: Object arg0) {
0343: return localizer
0344: .localize(localizablePARSING_SAX_EXCEPTION_WITH_SYSTEM_ID(arg0));
0345: }
0346:
0347: public static Localizable localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(
0348: Object arg0, Object arg1) {
0349: return messageFactory.getMessage(
0350: "parsing.requiredExtensibilityElement", arg0, arg1);
0351: }
0352:
0353: /**
0354: * unknown required extensibility element "{0}" (in namespace "{1}")
0355: *
0356: */
0357: public static String PARSING_REQUIRED_EXTENSIBILITY_ELEMENT(
0358: Object arg0, Object arg1) {
0359: return localizer
0360: .localize(localizablePARSING_REQUIRED_EXTENSIBILITY_ELEMENT(
0361: arg0, arg1));
0362: }
0363:
0364: public static Localizable localizableENTITY_NOT_FOUND_BY_ID(
0365: Object arg0) {
0366: return messageFactory.getMessage("entity.notFoundByID", arg0);
0367: }
0368:
0369: /**
0370: * invalid entity id: "{0}"
0371: *
0372: */
0373: public static String ENTITY_NOT_FOUND_BY_ID(Object arg0) {
0374: return localizer
0375: .localize(localizableENTITY_NOT_FOUND_BY_ID(arg0));
0376: }
0377:
0378: public static Localizable localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(
0379: Object arg0, Object arg1) {
0380: return messageFactory.getMessage(
0381: "validation.exclusiveAttributes", arg0, arg1);
0382: }
0383:
0384: /**
0385: * exclusive attributes: "{0}", "{1}"
0386: *
0387: */
0388: public static String VALIDATION_EXCLUSIVE_ATTRIBUTES(Object arg0,
0389: Object arg1) {
0390: return localizer
0391: .localize(localizableVALIDATION_EXCLUSIVE_ATTRIBUTES(
0392: arg0, arg1));
0393: }
0394:
0395: public static Localizable localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(
0396: Object arg0, Object arg1) {
0397: return messageFactory.getMessage(
0398: "validation.missingRequiredSubEntity", arg0, arg1);
0399: }
0400:
0401: /**
0402: * missing required sub-entity "{0}" of element "{1}"
0403: *
0404: */
0405: public static String VALIDATION_MISSING_REQUIRED_SUB_ENTITY(
0406: Object arg0, Object arg1) {
0407: return localizer
0408: .localize(localizableVALIDATION_MISSING_REQUIRED_SUB_ENTITY(
0409: arg0, arg1));
0410: }
0411:
0412: public static Localizable localizableINTERNALIZER_INCORRECT_VERSION() {
0413: return messageFactory
0414: .getMessage("Internalizer.IncorrectVersion");
0415: }
0416:
0417: /**
0418: * JAXWS version attribute must be "2.0"
0419: *
0420: */
0421: public static String INTERNALIZER_INCORRECT_VERSION() {
0422: return localizer
0423: .localize(localizableINTERNALIZER_INCORRECT_VERSION());
0424: }
0425:
0426: public static Localizable localizableLOCALIZED_ERROR(Object arg0) {
0427: return messageFactory.getMessage("localized.error", arg0);
0428: }
0429:
0430: /**
0431: * {0}
0432: *
0433: */
0434: public static String LOCALIZED_ERROR(Object arg0) {
0435: return localizer.localize(localizableLOCALIZED_ERROR(arg0));
0436: }
0437:
0438: public static Localizable localizableENTITY_DUPLICATE_WITH_TYPE(
0439: Object arg0, Object arg1) {
0440: return messageFactory.getMessage("entity.duplicateWithType",
0441: arg0, arg1);
0442: }
0443:
0444: /**
0445: * duplicate "{0}" entity: "{1}"
0446: *
0447: */
0448: public static String ENTITY_DUPLICATE_WITH_TYPE(Object arg0,
0449: Object arg1) {
0450: return localizer
0451: .localize(localizableENTITY_DUPLICATE_WITH_TYPE(arg0,
0452: arg1));
0453: }
0454:
0455: public static Localizable localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(
0456: Object arg0) {
0457: return messageFactory.getMessage(
0458: "parsing.onlyOneOfElementOrTypeRequired", arg0);
0459: }
0460:
0461: /**
0462: * only one of the "element" or "type" attributes is allowed in part "{0}"
0463: *
0464: */
0465: public static String PARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(
0466: Object arg0) {
0467: return localizer
0468: .localize(localizablePARSING_ONLY_ONE_OF_ELEMENT_OR_TYPE_REQUIRED(arg0));
0469: }
0470:
0471: public static Localizable localizablePARSING_INCORRECT_ROOT_ELEMENT(
0472: Object arg0, Object arg1, Object arg2, Object arg3) {
0473: return messageFactory.getMessage(
0474: "parsing.incorrectRootElement", arg0, arg1, arg2, arg3);
0475: }
0476:
0477: /**
0478: * expected root element "{2}" (in namespace "{3}"), found element "{0}" (in namespace "{1}")
0479: *
0480: */
0481: public static String PARSING_INCORRECT_ROOT_ELEMENT(Object arg0,
0482: Object arg1, Object arg2, Object arg3) {
0483: return localizer
0484: .localize(localizablePARSING_INCORRECT_ROOT_ELEMENT(
0485: arg0, arg1, arg2, arg3));
0486: }
0487:
0488: public static Localizable localizableTRY_WITH_MEX(Object arg0) {
0489: return messageFactory.getMessage("try.with.mex", arg0);
0490: }
0491:
0492: /**
0493: * {0}
0494: *
0495: * retrying with MEX...
0496: *
0497: */
0498: public static String TRY_WITH_MEX(Object arg0) {
0499: return localizer.localize(localizableTRY_WITH_MEX(arg0));
0500: }
0501:
0502: public static Localizable localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(
0503: Object arg0, Object arg1) {
0504: return messageFactory.getMessage(
0505: "validation.missingRequiredAttribute", arg0, arg1);
0506: }
0507:
0508: /**
0509: * missing required attribute "{0}" of element "{1}"
0510: *
0511: */
0512: public static String VALIDATION_MISSING_REQUIRED_ATTRIBUTE(
0513: Object arg0, Object arg1) {
0514: return localizer
0515: .localize(localizableVALIDATION_MISSING_REQUIRED_ATTRIBUTE(
0516: arg0, arg1));
0517: }
0518:
0519: public static Localizable localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(
0520: Object arg0, Object arg1) {
0521: return messageFactory.getMessage(
0522: "internalizer.XPathEvaulatesToTooManyTargets", arg0,
0523: arg1);
0524: }
0525:
0526: /**
0527: * XPath evaluation of "{0}" results in too many ({1}) target nodes
0528: *
0529: */
0530: public static String INTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(
0531: Object arg0, Object arg1) {
0532: return localizer
0533: .localize(localizableINTERNALIZER_X_PATH_EVAULATES_TO_TOO_MANY_TARGETS(
0534: arg0, arg1));
0535: }
0536:
0537: public static Localizable localizablePARSING_IO_EXCEPTION(
0538: Object arg0) {
0539: return messageFactory.getMessage("parsing.ioException", arg0);
0540: }
0541:
0542: /**
0543: * parsing failed: {0}
0544: *
0545: */
0546: public static String PARSING_IO_EXCEPTION(Object arg0) {
0547: return localizer
0548: .localize(localizablePARSING_IO_EXCEPTION(arg0));
0549: }
0550:
0551: public static Localizable localizablePARSER_NOT_A_BINDING_FILE(
0552: Object arg0, Object arg1) {
0553: return messageFactory.getMessage("Parser.NotABindingFile",
0554: arg0, arg1);
0555: }
0556:
0557: /**
0558: * not an external binding file. The root element must be '{'http://java.sun.com/xml/ns/jaxws'}'bindings but it is '{'{0}'}'{1}
0559: *
0560: */
0561: public static String PARSER_NOT_A_BINDING_FILE(Object arg0,
0562: Object arg1) {
0563: return localizer.localize(localizablePARSER_NOT_A_BINDING_FILE(
0564: arg0, arg1));
0565: }
0566:
0567: public static Localizable localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(
0568: Object arg0) {
0569: return messageFactory.getMessage(
0570: "parsing.unknownNamespacePrefix", arg0);
0571: }
0572:
0573: /**
0574: * undeclared namespace prefix: "{0}"
0575: *
0576: */
0577: public static String PARSING_UNKNOWN_NAMESPACE_PREFIX(Object arg0) {
0578: return localizer
0579: .localize(localizablePARSING_UNKNOWN_NAMESPACE_PREFIX(arg0));
0580: }
0581:
0582: public static Localizable localizablePARSING_FACTORY_CONFIG_EXCEPTION(
0583: Object arg0) {
0584: return messageFactory.getMessage(
0585: "parsing.factoryConfigException", arg0);
0586: }
0587:
0588: /**
0589: * invalid WSDL file! parsing failed: {0}
0590: *
0591: */
0592: public static String PARSING_FACTORY_CONFIG_EXCEPTION(Object arg0) {
0593: return localizer
0594: .localize(localizablePARSING_FACTORY_CONFIG_EXCEPTION(arg0));
0595: }
0596:
0597: public static Localizable localizableVALIDATION_MISSING_REQUIRED_PROPERTY(
0598: Object arg0, Object arg1) {
0599: return messageFactory.getMessage(
0600: "validation.missingRequiredProperty", arg0, arg1);
0601: }
0602:
0603: /**
0604: * missing required property "{0}" of element "{1}"
0605: *
0606: */
0607: public static String VALIDATION_MISSING_REQUIRED_PROPERTY(
0608: Object arg0, Object arg1) {
0609: return localizer
0610: .localize(localizableVALIDATION_MISSING_REQUIRED_PROPERTY(
0611: arg0, arg1));
0612: }
0613:
0614: public static Localizable localizablePARSING_INVALID_OPERATION_STYLE(
0615: Object arg0) {
0616: return messageFactory.getMessage(
0617: "parsing.invalidOperationStyle", arg0);
0618: }
0619:
0620: /**
0621: * operation "{0}" has an invalid style
0622: *
0623: */
0624: public static String PARSING_INVALID_OPERATION_STYLE(Object arg0) {
0625: return localizer
0626: .localize(localizablePARSING_INVALID_OPERATION_STYLE(arg0));
0627: }
0628:
0629: public static Localizable localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(
0630: Object arg0) {
0631: return messageFactory.getMessage(
0632: "internalizer.XPathEvaluationError", arg0);
0633: }
0634:
0635: /**
0636: * XPath error: {0}
0637: *
0638: */
0639: public static String INTERNALIZER_X_PATH_EVALUATION_ERROR(
0640: Object arg0) {
0641: return localizer
0642: .localize(localizableINTERNALIZER_X_PATH_EVALUATION_ERROR(arg0));
0643: }
0644:
0645: public static Localizable localizableVALIDATION_INVALID_TOKEN(
0646: Object arg0) {
0647: return messageFactory.getMessage("validation.invalidToken",
0648: arg0);
0649: }
0650:
0651: /**
0652: * invalid token "{0}"
0653: *
0654: */
0655: public static String VALIDATION_INVALID_TOKEN(Object arg0) {
0656: return localizer
0657: .localize(localizableVALIDATION_INVALID_TOKEN(arg0));
0658: }
0659:
0660: public static Localizable localizableVALIDATION_INVALID_SUB_ENTITY(
0661: Object arg0, Object arg1) {
0662: return messageFactory.getMessage("validation.invalidSubEntity",
0663: arg0, arg1);
0664: }
0665:
0666: /**
0667: * invalid sub-element "{0}" of element "{1}"
0668: *
0669: */
0670: public static String VALIDATION_INVALID_SUB_ENTITY(Object arg0,
0671: Object arg1) {
0672: return localizer
0673: .localize(localizableVALIDATION_INVALID_SUB_ENTITY(
0674: arg0, arg1));
0675: }
0676:
0677: public static Localizable localizableVALIDATION_SHOULD_NOT_HAPPEN(
0678: Object arg0) {
0679: return messageFactory.getMessage("validation.shouldNotHappen",
0680: arg0);
0681: }
0682:
0683: /**
0684: * internal error ("{0}")
0685: *
0686: */
0687: public static String VALIDATION_SHOULD_NOT_HAPPEN(Object arg0) {
0688: return localizer
0689: .localize(localizableVALIDATION_SHOULD_NOT_HAPPEN(arg0));
0690: }
0691:
0692: public static Localizable localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(
0693: Object arg0, Object arg1) {
0694: return messageFactory
0695: .getMessage(
0696: "AbstractReferenceFinderImpl.UnableToParse",
0697: arg0, arg1);
0698: }
0699:
0700: /**
0701: * Unable to parse "{0}" : {1}
0702: *
0703: */
0704: public static String ABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(
0705: Object arg0, Object arg1) {
0706: return localizer
0707: .localize(localizableABSTRACT_REFERENCE_FINDER_IMPL_UNABLE_TO_PARSE(
0708: arg0, arg1));
0709: }
0710:
0711: public static Localizable localizableWARNING_FAULT_EMPTY_ACTION(
0712: Object arg0, Object arg1, Object arg2) {
0713: return messageFactory.getMessage("warning.faultEmptyAction",
0714: arg0, arg1, arg2);
0715: }
0716:
0717: /**
0718: * ignoring empty Action in "{0}" {1} element of "{2}" operation, using default instead
0719: *
0720: */
0721: public static String WARNING_FAULT_EMPTY_ACTION(Object arg0,
0722: Object arg1, Object arg2) {
0723: return localizer
0724: .localize(localizableWARNING_FAULT_EMPTY_ACTION(arg0,
0725: arg1, arg2));
0726: }
0727:
0728: public static Localizable localizablePARSING_INVALID_EXTENSION_ELEMENT(
0729: Object arg0, Object arg1) {
0730: return messageFactory.getMessage(
0731: "parsing.invalidExtensionElement", arg0, arg1);
0732: }
0733:
0734: /**
0735: * invalid extension element: "{0}" (in namespace "{1}")
0736: *
0737: */
0738: public static String PARSING_INVALID_EXTENSION_ELEMENT(Object arg0,
0739: Object arg1) {
0740: return localizer
0741: .localize(localizablePARSING_INVALID_EXTENSION_ELEMENT(
0742: arg0, arg1));
0743: }
0744:
0745: public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(
0746: Object arg0) {
0747: return messageFactory.getMessage(
0748: "internalizer.XPathEvaluatesToNonElement", arg0);
0749: }
0750:
0751: /**
0752: * XPath evaluation of "{0}" needs to result in an element.
0753: *
0754: */
0755: public static String INTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(
0756: Object arg0) {
0757: return localizer
0758: .localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NON_ELEMENT(arg0));
0759: }
0760:
0761: public static Localizable localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(
0762: Object arg0) {
0763: return messageFactory.getMessage(
0764: "internalizer.XPathEvaluatesToNoTarget", arg0);
0765: }
0766:
0767: /**
0768: * XPath evaluation of "{0}" results in empty target node
0769: *
0770: */
0771: public static String INTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(
0772: Object arg0) {
0773: return localizer
0774: .localize(localizableINTERNALIZER_X_PATH_EVALUATES_TO_NO_TARGET(arg0));
0775: }
0776:
0777: public static Localizable localizablePARSING_SAX_EXCEPTION(
0778: Object arg0) {
0779: return messageFactory.getMessage("parsing.saxException", arg0);
0780: }
0781:
0782: /**
0783: * invalid WSDL file! parsing failed: {0}
0784: *
0785: */
0786: public static String PARSING_SAX_EXCEPTION(Object arg0) {
0787: return localizer
0788: .localize(localizablePARSING_SAX_EXCEPTION(arg0));
0789: }
0790:
0791: public static Localizable localizableINVALID_CUSTOMIZATION_NAMESPACE(
0792: Object arg0) {
0793: return messageFactory.getMessage(
0794: "invalid.customization.namespace", arg0);
0795: }
0796:
0797: /**
0798: * Ignoring customization: "{0}", it has no namespace. It must belong to the customization namespace.
0799: *
0800: */
0801: public static String INVALID_CUSTOMIZATION_NAMESPACE(Object arg0) {
0802: return localizer
0803: .localize(localizableINVALID_CUSTOMIZATION_NAMESPACE(arg0));
0804: }
0805:
0806: public static Localizable localizableVALIDATION_INVALID_ATTRIBUTE(
0807: Object arg0, Object arg1) {
0808: return messageFactory.getMessage("validation.invalidAttribute",
0809: arg0, arg1);
0810: }
0811:
0812: /**
0813: * invalid attribute "{0}" of element "{1}"
0814: *
0815: */
0816: public static String VALIDATION_INVALID_ATTRIBUTE(Object arg0,
0817: Object arg1) {
0818: return localizer
0819: .localize(localizableVALIDATION_INVALID_ATTRIBUTE(arg0,
0820: arg1));
0821: }
0822:
0823: public static Localizable localizablePARSING_PARSER_CONFIG_EXCEPTION(
0824: Object arg0) {
0825: return messageFactory.getMessage(
0826: "parsing.parserConfigException", arg0);
0827: }
0828:
0829: /**
0830: * invalid WSDL file! parsing failed: {0}
0831: *
0832: */
0833: public static String PARSING_PARSER_CONFIG_EXCEPTION(Object arg0) {
0834: return localizer
0835: .localize(localizablePARSING_PARSER_CONFIG_EXCEPTION(arg0));
0836: }
0837:
0838: public static Localizable localizablePARSING_ONLY_ONE_TYPES_ALLOWED(
0839: Object arg0) {
0840: return messageFactory.getMessage("parsing.onlyOneTypesAllowed",
0841: arg0);
0842: }
0843:
0844: /**
0845: * only one "types" element allowed in "{0}"
0846: *
0847: */
0848: public static String PARSING_ONLY_ONE_TYPES_ALLOWED(Object arg0) {
0849: return localizer
0850: .localize(localizablePARSING_ONLY_ONE_TYPES_ALLOWED(arg0));
0851: }
0852:
0853: public static Localizable localizablePARSING_INVALID_URI(Object arg0) {
0854: return messageFactory.getMessage("parsing.invalidURI", arg0);
0855: }
0856:
0857: /**
0858: * invalid URI: {0}
0859: *
0860: */
0861: public static String PARSING_INVALID_URI(Object arg0) {
0862: return localizer.localize(localizablePARSING_INVALID_URI(arg0));
0863: }
0864:
0865: public static Localizable localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(
0866: Object arg0, Object arg1) {
0867: return messageFactory.getMessage(
0868: "validation.incorrectTargetNamespace", arg0, arg1);
0869: }
0870:
0871: /**
0872: * target namespace is incorrect (expected: {1}, found: {0})
0873: *
0874: */
0875: public static String VALIDATION_INCORRECT_TARGET_NAMESPACE(
0876: Object arg0, Object arg1) {
0877: return localizer
0878: .localize(localizableVALIDATION_INCORRECT_TARGET_NAMESPACE(
0879: arg0, arg1));
0880: }
0881:
0882: public static Localizable localizableENTITY_NOT_FOUND_BY_Q_NAME(
0883: Object arg0, Object arg1, Object arg2) {
0884: return messageFactory.getMessage("entity.notFoundByQName",
0885: arg0, arg1, arg2);
0886: }
0887:
0888: /**
0889: * {0} "{1}" not found in the wsdl: {2}
0890: *
0891: */
0892: public static String ENTITY_NOT_FOUND_BY_Q_NAME(Object arg0,
0893: Object arg1, Object arg2) {
0894: return localizer
0895: .localize(localizableENTITY_NOT_FOUND_BY_Q_NAME(arg0,
0896: arg1, arg2));
0897: }
0898:
0899: public static Localizable localizableINVALID_WSDL(Object arg0,
0900: Object arg1, Object arg2, Object arg3) {
0901: return messageFactory.getMessage("invalid.wsdl", arg0, arg1,
0902: arg2, arg3);
0903: }
0904:
0905: /**
0906: * Invalid WSDL {0}, expected {1} found {2} at (line {3})
0907: *
0908: */
0909: public static String INVALID_WSDL(Object arg0, Object arg1,
0910: Object arg2, Object arg3) {
0911: return localizer.localize(localizableINVALID_WSDL(arg0, arg1,
0912: arg2, arg3));
0913: }
0914:
0915: public static Localizable localizableVALIDATION_UNSUPPORTED_SCHEMA_FEATURE(
0916: Object arg0) {
0917: return messageFactory.getMessage(
0918: "validation.unsupportedSchemaFeature", arg0);
0919: }
0920:
0921: /**
0922: * unsupported XML Schema feature: "{0}"
0923: *
0924: */
0925: public static String VALIDATION_UNSUPPORTED_SCHEMA_FEATURE(
0926: Object arg0) {
0927: return localizer
0928: .localize(localizableVALIDATION_UNSUPPORTED_SCHEMA_FEATURE(arg0));
0929: }
0930:
0931: public static Localizable localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(
0932: Object arg0) {
0933: return messageFactory.getMessage(
0934: "parsing.unknownImportedDocumentType", arg0);
0935: }
0936:
0937: /**
0938: * imported document is of unknown type: {0}
0939: *
0940: */
0941: public static String PARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(
0942: Object arg0) {
0943: return localizer
0944: .localize(localizablePARSING_UNKNOWN_IMPORTED_DOCUMENT_TYPE(arg0));
0945: }
0946:
0947: public static Localizable localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(
0948: Object arg0) {
0949: return messageFactory.getMessage(
0950: "parsing.ioExceptionWithSystemId", arg0);
0951: }
0952:
0953: /**
0954: * failed to parse document at "{0}"
0955: *
0956: */
0957: public static String PARSING_IO_EXCEPTION_WITH_SYSTEM_ID(Object arg0) {
0958: return localizer
0959: .localize(localizablePARSING_IO_EXCEPTION_WITH_SYSTEM_ID(arg0));
0960: }
0961:
0962: public static Localizable localizableVALIDATION_AMBIGUOUS_NAME(
0963: Object arg0) {
0964: return messageFactory.getMessage("validation.ambiguousName",
0965: arg0);
0966: }
0967:
0968: /**
0969: * ambiguous operation name: "{0}"
0970: *
0971: */
0972: public static String VALIDATION_AMBIGUOUS_NAME(Object arg0) {
0973: return localizer
0974: .localize(localizableVALIDATION_AMBIGUOUS_NAME(arg0));
0975: }
0976:
0977: public static Localizable localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(
0978: Object arg0) {
0979: return messageFactory.getMessage(
0980: "parsing.wsdlNotDefaultNamespace", arg0);
0981: }
0982:
0983: /**
0984: * default namespace must be "{0}"
0985: *
0986: */
0987: public static String PARSING_WSDL_NOT_DEFAULT_NAMESPACE(Object arg0) {
0988: return localizer
0989: .localize(localizablePARSING_WSDL_NOT_DEFAULT_NAMESPACE(arg0));
0990: }
0991:
0992: public static Localizable localizableVALIDATION_DUPLICATED_ELEMENT(
0993: Object arg0) {
0994: return messageFactory.getMessage(
0995: "validation.duplicatedElement", arg0);
0996: }
0997:
0998: /**
0999: * duplicated element: "{0}"
1000: *
1001: */
1002: public static String VALIDATION_DUPLICATED_ELEMENT(Object arg0) {
1003: return localizer
1004: .localize(localizableVALIDATION_DUPLICATED_ELEMENT(arg0));
1005: }
1006:
1007: public static Localizable localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT() {
1008: return messageFactory
1009: .getMessage("internalizer.targetNotAnElement");
1010: }
1011:
1012: /**
1013: * Target node is not an element
1014: *
1015: */
1016: public static String INTERNALIZER_TARGET_NOT_AN_ELEMENT() {
1017: return localizer
1018: .localize(localizableINTERNALIZER_TARGET_NOT_AN_ELEMENT());
1019: }
1020:
1021: public static Localizable localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(
1022: Object arg0, Object arg1) {
1023: return messageFactory.getMessage(
1024: "warning.inputOutputEmptyAction", arg0, arg1);
1025: }
1026:
1027: /**
1028: * ignoring empty Action in {0} element of "{1}" operation, using default instead
1029: *
1030: */
1031: public static String WARNING_INPUT_OUTPUT_EMPTY_ACTION(Object arg0,
1032: Object arg1) {
1033: return localizer
1034: .localize(localizableWARNING_INPUT_OUTPUT_EMPTY_ACTION(
1035: arg0, arg1));
1036: }
1037:
1038: public static Localizable localizablePARSING_INVALID_TAG_NS(
1039: Object arg0, Object arg1, Object arg2, Object arg3,
1040: Object arg4) {
1041: return messageFactory.getMessage("parsing.invalidTagNS", arg0,
1042: arg1, arg2, arg3, arg4);
1043: }
1044:
1045: /**
1046: * Invalid WSDL at {4}: expected element "{2}" (in namespace "{3}"), found element "{0}" (in namespace "{1}")
1047: *
1048: */
1049: public static String PARSING_INVALID_TAG_NS(Object arg0,
1050: Object arg1, Object arg2, Object arg3, Object arg4) {
1051: return localizer.localize(localizablePARSING_INVALID_TAG_NS(
1052: arg0, arg1, arg2, arg3, arg4));
1053: }
1054:
1055: public static Localizable localizableINVALID_WSDL_WITH_DOOC(
1056: Object arg0, Object arg1) {
1057: return messageFactory.getMessage("invalid.wsdl.with.dooc",
1058: arg0, arg1);
1059: }
1060:
1061: /**
1062: * "Not a WSDL document: {0}, it gives "{1}", retrying with MEX..."
1063: *
1064: */
1065: public static String INVALID_WSDL_WITH_DOOC(Object arg0, Object arg1) {
1066: return localizer.localize(localizableINVALID_WSDL_WITH_DOOC(
1067: arg0, arg1));
1068: }
1069:
1070: public static Localizable localizablePARSING_NOT_AWSDL(Object arg0) {
1071: return messageFactory.getMessage("Parsing.NotAWSDL", arg0);
1072: }
1073:
1074: /**
1075: * Failed to get WSDL components, probably {0} is not a valid WSDL file.
1076: *
1077: */
1078: public static String PARSING_NOT_AWSDL(Object arg0) {
1079: return localizer.localize(localizablePARSING_NOT_AWSDL(arg0));
1080: }
1081:
1082: public static Localizable localizableENTITY_DUPLICATE(Object arg0) {
1083: return messageFactory.getMessage("entity.duplicate", arg0);
1084: }
1085:
1086: /**
1087: * duplicate entity: "{0}"
1088: *
1089: */
1090: public static String ENTITY_DUPLICATE(Object arg0) {
1091: return localizer.localize(localizableENTITY_DUPLICATE(arg0));
1092: }
1093:
1094: public static Localizable localizableWARNING_WSI_R_2004() {
1095: return messageFactory.getMessage("warning.wsi.r2004");
1096: }
1097:
1098: /**
1099: * Not a WSI-BP compliant WSDL (R2001, R2004). xsd:import must not import XML Schema definition emmbedded inline within WSDLDocument.
1100: *
1101: */
1102: public static String WARNING_WSI_R_2004() {
1103: return localizer.localize(localizableWARNING_WSI_R_2004());
1104: }
1105:
1106: public static Localizable localizableWARNING_WSI_R_2003() {
1107: return messageFactory.getMessage("warning.wsi.r2003");
1108: }
1109:
1110: /**
1111: * Not a WSI-BP compliant WSDL (R2003). xsd:import must only be used inside xsd:schema element.
1112: *
1113: */
1114: public static String WARNING_WSI_R_2003() {
1115: return localizer.localize(localizableWARNING_WSI_R_2003());
1116: }
1117:
1118: public static Localizable localizableWARNING_WSI_R_2002(
1119: Object arg0, Object arg1) {
1120: return messageFactory.getMessage("warning.wsi.r2002", arg0,
1121: arg1);
1122: }
1123:
1124: /**
1125: * Not a WSI-BP compliant WSDL (R2002). wsdl:import must not be used to import XML Schema embedded in the WSDL document. Expected wsdl namesapce: {0}, found: {1}
1126: *
1127: */
1128: public static String WARNING_WSI_R_2002(Object arg0, Object arg1) {
1129: return localizer.localize(localizableWARNING_WSI_R_2002(arg0,
1130: arg1));
1131: }
1132:
1133: public static Localizable localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(
1134: Object arg0) {
1135: return messageFactory.getMessage(
1136: "parsing.elementOrTypeRequired", arg0);
1137: }
1138:
1139: /**
1140: * warning: part {0} is ignored, either the "element" or the "type" attribute is required in part "{0}"
1141: *
1142: */
1143: public static String PARSING_ELEMENT_OR_TYPE_REQUIRED(Object arg0) {
1144: return localizer
1145: .localize(localizablePARSING_ELEMENT_OR_TYPE_REQUIRED(arg0));
1146: }
1147:
1148: public static Localizable localizableWARNING_WSI_R_2001(Object arg0) {
1149: return messageFactory.getMessage("warning.wsi.r2001", arg0);
1150: }
1151:
1152: /**
1153: * Not a WSI-BP compliant WSDL (R2001, R2002). wsdl:import must only import WSDL document. Its trying to import: "{0}"
1154: *
1155: */
1156: public static String WARNING_WSI_R_2001(Object arg0) {
1157: return localizer.localize(localizableWARNING_WSI_R_2001(arg0));
1158: }
1159:
1160: public static Localizable localizableFILE_NOT_FOUND(Object arg0) {
1161: return messageFactory.getMessage("file.not.found", arg0);
1162: }
1163:
1164: /**
1165: * {0} is unreachable
1166: *
1167: */
1168: public static String FILE_NOT_FOUND(Object arg0) {
1169: return localizer.localize(localizableFILE_NOT_FOUND(arg0));
1170: }
1171:
1172: public static Localizable localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(
1173: Object arg0, Object arg1) {
1174: return messageFactory.getMessage(
1175: "validation.invalidSimpleTypeInElement", arg0, arg1);
1176: }
1177:
1178: /**
1179: * invalid element: "{1}", has named simpleType: "{0}"
1180: *
1181: */
1182: public static String VALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(
1183: Object arg0, Object arg1) {
1184: return localizer
1185: .localize(localizableVALIDATION_INVALID_SIMPLE_TYPE_IN_ELEMENT(
1186: arg0, arg1));
1187: }
1188:
1189: public static Localizable localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(
1190: Object arg0) {
1191: return messageFactory.getMessage(
1192: "parsing.onlyOneDocumentationAllowed", arg0);
1193: }
1194:
1195: /**
1196: * only one "documentation" element allowed in "{0}"
1197: *
1198: */
1199: public static String PARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(
1200: Object arg0) {
1201: return localizer
1202: .localize(localizablePARSING_ONLY_ONE_DOCUMENTATION_ALLOWED(arg0));
1203: }
1204:
1205: public static Localizable localizableINTERNALIZER_VERSION_NOT_PRESENT() {
1206: return messageFactory
1207: .getMessage("Internalizer.VersionNotPresent");
1208: }
1209:
1210: /**
1211: * JAXWS version attribute must be present
1212: *
1213: */
1214: public static String INTERNALIZER_VERSION_NOT_PRESENT() {
1215: return localizer
1216: .localize(localizableINTERNALIZER_VERSION_NOT_PRESENT());
1217: }
1218:
1219: public static Localizable localizableFAILED_NOSERVICE(Object arg0) {
1220: return messageFactory.getMessage("failed.noservice", arg0);
1221: }
1222:
1223: /**
1224: * Could not find wsdl:service in the provide WSDL(s):
1225: *
1226: * {0} You need to provide atleast one WSDL with at least one service definition.
1227: *
1228: */
1229: public static String FAILED_NOSERVICE(Object arg0) {
1230: return localizer.localize(localizableFAILED_NOSERVICE(arg0));
1231: }
1232:
1233: public static Localizable localizablePARSING_TOO_MANY_ELEMENTS(
1234: Object arg0, Object arg1, Object arg2) {
1235: return messageFactory.getMessage("parsing.tooManyElements",
1236: arg0, arg1, arg2);
1237: }
1238:
1239: /**
1240: * too many "{0}" elements under "{1}" element "{2}"
1241: *
1242: */
1243: public static String PARSING_TOO_MANY_ELEMENTS(Object arg0,
1244: Object arg1, Object arg2) {
1245: return localizer.localize(localizablePARSING_TOO_MANY_ELEMENTS(
1246: arg0, arg1, arg2));
1247: }
1248:
1249: public static Localizable localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(
1250: Object arg0, Object arg1) {
1251: return messageFactory.getMessage(
1252: "Internalizer.IncorrectSchemaReference", arg0, arg1);
1253: }
1254:
1255: /**
1256: * "{0}" is not a part of this compilation. Is this a mistake for "{1}"?
1257: *
1258: */
1259: public static String INTERNALIZER_INCORRECT_SCHEMA_REFERENCE(
1260: Object arg0, Object arg1) {
1261: return localizer
1262: .localize(localizableINTERNALIZER_INCORRECT_SCHEMA_REFERENCE(
1263: arg0, arg1));
1264: }
1265:
1266: }
|