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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 1.0-M5
    • Component/s: webservices
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: