URL wsdlURL = getClass().getClassLoader().getResource(fWsdlPath);
assertNotNull("Failed to find the WSDL document on the classpath using the path: " + fWsdlPath + ".",
wsdlURL);
Description descComp = fReader.readWSDL(wsdlURL.toString());
assertNotNull("The reader did not return a WSDL description.", descComp);
Binding binding = descComp.getBindings()[0];
assertNotNull("The Description does not contain a Binding.", binding);
fSoapBindExts = (SOAPBindingExtensions)binding.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
assertNotNull("The Binding does not contain a SOAPBindingExtensions object.");
Binding binding2 = descComp.getBindings()[1];
assertNotNull("The Description does not contain a second Binding.", binding2);
fSoapBind2Exts = (SOAPBindingExtensions)binding2.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
assertNotNull("The second Binding does not contain a SOAPBindingExtensions object.");
}