Package org.apache.cxf.binding.xml

Examples of org.apache.cxf.binding.xml.XMLBindingInfoFactoryBean


        configureObject(svrFactory);
       
        // TODO: Replace with discovery mechanism!!
        AbstractBindingInfoFactoryBean bindingFactory = null;
        if (XMLConstants.NS_XML_FORMAT.equals(bindingURI)) {
            bindingFactory = new XMLBindingInfoFactoryBean();
        } else {
            // Just assume soap otherwise...
            bindingFactory = new JaxWsSoapBindingInfoFactoryBean();
        }
       
View Full Code Here


        String bindingUri = portInfo.getBindingUri();

        // TODO: Replace with discovery mechanism!!
        AbstractBindingInfoFactoryBean bindingFactory = null;
        if (bindingUri.equals(XMLConstants.NS_XML_FORMAT)) {
            bindingFactory = new XMLBindingInfoFactoryBean();
        } else if ("http://schemas.xmlsoap.org/soap/".equals(bindingUri)) {
            JaxWsSoapBindingInfoFactoryBean soapBindingFactory = new JaxWsSoapBindingInfoFactoryBean();
            soapBindingFactory.setTransportURI(transportId);
            bindingFactory = soapBindingFactory;
        } else {
            bindingFactory = new XMLBindingInfoFactoryBean();
        }

        bindingFactory.setServiceFactory(serviceFactory);

        BindingInfo bindingInfo = bindingFactory.create();
View Full Code Here

TOP

Related Classes of org.apache.cxf.binding.xml.XMLBindingInfoFactoryBean

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.