Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-768

doc/lit wrapped ws operation results in NPE if method has no parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M3
    • 1.0-M5
    • webservices
    • None

    Description

      in doc/lit wrapped, an operation with no parameters corresponds to an element with no content such as

      <element name="getMarketSummary">
      <complexType>
      <sequence/>
      </complexType>
      </element>

      This results in an NPE on line 232 of HeavyweightOperationDescBuilder after:

      SchemaType operationType = (SchemaType) schemaInfoBuilder.getComplexTypesInWsdl().get(name);

      Set expectedInParams = new HashSet();

      // schemaType should be complex using xsd:sequence compositor
      SchemaParticle parametersType = operationType.getContentModel();

      there is no content model

      Attachments

        Issue Links

          Activity

            People

              djencks David Jencks
              djencks David Jencks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: