Package org.jitterbit.integration.client.mapping.serverapi.transformation

Examples of org.jitterbit.integration.client.mapping.serverapi.transformation.TreeMapperInfoProvider


*/
public final class XmlStructureMappingTreeConverter {

    public MappingTreeStructure convert(XmlStructure xml, boolean isTarget, CallbackResult callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        TreeMapperInfoProvider call = server.getServerCall(TreeMapperInfoProvider.class);
        DefaultMappingStructureCallback cb = new DefaultMappingStructureCallback(callback);
        call.getJtrForStructure(xml.getFilePath(), xml.getRootNodeName(), isTarget, cb);
        return cb.getMappingStructure();
    }
View Full Code Here


*/
public final class RequestStructureMappingTreeConverter {

    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),
View Full Code Here

    public MappingTreeStructure convert(WebServiceResponseStructure response,
                                        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),
View Full Code Here

*/
public final class JsonStructureMappingTreeConverter {

    public MappingTreeStructure convert(JsonStructure json, boolean isTarget, CallbackResult callback) {
        IntegrationServer server = IntegrationServer.getInstance();
        TreeMapperInfoProvider call = server.getServerCall(TreeMapperInfoProvider.class);
        DefaultMappingStructureCallback cb = new DefaultMappingStructureCallback(callback);
        call.getJtrForStructure(json.getFileName(), json.getRootName(), isTarget, cb);
        return cb.getMappingStructure();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.mapping.serverapi.transformation.TreeMapperInfoProvider

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.