wsdlreader.setExtensionRegistry(registry);
}
private void registerXMLFormat(ExtensionRegistry registry, Class clz) {
registry.registerSerializer(clz, ToolConstants.XML_FORMAT, new XMLFormatSerializer());
registry.registerDeserializer(clz, ToolConstants.XML_FORMAT, new XMLFormatSerializer());
registry.mapExtensionTypes(clz, ToolConstants.XML_FORMAT, XMLFormat.class);
}