geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters
Date Sat, 16 Jul 2005 06:21:09 GMT
doc/lit wrapped ws operation results in NPE if method has no parameters
-----------------------------------------------------------------------

         Key: GERONIMO-768
         URL: http://issues.apache.org/jira/browse/GERONIMO-768
     Project: Geronimo
        Type: Bug
  Components: webservices  
    Versions: 1.0-M3    
    Reporter: David Jencks


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message