You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2009/10/17 21:40:55 UTC

A bit of a muddle about imported schemas

CXF-2477 has the following overall description. The wsdl has a schema in it,
and that schema xs:import's other schemas.

When SchemaUtil pulls the schema into Xml Schema, the imported schemas are
added to the collection. However, SchemaUtil does not treat them as
first-class citizens, and so they remain invisible to the javascript
generator.

It wouldn't be especially hard to make SchemaUtil build the SchemaInfo
objects for the additional schemas. What puzzled me is why this only busts
the javascript generator. Maybe it should just generate for the entire
collection and ignore the particular list of SchemaInfo objects hanging off
the service?