Package org.apache.servicemix.http.endpoints

Examples of org.apache.servicemix.http.endpoints.HttpSoapProviderEndpoint


        ep0.setEndpoint("consumer");
        ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep0.setTargetEndpoint("service");
        ep0.setLocationURI("http://localhost:8192/PersonService/");

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);
       
        http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
        container.activateComponent(http, "http");
       
        container.start();
View Full Code Here


        ep0.setEndpoint("consumer");
        ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "EchoService"));
        ep0.setTargetEndpoint("service");
        ep0.setLocationURI("http://localhost:8192/PersonService/");

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);
       
        http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
        container.activateComponent(http, "http");
       
        container.start();
View Full Code Here

        ep0.setEndpoint("consumer");
        ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "EchoService"));
        ep0.setTargetEndpoint("service");
        ep0.setLocationURI("http://localhost:8192/PersonService/");

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);
        ep1.setSoapAction("http://servicemix.apache.org/samples/wsdl-first/PersonService/GetPerson");
       
        http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
        container.activateComponent(http, "http");
       
        container.start();
View Full Code Here


    public void testSendProblem() throws Exception {
        HttpComponent http = new HttpComponent();

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);

        http.addEndpoint(ep1);
        container.activateComponent(http, "http");

        container.start();
View Full Code Here

        ep0.setEndpoint("consumer");
        ep0.setTargetService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep0.setTargetEndpoint("service");
        ep0.setLocationURI("http://localhost:8192/PersonService/");

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);
       
        http.setEndpoints(new HttpEndpointType[] {ep0, ep1 });
        container.activateComponent(http, "http");
       
        container.start();
View Full Code Here

    }

    public void testSendProblem() throws Exception {
        HttpComponent http = new HttpComponent();

        HttpSoapProviderEndpoint ep1 = new HttpSoapProviderEndpoint();
        ep1.setService(new QName("http://servicemix.apache.org/samples/wsdl-first", "PersonService"));
        ep1.setEndpoint("soap");
        ep1.setWsdl(new ClassPathResource("person.wsdl"));
        ep1.setValidateWsdl(false); // TODO: Soap 1.2 not handled yet
        ep1.setUseJbiWrapper(true);

        http.addEndpoint(ep1);
        container.activateComponent(http, "http");

        container.start();
View Full Code Here

TOP

Related Classes of org.apache.servicemix.http.endpoints.HttpSoapProviderEndpoint

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.