Package org.objectweb.hello_world_xml_http.bare

Examples of org.objectweb.hello_world_xml_http.bare.XMLService


        } else {
            wsdlURL = new URL(args[0]);
        }

        System.out.println(wsdlURL);
        XMLService service = new XMLService(wsdlURL, SERVICE_NAME);
        Greeter greeter = (Greeter)service.getPort(PORT_NAME, Greeter.class);

        System.out.println("Invoking sayHi...");
        System.out.println("server responded with: " + greeter.sayHi());
        System.out.println();
View Full Code Here


    public void testBasicConnection() throws Exception {
        URL wsdl = getClass().getResource("/wsdl/hello_world_xml_bare.wsdl");
        assertNotNull(wsdl);
       
        XMLService service = new XMLService(wsdl, serviceName);
        assertNotNull(service);
       
        Greeter greeter = service.getPort(portName, Greeter.class);
       
        String response1 = new String("Hello Milestone-");
        String response2 = new String("Bonjour");
        MyComplexStruct argument = new MyComplexStruct();
        MyComplexStruct retVal = null;
View Full Code Here

TOP

Related Classes of org.objectweb.hello_world_xml_http.bare.XMLService

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.