Examples of WsdlFile


Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

        urlField = createUrlField();
        doLayout();
    }
   
    public WsdlFile getSelectedFile() {
        WsdlFile wsdl = null;
        URL url = urlField.getValue();
        if (url != null) {
            wsdl = new WsdlFile();
            wsdl.setLocator(url.toString());
        }
        return wsdl;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

            setParsedInfo(WsdlUtils.parseLocalWsdl(file));
        } catch (WsdlParserException ex) {
            signalJobFailed(ex);
            return;
        }
        WsdlFile wsdl = new WsdlFile();
        wsdl.putString(WsdlFile.WSDL_LOCATOR, file.getName());
        setWsdlFile(wsdl);
        setNewMessage(PackageResources.ProcessLocalFileJob.STATUS_UPLOAD);
        uploadWsdlFile(file);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

            return;
        } catch (MalformedURLException ex) {
            signalJobFailed(ex);
            return;
        }
        WsdlFile wsdl = new WsdlFile();
        wsdl.putString(WsdlFile.WSDL_LOCATOR, wsdlUrl);
        setWsdlFile(wsdl);
        setNewMessage(PackageResources.ProcessRemoteFileJob.STATUS_UPLOAD);
        WsdlUtils.uploadRemoteWsdl(wsdlUrl, new UploadRemoteWsdlCallbackImpl(this, wsdl));
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

        fileSelector = createFileSelector();
        layout();
    }

    public WsdlFile getSelectedFile() {
        WsdlFile wsdl = null;
        File file = fileSelector.getSelectedFile();
        if (file != null) {
            wsdl = new WsdlFile();
            wsdl.setLocator(file.getAbsolutePath());
        }
        return wsdl;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

        }
    }

    @Override
    public WsdlProcessingJob getProcessingJob() {
        WsdlFile file = getSelectedFile();
        return (file == null) ? null : new ProcessExistingWsdlFile(fileStore, serverInfo, file);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

    // Data needed for WebServices.
    private final List<InterchangeDataRow> m_updatedCallRestrictions = Lists.newArrayList();

    private void updateWebServiceCall(WebServiceCall wsCall) throws DeployException {
        // Add the WSDL file.
        WsdlFile wsdlFile = wsCall.getWsdlFile();

        // Add call restrictions.
        CallRestrictions restrictions = wsCall.getCallRestrictions();
        String[] values = restrictions.getPropertyValues(wsCall.getID().toString(), 1);
        m_updatedCallRestrictions.add(getInterchangeDataRow(values));

        try {
            String wsdlLocator = wsdlFile.getLocator();
            if (isUrl(wsdlLocator))
                addRequiredUrl(wsdlLocator, wsdlFileType);
            else
                addRequiredFile(wsdlLocator, wsdlFileType);
        } catch (DeployException ex) {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

        StringKeyValuePairs keyValues = new StringKeyValuePairs();
        keyValues.putString(WsdlFile.WSDL_LOCATOR, wsdlFile.getWsdlLocator());
        keyValues.putLong(WsdlFile.WSDL_STATUS, wsdlFile.getStatus());
        keyValues.putString(WsdlFile.APPLICATION_MESSAGE, wsdlFile.getApplicationMessage());
        keyValues.putString(WsdlFile.USER_COMMENT, wsdlFile.getUserComment());
        wsdlFileList.add(new WsdlFile(keyValues));
      }
            callback.gotWsdlFiles(serverInfo, wsdlFileList);
    } catch (RemoteException e) {
      callback.caught(convert(e));
    } catch (IntegrationServerException e) {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

        deploy();
    }

    private void updateAffectedWebServiceCalls() {
        NewWsdlDataApplier dataApplier = new NewWsdlDataApplier(persistor, project.getFileStore(), wsCall.getWsdlFile());
        WsdlFile toApply = new WsdlFile();
        if (this.wsdlFile.isRemote()) {
            toApply.setLocator(this.wsdlFile.getLocator());
        } else {
            toApply.setLocator(new File(this.wsdlFile.getLocator()).getName());
        }
        for (WebServiceCall ws : affected) {
            WebServiceOperationInfo opInfo = OpInfoFinder.findMatchingOpInfo(ws, wsInfo);
            assert opInfo != null : "A conflict remained undetected. There is a bug in the conflict detection code.";
            opInfo.setProperty(WebServiceOperationInfo.WSDL_LOCATOR, toApply.getLocator());
            dataApplier.apply(ws, toApply, opInfo);
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

     * <tt>WebServiceCall</tt>.
     *
     * @see #setWsdlFile(WsdlFile)
     */
    public WsdlFile getWsdlFile() {
        return (wsdlFile == null) ? new WsdlFile() : wsdlFile.getCopy();
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.webservicecall.WsdlFile

     * @see #getWsdlFile()
     */
    public void setWsdlFile(WsdlFile wsdl) {
        setProperty(WSDL_LOCATOR, wsdl.getLocator());
        if (!wsdl.equals(wsdlFile)) {
            WsdlFile old = wsdlFile;
            wsdlFile = wsdl.getCopy();
            firePropertyChange(WSDL_FILE, old, wsdl);
        }
    }
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.