Examples of WsDataFile


Examples of org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.WsDataFile

        try {
            org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.TreeMapperInfoProvider infoProvider = locator
                            .getkonga_treemapper_infoprovider();
            getConfiguration().setTimeOut((org.apache.axis.client.Stub) infoProvider);
            WsDataFileIdentifier wsIdentifier = toWsIdentifier(identifier);
            WsDataFile wsFile = infoProvider.downloadDataFile(
                            user,
                            password,
                            guid.toString(),
                            toString(identifier.transformationId),
                            toString(identifier.operationId),
                            wsIdentifier);
            if (Thread.currentThread().isInterrupted()) {
                callback.cancelled();
                return;
            }
            DataFile clientFile = new DataFile(wsFile.getLocalPath(), wsFile.getCompressedData());
            callback.fileWasDownloaded(identifier, clientFile);
        } catch (RemoteException e) {
            callback.caught(convert(e));
        } catch (ServiceException e) {
            callback.caught(new IntegrationServerException("Failed to call webservice: " + e.getMessage(), e));
View Full Code Here

Examples of org.jitterbit.integration.server.implementation.webservice.interchange.treemapper.client.WsDataFile

        this.txId = txId;
        data = getDataFile(wsResult);
    }

    private DataFile getDataFile(WsLoadSourceResult wsResult) {
        WsDataFile file = wsResult.getFile();
        String path = file.getLocalPath();
        String compressedData = file.getCompressedData();
        return new DataFile(path, compressedData);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.