Creating a domain
Please see the source code example available in the api-examples/create_domain directory of your JSCAPE MFT Server installation.