File f1 = new File(output, "simple-binding-corba.wsdl");
assertTrue("simple-binding-corba.wsdl should be generated", f1.exists());
File f2 = new File(output, "simple-binding.idl");
assertTrue("simple-binding.idl should be generated", f2.exists());
WSDLToProcessor proc = new WSDLToProcessor();
try {
proc.parseWSDL(f1.getAbsolutePath());
Definition model = proc.getWSDLDefinition();
assertNotNull("WSDL Definition Should not be Null", model);
QName bindingName = new QName("http://schemas.apache.org/tests", "BaseOneCORBABinding");
assertNotNull("Binding Node not found in WSDL", model.getBinding(bindingName));
} catch (Exception e) {
fail("WSDLToIDL generated an invalid simple-binding-corba.wsdl");