// System property passed through the ant build script
String wsdldir = System.getProperty("wsdl.dir", getResourceFile("tools").getAbsolutePath());
File wsdlFile = createResourceFile(wsdldir + "/wsdl20assertions/" + wsdlname);
WSDLToJavaIntf wsdljava = new WSDLToJava();
try
{
WSDLDefinitions wsdl = wsdljava.convertWSDL2Java(wsdlFile.toURL());
fail("Test Should not have passed");
}
catch (RuntimeException ie)
{
// ignore expected exception