for (WSDLInterfaceFault fault : wi.getFaults())
{
QName xmlType = fault.getXmlType();
QName xmlName = fault.getElement();
WSDLTypes types = wsdlDefinitions.getWsdlTypes();
JBossXSModel xsmodel = WSDLUtils.getSchemaModel(types);
XSTypeDefinition xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
addJavaXMLTypeMap(xt, xmlName.getLocalPart(), "", "", jwm, true);
String exceptionType = getJavaTypeAsString(null, xmlType, xt.getNamespace(), false, true);