Package org.jitterbit.integration.data.entity

Examples of org.jitterbit.integration.data.entity.WebServiceCall


            addPage(page);
        }

        @Override
        public void applyTo(Transformation tf) throws WizardPageException {
            WebServiceCall ws = page.getSelectedEntity();
            if (ws != null) {
                tf.setOutputStructure(ws.getOutputStructure());
            } else {
                // This could happen if the WebServiceCall that was selected
                // in the wizard has been deleted.
                // TODO: Handle this better?
                throw new WizardPageException(page, "No WebServiceCall defined.");
View Full Code Here


            addPage(page);
        }

        @Override
        public void applyTo(Transformation tf) throws WizardPageException {
            WebServiceCall ws = page.getSelectedEntity();
            if (ws != null) {
                tf.setInputStructure(ws.getOutputStructure());
            } else {
                // This could happen if the WebServiceCall that was selected
                // in the wizard has been deleted.
                // TODO: Handle this better?
                throw new WizardPageException(page, "No WebServiceCall defined.");
View Full Code Here

     * @throws WizardPageException
     *             if the selected <code>WebServiceCall</code> is deleted before the wizard has been
     *             completed.
     */
    public void applyToTransformation(Transformation tf) throws WizardPageException {
        WebServiceCall ws = getSelectedEntity();
        if (ws != null) {
            tf.setInputStructure(ws.getInputStructure());
            tf.setOutputStructure(ws.getOutputStructure());
        } else {
            // This could happen if the WebServiceCall that was selected in the wizard has been
            // deleted.
            // TODO: Handle this better?
            throw new WizardPageException(this, "No WebServiceCall defined.");
View Full Code Here

            addPage(page);
        }

        @Override
        public void applyTo(Transformation tf) throws WizardPageException {
            WebServiceCall ws = page.getSelectedEntity();
            if (ws != null) {
                tf.setInputStructure(ws.getInputStructure());
            } else {
                // This could happen if the WebServiceCall that was selected
                // in the wizard has been deleted.
                // TODO: Handle this better?
                throw new WizardPageException(page, "No WebServiceCall defined.");
View Full Code Here

            addPage(page);
        }

        @Override
        public void applyTo(Transformation tf) throws WizardPageException {
            WebServiceCall ws = page.getSelectedEntity();
            if (ws != null) {
                tf.setOutputStructure(ws.getInputStructure());
            } else {
                // This could happen if the WebServiceCall that was selected
                // in the wizard has been deleted.
                // TODO: Handle this better?
                throw new WizardPageException(page, "No WebServiceCall defined.");
View Full Code Here

*/
public final class WebServiceCallSearchValuesCollector implements SearchValuesCollector {

    @Override
    public List<String> getValues(IntegrationEntity object) {
        WebServiceCall wsCall = (WebServiceCall) object;
        return Arrays.asList(
                wsCall.getUrl(),
                wsCall.getWsdlFile().getLocator(),
                wsCall.getProperty(WebServiceCall.SOAP_ACTION),
                wsCall.getProperty(WebServiceCall.SERVICE),
                wsCall.getProperty(WebServiceCall.PORT),
                wsCall.getProperty(WebServiceCall.BINDING),
                wsCall.getProperty(WebServiceCall.OPERATION)
        );
    }
View Full Code Here

    private static final class WsdlProperty implements ReplaceableProperty<String> {

        @Override
        public void setValue(IntegrationEntity dataObject, String value) {
            WebServiceCall wsCall = (WebServiceCall) dataObject;
            synchronized (wsCall.getDataLock()) {
                wsCall.getWsdlFile().setLocator(value);
            }
        }
View Full Code Here

            return "WSDL";
        }

        @Override
        public String getValue(IntegrationEntity dataObject) {
            WebServiceCall wsCall = (WebServiceCall) dataObject;
            synchronized (wsCall.getDataLock()) {
                return wsCall.getWsdlFile().getLocator();
            }
        }
View Full Code Here

        this.pipeline = pipeline;
    }

    @Override
    public EntityFilter getFilter(TransformationActivity entry) {
        WebServiceCall wsCall = getWebServiceCall();
        if (entry == pipeline.getFirstActivityOfType(PipelineActivityType.TRANSFORMATION)) {
            return new FirstTransformationFilter(wsCall);
        } else if (entry == pipeline.getLastActivityOfType(PipelineActivityType.TRANSFORMATION)) {
            return new SecondTransformationFilter(wsCall);
        } else {
View Full Code Here

        }
        DataStructure input = tf.getInputStructure();
        if (!(input instanceof WebServiceRequestStructure)) {
            return;
        }
        WebServiceCall wsCall = lookupWsCall(((WebServiceRequestStructure) input).getWebServiceCallId());
        if (browser.getWebServiceCall() == null) {
            browser.setWebServiceCall(wsCall);
        }
        removeSecondTransformationIfNotNeeded(pipeline, browser, tf, wsCall);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.WebServiceCall

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.