You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2005/07/16 08:43:10 UTC

[jira] Resolved: (GERONIMO-768) doc/lit wrapped ws operation results in NPE if method has no parameters

     [ http://issues.apache.org/jira/browse/GERONIMO-768?page=all ]
     
David Jencks resolved GERONIMO-768:
-----------------------------------

    Fix Version: 1.0-M5
     Resolution: Fixed
      Assign To: David Jencks

Fixed in rev 219289

> 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
>     Assignee: David Jencks
>      Fix For: 1.0-M5

>
> 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