Package interopbaseaddress.interop

Examples of interopbaseaddress.interop.IPingService


                if (wsdlLocation == null) {
                    svc = new PingService11();
                } else {
                    svc = new PingService11(wsdlLocation);
                }
                final IPingService port =
                    svc.getPort(
                        new QName(
                            "http://InteropBaseAddress/interop",
                            portPrefix + "_IPingService"
                        ),
                        IPingService.class
                    );
               
                /*
                ((BindingProvider)port)
                    .getRequestContext()
                        .put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
                             "http://localhost:9001/" + portPrefix + "PingService");
                */
               
                final String output = port.echo(INPUT);
                if (!INPUT.equals(output)) {
                    System.err.println(
                        "Expected " + INPUT + " but got " + output
                    );
                    results.add("Expected " + INPUT + " but got " + output);
View Full Code Here

TOP

Related Classes of interopbaseaddress.interop.IPingService

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.