ReadWSDL rw = new ReadWSDL();
Definition wsdlDefinition = null;
if (pathOrURL.startsWith("http")) {
wsdlDefinition = rw.readWSDL(new URL(pathOrURL));
} else {
wsdlDefinition = rw.readWSDL(pathOrURL);
}
if (wsdlDefinition == null) {
System.out.println("There was an error parsing the WSDL!");
return;