List<String> results = new ArrayList<String>();
URL wsdlLocation = null;
for (String portPrefix : argv) {
try {
PingService10 svc = null;
if (local) {
wsdlLocation = getWsdlLocation(portPrefix);
svc = new PingService10(wsdlLocation);
} else {
svc = new PingService10();
}
final IPingService port =
svc.getPort(
new QName(
"http://InteropBaseAddress/interop",
portPrefix + "_IPingService"
),
IPingService.class