Package org.apache.cxf.tools.java2wsdl.processor.internal

Examples of org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilder


        init();
        ServiceBuilderFactory builderFactory = ServiceBuilderFactory.getInstance();
        builderFactory.setServiceClass(getServiceClass());
        // TODO check if user specify the style from cli arguments
        //      builderFactory.setStyle(style/from/command/line);
        ServiceBuilder builder = builderFactory.newBuilder();
        builder.setAddress(DEFAULT_ADDRESS);
        builder.setTransportId(getTransportId());
        builder.setBus(getBus());
        builder.setBindingConfig(getBindingConfig());

        ServiceInfo service = builder.build();

        File output = getOutputFile(builder.getOutputFile(),
                                    service.getName().getLocalPart() + ".wsdl");

        WSDLGeneratorFactory factory = WSDLGeneratorFactory.getInstance();
        factory.setWSDLVersion(getWSDLVersion());
View Full Code Here

TOP

Related Classes of org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilder

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.