Examples of PingService12PortProxy


Examples of org.apache.axis2.jaxws.samples.client.ping.PingService12PortProxy

     * @param input       The message string
     * @return Boolean true if the ping works
     */
    public boolean buildPing12(String endpointURL, URL wsdlURL, String input) {
        try {
            PingService12PortProxy ping = new PingService12PortProxy(wsdlURL);
            ping._getDescriptor().setEndpoint(endpointURL);
            System.out.println(">> CLIENT: SEI Ping to " + endpointURL);

            // Build the input object
            PingStringInput pingParm =
                    new org.apache.axis2.jaxws.samples.ping.ObjectFactory().createPingStringInput();
            pingParm.setPingInput(input);

            // Call the service
            ping.pingOperation(pingParm);
            System.out.println(">> CLIENT: SEI Ping SUCCESS.");
            return true;
        } catch (Exception e) {
            System.out.println(">> CLIENT: ERROR: SEI Ping EXCEPTION.");
            e.printStackTrace();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.