Examples of HostedWebServicePipelineBrowser


Examples of org.jitterbit.integration.data.entity.operation.pipeline.hostedws.HostedWebServicePipelineBrowser

    private static class HostedWebServiceCallConfiguration implements Configuration {

        @Override
        public void configure(Transformation tx, ContentProviderContext context) {
            HostedWebServicePipelineBrowser browser = new HostedWebServicePipelineBrowser(context.getPipeline());
            WebServiceCall wsCall = browser.getWebServiceCall();
            if (wsCall == null) {
                return;
            }
            if (context.getActivity() == browser.getFirstTransformationActivity()) {
                configureFirstTransformation(tx, wsCall, browser);
            } else if (context.getActivity() == browser.getSecondTransformationActivity()) {
                configureResponse(tx, wsCall);
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.pipeline.hostedws.HostedWebServicePipelineBrowser

        assertSame(pipeline.getType(), op.getOperationType());
        assertEquals(source.getID(), op.getSourceId());
        assertEquals(target.getID(), op.getTargetId());
        assertEquals(Arrays.asList(tf.getID()), op.getFunctionIDs());
        pipeline = HostedWebServiceOperationType.TYPE.createNewTemplate();
        HostedWebServicePipelineBrowser wsBrowser = new HostedWebServicePipelineBrowser(pipeline);
        WebServiceCall ws = new WebServiceCall("WS");
        wsBrowser.setWebServiceCall(ws);
        wsBrowser.getFirstTransformationActivity().setContent(tf);
        op.setPipeline(pipeline);
        assertNull(op.getSourceId());
        assertNull(op.getTargetId());
        assertEquals(ws.getID(), op.getHostedWebServiceId());
        assertEquals(Arrays.asList(tf.getID()), op.getFunctionIDs());
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.pipeline.hostedws.HostedWebServicePipelineBrowser

                        // calling createPipeline() which will not work since the project's entity lookup
                        // has not been built up at that point.
                        pipeline = getOperationType().getPipelineFactory().createPipeline(this, lookup);
                    }
                    if (pipeline.getType() == HostedWebServiceOperationType.TYPE) {
                        HostedWebServicePipelineBrowser browser = new HostedWebServicePipelineBrowser(pipeline);
                        setHostedWebService(browser.getWebServiceCall());
                    }
                }
                pipelineForLinkCollection = pipeline;
            }
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.pipeline.hostedws.HostedWebServicePipelineBrowser

        op.setFunctionChain(funcs.getFunctions());
    }
   
    private static void applyHostedWebServiceSettings(Operation op, OperationPipeline pipeline) {
        if (pipeline.getType() == HostedWebServiceOperationType.TYPE) {
            HostedWebServicePipelineBrowser browser = new HostedWebServicePipelineBrowser(pipeline);
            op.setHostedWebService(browser.getWebServiceCall());
        }
    }
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.