Package org.apache.hello_world.nmr

Examples of org.apache.hello_world.nmr.HelloWorldService


                S1, S2 });
        ConfigurerImpl cfg = new ConfigurerImpl(ctx);
        Bus bus = (Bus) ctx.getBean(Bus.DEFAULT_BUS_ID);
        bus.setExtension(cfg, Configurer.class);
       
        HelloWorldService ss = new HelloWorldService(wsdl, serviceName);
        QName portName = new QName("http://apache.org/hello_world/nmr", "SoapPort");
        ss.addPort(portName, NMRConstants.NS_NMR_BINDING, "local://nmrendpoint");
       
        Greeter port = ss.getPort(portName, Greeter.class);
               
        String rep = port.greetMe("ffang");
        assertEquals(rep, "Hello ffang");
        rep = port.sayHi();
        assertEquals(rep, "Bonjour");
View Full Code Here

TOP

Related Classes of org.apache.hello_world.nmr.HelloWorldService

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.