Package org.apache.cxf.transport.local

Examples of org.apache.cxf.transport.local.LocalTransportFactory


        factory.setStart(false);
        List<String> tp = Arrays.asList("http://schemas.xmlsoap.org/soap/http", "http://schemas.xmlsoap.org/wsdl/http/",
                "http://schemas.xmlsoap.org/wsdl/soap/http", "http://www.w3.org/2003/05/soap/bindings/HTTP/",
                "http://cxf.apache.org/transports/http/configuration", "http://cxf.apache.org/bindings/xformat");

        LocalTransportFactory f = new LocalTransportFactory();
        f.getUriPrefixes().add("http");
        f.setTransportIds(tp);

        Server s = factory.create();

        try {
            ServiceWSDLBuilder builder = new ServiceWSDLBuilder(bus, s.getEndpoint().getService().getServiceInfos());
View Full Code Here


        SoapTransportFactory soapDF = new SoapTransportFactory();
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soapDF);
        dfm.registerDestinationFactory(SoapBindingConstants.SOAP11_BINDING_ID, soapDF);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soapDF);

        localTransport = new LocalTransportFactory();
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
View Full Code Here

        soapDF.setBus(bus);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soapDF);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soapDF);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soapDF);
       
        localTransport = new LocalTransportFactory();
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
View Full Code Here

        soapDF.setBus(bus);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soapDF);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soapDF);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soapDF);
       
        localTransport = new LocalTransportFactory();
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
        dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
View Full Code Here

    String[] transports = new String[]{
        "http://cxf.apache.org/transports/local",
        "http://schemas.xmlsoap.org/soap/http",
        "http://schemas.xmlsoap.org/wsdl/soap/http"
      };
      LocalTransportFactory local = new LocalTransportFactory();
      local.setTransportIds(Arrays.asList(transports));
     
      Bus bus = BusFactory.newInstance().createBus();
      SoapBindingFactory bindingFactory = new SoapBindingFactory();
      bindingFactory.setBus(bus);
      bus.getExtension(BindingFactoryManager.class).registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bindingFactory);
      bus.getExtension(BindingFactoryManager.class).registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/http", bindingFactory);
     
      DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
     
      SoapTransportFactory soap = new SoapTransportFactory();
      soap.setBus(bus);

      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soap);
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soap);
      dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soap);
     
      LocalTransportFactory localTransport = new LocalTransportFactory();
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
      dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
      dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
View Full Code Here

    String[] transports = new String[]{
        "http://cxf.apache.org/transports/local",
        "http://schemas.xmlsoap.org/soap/http",
        "http://schemas.xmlsoap.org/wsdl/soap/http"
      };
      LocalTransportFactory local = new LocalTransportFactory();
      local.setTransportIds(Arrays.asList(transports));
     
      Bus bus = BusFactory.newInstance().createBus();
      SoapBindingFactory bindingFactory = new SoapBindingFactory();
      bindingFactory.setBus(bus);
      bus.getExtension(BindingFactoryManager.class).registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bindingFactory);
      bus.getExtension(BindingFactoryManager.class).registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/http", bindingFactory);
     
      DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
     
      SoapTransportFactory soap = new SoapTransportFactory();
      soap.setBus(bus);

      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soap);
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soap);
      dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", soap);
     
      LocalTransportFactory localTransport = new LocalTransportFactory();
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
      dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
      dfm.registerDestinationFactory("http://cxf.apache.org/bindings/xformat", localTransport);
      dfm.registerDestinationFactory("http://cxf.apache.org/transports/local", localTransport);
View Full Code Here

        SoapTransportFactory soapDF = new SoapTransportFactory();
        soapDF.setBus(bus);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/", soapDF);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/", soapDF);

        LocalTransportFactory localTransport = new LocalTransportFactory();
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/soap/http", localTransport);
        dfm.registerDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http", localTransport);
    }
View Full Code Here

            "http://schemas.xmlsoap.org/wsdl/soap/http",
            "http://www.w3.org/2003/05/soap/bindings/HTTP/",
            "http://cxf.apache.org/transports/http/configuration",
            "http://cxf.apache.org/bindings/xformat");
       
        LocalTransportFactory f = new LocalTransportFactory(bus);
        f.getUriPrefixes().add("http");
        f.setTransportIds(tp);
        f.setBus(bus);
        f.register();
       
       
        Server s = factory.create();

        try {
View Full Code Here

TOP

Related Classes of org.apache.cxf.transport.local.LocalTransportFactory

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.