Package org.jitterbit.integration.data.structure

Examples of org.jitterbit.integration.data.structure.WebServiceOperationInfo


                }
            });
        }

        private void executeImpl() {
            WebServiceOperationInfo opInfo = getSelectedOperation();
            if (opInfo == null) {
                setEnabled(false);
                return;
            }
            displayer.setOverlayContainer(page.getOverlayContainer());
View Full Code Here


        return ui;
    }

    @Override
    public void applyToWebServiceCall(WebServiceCall ws) throws WizardPageException {
        WebServiceOperationInfo opInfo = getSelectedOperation();
        assert opInfo != null;
        ws.setOperationInfo(opInfo);
        ws.setWsdlFile(wsdlFile);
    }
View Full Code Here

    public WebServiceCallStructures get(final WebServiceOperationInfo opInfo) {
        return cachedJTRs.get(new Key(opInfo));
    }

    public void moveToProjectCache(WebServiceCall ws, InputAndOutputMappingTreeStructureCache projectCache) {
        WebServiceOperationInfo opInfo = ws.getOperationInfo();
        WebServiceCallStructures structures = get(opInfo);
        if (structures == null) {
            return;
        }
        writeRequestStructureToProjectCache(ws, structures.request(), projectCache);
View Full Code Here

     *
     */
    private class StructureLoader implements CallStructureRetriever {

        public synchronized void load() {
            WebServiceOperationInfo opInfo = getObject().getOperationInfo();
            UiJob job = new GetJtrJob(this, opInfo, getWaitService());
            job.submit();
        }
View Full Code Here

     * corresponding JTRs frm the server if needed.
     *
     */
    @Override
    public void actionPerformed(ActionEvent e) {
        WebServiceOperationInfo selected = page.getUi().getSelectedOperation();
        if (selected != page.getCurrentOp()) {
            stopTimer();
            if (selected == null) {
                handleNoSelection();
            } else {
View Full Code Here

    }

    @Override
    public void newValue(Object value) {
        if (value instanceof WebServiceOperationInfo) {
            WebServiceOperationInfo opInfo = (WebServiceOperationInfo) value;
            serviceField.setText(opInfo.getProperty(SERVICE_NAME));
            portField.setText(opInfo.getProperty(PORT_NAME));
            bindingField.setText(opInfo.getProperty(BINDING_NAME));
            operationField.setText(opInfo.getProperty(OPERATION_NAME));
            soapAction.setText(opInfo.getProperty(SOAP_ACTION));
        }
    }
View Full Code Here

    }

    @Override
    public void newValue(Object value) {
        if (value instanceof WebServiceOperationInfo) {
            WebServiceOperationInfo opInfo = (WebServiceOperationInfo) value;
            serviceField.setText(opInfo.getProperty(SERVICE_NAME));
            portField.setText(opInfo.getProperty(PORT_NAME));
            bindingField.setText(opInfo.getProperty(BINDING_NAME));
            operationField.setText(opInfo.getProperty(OPERATION_NAME));
            soapAction.setText(opInfo.getProperty(SOAP_ACTION));
        }
    }
View Full Code Here

    public MappingTreeStructure convert(WebServiceRequestStructure req, boolean isTarget, CallbackResult callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        TreeMapperInfoProvider infoProvider = server.getServerCall(TreeMapperInfoProvider.class);
        DefaultMappingStructureCallback cb = new DefaultMappingStructureCallback(callback);
        WebServiceOperationInfo opInfo = req.getOpInfo();
        WebServiceOperationIdentifier opId = new WebServiceOperationIdentifier(
                        opInfo.getProperty(WebServiceOperationInfo.OPERATION_NAME),
                        opInfo.getProperty(WebServiceOperationInfo.INPUT_NAME),
                        opInfo.getProperty(WebServiceOperationInfo.OUTPUT_NAME)
        );
        infoProvider.getJtrForWS(
                        req.getWebServiceCallId(),
                        opInfo.getProperty(WebServiceOperationInfo.WSDL_LOCATOR),
                        opInfo.getProperty(WebServiceOperationInfo.BINDING_NAME),
                        opId,
                        opInfo.getProperty(WebServiceOperationInfo.SOAP_STYLE),
                        opInfo.getProperty(WebServiceOperationInfo.SOAP_BODY_USE),
                        isTarget,
                        true,
                        cb);
        return cb.getMappingStructure();
    }
View Full Code Here

                                        boolean isTarget,
                                        CallbackResult callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        TreeMapperInfoProvider infoProvider = server.getServerCall(TreeMapperInfoProvider.class);
        DefaultMappingStructureCallback cb = new DefaultMappingStructureCallback(callback);
        WebServiceOperationInfo opInfo = response.getOpInfo();
        WebServiceOperationIdentifier opId = new WebServiceOperationIdentifier(
                        opInfo.getProperty(WebServiceOperationInfo.OPERATION_NAME),
                        opInfo.getProperty(WebServiceOperationInfo.INPUT_NAME),
                        opInfo.getProperty(WebServiceOperationInfo.OUTPUT_NAME)
        );
        infoProvider.getJtrForWS(
                        response.getWebServiceCallId(),
                        opInfo.getProperty(WebServiceOperationInfo.WSDL_LOCATOR),
                        opInfo.getProperty(WebServiceOperationInfo.BINDING_NAME),
                        opId,
                        opInfo.getProperty(WebServiceOperationInfo.SOAP_STYLE),
                        opInfo.getProperty(WebServiceOperationInfo.SOAP_BODY_USE),
                        isTarget,
                        false,
                        cb);
        return cb.getMappingStructure();
    }
View Full Code Here

            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

TOP

Related Classes of org.jitterbit.integration.data.structure.WebServiceOperationInfo

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.