// always use progressDialog since files can import http urls
XProgressDialog progressDialog = UISupport.getDialogs().createProgressDialog( "Loading Definition", 3,
"Loading definition..", true );
Loader loader = new Loader( wsdlLoader );
progressDialog.run( loader );
// Get the value. It is the responsibility of the progressDialog to
// wait for the other thread to finish.
if( loader.hasError() )
{