Package org.jboss.as.demos.ws.archive

Examples of org.jboss.as.demos.ws.archive.Endpoint


        }
        URL wsdlURL = new URL("http://localhost:8080/ws-example?wsdl");
        QName serviceName = new QName("http://archive.ws.demos.as.jboss.org/", "EndpointService");
        System.out.println("JAXWS Client provider being used: " + Provider.provider().getClass());
        Service service = Service.create(wsdlURL, serviceName);
        Endpoint port = (Endpoint) service.getPort(Endpoint.class);
        System.out.println("Sending request 'hello' to address http://localhost:8080/ws-example");
        System.out.println("Got result : " + port.echo("hello"));
    }
View Full Code Here


        }
        URL wsdlURL = new URL("http://localhost:8080/ws-example?wsdl");
        QName serviceName = new QName("http://archive.ws.demos.as.jboss.org/", "EndpointService");
        System.out.println("JAXWS Client provider being used: " + Provider.provider().getClass());
        Service service = Service.create(wsdlURL, serviceName);
        Endpoint port = (Endpoint) service.getPort(Endpoint.class);
        System.out.println("Sending request 'hello' to address http://localhost:8080/ws-example");
        System.out.println("Got result : " + port.echo("hello"));
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.demos.ws.archive.Endpoint

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.