Examples of WebServiceCallId


Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

        if (item == null) {
            item = lookup.getEntity(tf.getSourceTextDocumentId());
            if (item == null) {
                DataStructure s = tf.getInputStructure();
                if (s instanceof WebServiceStructure) {
                    WebServiceCallId wsCallId = ((WebServiceStructure) s).getWebServiceCallId();
                    item = lookup.getEntity(wsCallId);
                }
            }
        }
        return item != null ? new StructureLink(item, pageDisplayer) : StructureLink.none();
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

        if (item == null) {
            item = lookup.getEntity(tf.getTargetTextDocumentId());
            if (item == null) {
                DataStructure s = tf.getOutputStructure();
                if (s instanceof WebServiceStructure) {
                    WebServiceCallId wsCallId = ((WebServiceStructure) s).getWebServiceCallId();
                    item = lookup.getEntity(wsCallId);
                }
            }
        }
        return item != null ? new StructureLink(item, pageDisplayer) : StructureLink.none();
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

    private WebServiceSelectionWizard createStructureWizard() {
        return UiThreadSupplier.call(new Supplier<WebServiceSelectionWizard>() {

            @Override
            public WebServiceSelectionWizard get() {
                WebServiceCallId wsCallId = toEdit.getWebServiceCallId();
                IntegrationEntityLookup lookup = explorerSupport.getProject().getItemLookup();
                WebServiceCall wsCall = lookup.getEntity(wsCallId, WebServiceCall.class);
                return new WebServiceSelectionWizard(wsCall, explorerSupport);
            }
        });
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

        return createWebServiceCallAsInputOrOutputMessage(struct, "source", "response from");
    }

    private JComponent createWebServiceCallAsInputOrOutputMessage(WebServiceStructure struct, String io, String type) {
        // XXX: Techincally, itemLookup can be null here.
        WebServiceCallId wsCallId = struct.getWebServiceCallId();
        WebServiceCall wsCall = itemLookup.getEntity(wsCallId, WebServiceCall.class);
        JLabel label = TextStyles.AdminHint.makeLabel("");
        RendererUtils.decorateRenderer(label, wsCall, false);
        String message = MessageFormat.format("The {0} of the transformation is a {1} ", io, type);
        return BoxBuilder.horizontal().addAll(message, label).container();
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

    public WebServiceCallId getHostedWebServiceId() {
        String s = getProperty(HOSTED_WEBSERVICE_ID);
        if (s != null && s.length() > 0) {
            try {
                return new WebServiceCallId(s);
            } catch (IllegalArgumentException ex) {
                ex.printStackTrace();
            }
        }
        return null;
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

        if (first != null) {
            DataStructure struct1 = first.getInputStructure();
            DataStructure struct2 = otherFirst.getInputStructure();
            return (struct1 != null) && struct1.equals(struct2);
        } else if (getOperationType() == HostedWebServiceOperationType.TYPE) {
            WebServiceCallId wsCallId = getHostedWebServiceId();
            DataStructure s = otherFirst.getInputStructure();
            return (s instanceof WebServiceRequestStructure) &&
                ((WebServiceRequestStructure) s).getWebServiceCallId().equals(wsCallId);
        }
        return false;
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

        return clone;
    }

    @Override
    protected void applyNewId(IntegrationEntityId id) {
        WebServiceCallId wsCallId = (WebServiceCallId) id;
        requestStructure = (WebServiceRequestStructure) requestStructure.createCopy(wsCallId);
        responseStructure = (WebServiceResponseStructure) responseStructure.createCopy(wsCallId);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

            checkTarget(inserted, browser);
        }
    }

    private void checkWsCall(Transformation inserted, PipelineActivity activity, WebServicePipelineBrowser browser) {
        WebServiceCallId wsId = null;
        if (activity == browser.getRequestActivity()) {
            DataStructure output = inserted.getOutputStructure();
            if (output instanceof WebServiceRequestStructure) {
                wsId = ((WebServiceRequestStructure) output).getWebServiceCallId();
            }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

            // No processing needed
        }
    }

    private WebServiceCall replaceWebServiceCall(WebServiceStructure s) {
        WebServiceCallId wsCallId = s.getWebServiceCallId();
        return (WebServiceCall) service.getReplacement(wsCallId);
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.id.WebServiceCallId

    public Transformation getSecondTransformation() {
        return secondTf;
    }

    private WebServiceCall extractWebServiceCall(Operation op, IntegrationEntityLookup lookup) {
        WebServiceCallId wsCallId = op.getHostedWebServiceId();
        return lookup.getEntity(wsCallId, WebServiceCall.class);
    }
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.