this.configuration.setTypeMapper(new DefaultTypeMapper());
return;
}
List typesArray = typesList.getExtensibilityElements();
WSDLExtensibilityElement extensiblityElt;
Vector xmlSchemaTypeVector = new Vector();
XmlSchemaCollection schemaColl = new XmlSchemaCollection();
for (int i = 0; i < typesArray.size(); i++) {
extensiblityElt = (WSDLExtensibilityElement) typesArray.get(i);
//add the namespace map here. it is absolutely needed
Map nsMap = configuration.getWom().getNamespaces();
Iterator keys = nsMap.keySet().iterator();
String key;
while (keys.hasNext()) {
key = (String) keys.next();
schemaColl.mapNamespace(key, (String) nsMap.get(key));
}
Schema schema;
if (ExtensionConstants.SCHEMA.equals(extensiblityElt.getType())) {
schema = (Schema) extensiblityElt;
Stack importedSchemaStack = schema.getImportedSchemaStack();
//compile these schemas
while (!importedSchemaStack.isEmpty()) {
Element el = (Element) importedSchemaStack.pop();