Package net.sourceforge.squirrel_sql.plugins.sqlval

Examples of net.sourceforge.squirrel_sql.plugins.sqlval.WebServiceValidator


      {
         // Open connection to the webservice.
         WebServiceSession wss = new WebServiceSession(_prefs,_wsSessionProps);
         wss.open();

         final WebServiceValidator val = new WebServiceValidator(wss, _wsSessionProps);
         final IQueryTokenizer qt = _session.getQueryTokenizer();

         qt.setScriptToTokenize(_sql);
         final StringBuffer results = new StringBuffer(1024);
         while (qt.hasQuery())
         {
            // TODO: When message are can have some text in red (error)
            // and some normal then put out errors in red.
            ValidatorResult rc = val.validate(qt.nextQuery());
            results.append(rc.getData());
         }
         _results = results.toString().trim();

      }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.sqlval.WebServiceValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.