ct.setParticle(xsp);
xsmodel.addXSComplexTypeDefinition(ct); //Always add global complex types to global types
//Lets write the schema into a file
File xsdOutFile = createResourceFile("tools/wsdlwritedir/HelloObj.xsd");
xsdOutFile.delete();
xsmodel.writeTo(new FileOutputStream(xsdOutFile));
}
private XSNamedMap getXSNamedMap(XSModel xsmodel, String ns)
{
short typedef = XSTypeDefinition.COMPLEX_TYPE;