Package org.jitterbit.integration.data.entity.webservicecall

Examples of org.jitterbit.integration.data.entity.webservicecall.WebServiceInfo


    private void parse(byte[] contents) {
        WsdlParser parser = WsdlParserFactory.newParser(getWsdlFile(), fileStore);
        try {
            setNewMessage(PackageResources.ProcessExistingFileJob.STATUS_PARSING);
            WebServiceInfo info = parser.parse(contents);
            setParsedInfo(info);
            signalJobSucceeded();
            parser.dispose();
        } catch (WsdlParserException e) {
            signalJobFailed(e);
View Full Code Here


        parseFile();
    }

    private void parseFile() {
        try {
            WebServiceInfo info = file.isRemote() ? WsdlUtils.parseRemoteWsdl(file.getLocator()) :
                WsdlUtils.parseLocalWsdl(new File(file.getLocator()));
            setParsedInfo(info);
        } catch (MalformedURLException ex) {
            handleError(Strings.get("EditWsdl.ParsingJob.InvalidUrl"), ex);
        } catch (WsdlParserException ex) {
View Full Code Here

            throw new WsdlParserException("Failed to parse the WSDL file.", ex);
        }
    }

    private WebServiceInfo createWebServiceInfo(DefinitionInfo definition, String wsdlFile) {
        WebServiceInfo wsInfo = new WebServiceInfo("identifier", null, wsdlFile);
        definition.applyTo(wsInfo);
        return wsInfo;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.webservicecall.WebServiceInfo

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.