{
String targetNS = "http://org.jboss.ws";
JavaToXSD jxsd = new JavaToXSD();
QName q = new QName(targetNS,"NillableType", Constants.PREFIX_TNS);
XSTypeDefinition xst = jxsd.getSchemaCreator().generateType(q,NillableType.class);
WSSchemaUtils sutils = WSSchemaUtils.getInstance(null, null);
JBossXSModel xsmodel = sutils.createXSModel();
xsmodel.addXSTypeDefinition(xst);
StringWriter sw = new StringWriter();
sutils.serialize(xsmodel,sw);
File xsdFile = new File("resources/tools/jbws-204/wscompile/nillable.xsd");
checkXMLFiles(xsdFile.toURL(),sw.toString());
}