Package uk.ac.bbsrc.tgac.miso.core.service.integration.ws.solid

Examples of uk.ac.bbsrc.tgac.miso.core.service.integration.ws.solid.SolidService


    if (!sr.getPlatform().getPlatformType().equals(PlatformType.SOLID)) {
      throw new IOException("Trying to interrogate a " + sr.getPlatform().getPlatformType().getKey() + " sequencer reference with a SOLiD strategy");
    }

    if (!sr.getPlatform().getInstrumentModel().contains("5500xl")) {
      SolidService ss = new SolidService(new URL("http://"+sr.getFQDN()+":8080/sets/webservice/solid?wsdl"), new QName("http://solid.aga.appliedbiosystems.com", "SolidService"));
      StringBuilder sb = new StringBuilder();
      try {
        InputStream in = StatsController.class.getResourceAsStream("/integration/solid/xsl/clusterStatus.xsl");
        if (in != null) {
          String xsl = LimsUtils.inputStreamToString(in);
          sb.append(SubmissionUtils.xslTransform(ss.getSolidPort().getClusterStatus().getXml(), xsl));
        }
      }
      catch (TransformerException e) {
        sb.append("Unable to transform Cluster Status XML: " + e.getMessage());
        e.printStackTrace();
View Full Code Here


          String machineName = m.group(1);
          String startDate = m.group(2);
          try {
            SolidServiceWrapper solidServiceWrapper = ApplicationContextProvider.getApplicationContext().getBean(machineName, SolidServiceWrapper.class);

            SolidService solidService = solidServiceWrapper.getSolidService();
            RunArray ra = solidService.getSolidPort().getRun(runName, machineName);
            if (ra != null && !ra.getItem().isEmpty()) {
              try {
                String statusXml = ra.getItem().get(0).getXml();
                Document statusDoc = SubmissionUtils.emptyDocument();
                SubmissionUtils.transform(new UnicodeReader(statusXml), statusDoc);
View Full Code Here

TOP

Related Classes of uk.ac.bbsrc.tgac.miso.core.service.integration.ws.solid.SolidService

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.