1 package org.codehaus.xfire.xmlbeans;
2
3 import javax.wsdl.WSDLException;
4
5 import org.codehaus.xfire.XFireRuntimeException;
6 import org.codehaus.xfire.service.Service;
7 import org.codehaus.xfire.transport.TransportManager;
8 import org.codehaus.xfire.wsdl11.WSDL11ParameterBinding;
9 import org.codehaus.xfire.wsdl11.builder.WSDLBuilder;
10 import org.codehaus.xfire.wsdl11.builder.WSDLBuilderFactory;
11
12 /***
13 */
14 public class XmlBeansWSDLBuilderFactory
15 implements WSDLBuilderFactory
16 {
17 public WSDLBuilder createWSDLBuilder(Service service,
18 WSDL11ParameterBinding paramBinding,
19 TransportManager transportManager)
20 {
21 try
22 {
23 return new XmlBeansWSDLBuilder(service, transportManager, paramBinding);
24 }
25 catch (WSDLException e)
26 {
27 throw new XFireRuntimeException("error creating wsdlbuilder", e);
28 }
29 }
30 }