Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-506

DescriptionBuilder and name-parameter reading/missing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.94
    • 0.95
    • deployment
    • None

    Description

      In the org.apache.axis2.deployment.DescriptionBuilder class's

      protected ArrayList processParameters(Iterator parameters, ParameterInclude parameterInclude,
      ParameterInclude parent)
      throws DeploymentException;

      implementation:

      // setting parameter Name
      OMAttribute paramName = parameterElement.getAttribute(new
      QName(ATTRIBUTE_NAME));

      if (paramName == null)

      { throw new DeploymentException( Messages.getMessage(DeploymentErrorMsgs.BAD_PARAMETER_ARGUMENT)); }

      If a particular attribute is missing (in this case the "name" attribute),
      the exception thrown does not say anything about which parameter has bad
      argument. For bigger configuration files especially, it will be better to
      know where exactly is the configuration failing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nimish Nimish Hathalia
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: