[ http://issues.apache.org/jira/browse/GERONIMO-768?page=comments#action_12315970 ]
David Jencks commented on GERONIMO-768: --------------------------------------- Should this go into M4? > 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