Package it.eng.spagobi.tools.dataset.wsconnectors.stub

Examples of it.eng.spagobi.tools.dataset.wsconnectors.stub.IWsConnector


  public IDataStore load(IDataReader dataReader) {
    IDataStore dataStore = null;
    String resultXML="";
    IWsConnectorServiceLocator locator = new IWsConnectorServiceLocator();  
    IWsConnector connector=null;
    URL addressToCall=null;


    try{
      addressToCall=new URL(address);
    }
    catch (Exception e) {
      throw new SpagoBIRuntimeException("Invalid URL [" + address + "]", e);
    }
    try {
      connector = locator.getWSDataSetService(addressToCall);

    } catch (ServiceException e) {
      throw new SpagoBIRuntimeException("DataSetService not available", e);
    }
   
    // Add the profile Attributes

    try {
      parameters = addProfileAtributes(parameters);
    } catch (Exception e) {
      throw new SpagoBIRuntimeException("An error occurred while resolving profile attributes", e);
    }
   
    try {
      resultXML=connector.readDataSet(address, parameters, operation);
    } catch (RemoteException e) {
      throw new SpagoBIRuntimeException("DataSetService not available", e);
    }   

    try {
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.dataset.wsconnectors.stub.IWsConnector

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.