package c.t.s.xfire; import javax.wsdl.WSDLException; import org.codehaus.xfire.XFireRuntimeException; import org.codehaus.xfire.service.Service; import org.codehaus.xfire.transport.TransportManager; import org.codehaus.xfire.wsdl11.builder.WSDLBuilder; import org.codehaus.xfire.wsdl11.builder.WSDLBuilderFactory; public class CustomJaxbWSDLBuilderFactory implements WSDLBuilderFactory { public WSDLBuilder createWSDLBuilder(Service service, TransportManager transportManager) { try { return new CustomJaxbWSDLBuilder(service, transportManager); } catch (WSDLException e) { throw new XFireRuntimeException("Error creating the WSDLBuilder", e); } } }