* @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();