Package org.apache.cxf.binding.http

Examples of org.apache.cxf.binding.http.HttpBindingInfoFactoryBean


import org.apache.cxf.service.model.BindingOperationInfo;

public class WrappedServiceTest extends AbstractRestTest {
   
    public void testConvention() throws Exception {
        HttpBindingInfoFactoryBean hbif = new HttpBindingInfoFactoryBean();
        hbif.getStrategies().clear();
        hbif.getStrategies().add(new ConventionStrategy());
       
        testService(hbif);
    }
View Full Code Here


       
        testService(hbif);
    }
   
    public void testJRA() throws Exception {
        testService(new HttpBindingInfoFactoryBean());
    }
View Full Code Here

       
        JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean();
        sf.setBus(getBus());
        sf.setServiceClass(CustomerService.class);
        sf.getServiceFactory().setWrapped(false);
        sf.setBindingFactory(new HttpBindingInfoFactoryBean());
        sf.setAddress("http://localhost:9001/foo/");

        Map<String, Object> props = new HashMap<String, Object>();
        props.put("contextMatchStrategy", "stem");
        sf.setProperties(props);
View Full Code Here

TOP

Related Classes of org.apache.cxf.binding.http.HttpBindingInfoFactoryBean

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.