Contract contract,
WebServiceBinding wsBinding,
ExtensionPointRegistry extensionPoints,
Monitor monitor) {
if (monitor == null) {
monitor = new BuilderContext(extensionPoints).getMonitor();
}
try {
createWSDLDocument(component, contract, wsBinding, extensionPoints, monitor);
} catch (WSDLGenerationException ex) {
if (ex.getProblem() != null) {