org.apache.cxf.wsdl11.WSDLServiceFactory.getBus()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(212)

本文整理了Java中org.apache.cxf.wsdl11.WSDLServiceFactory.getBus()方法的一些代码示例,展示了WSDLServiceFactory.getBus()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WSDLServiceFactory.getBus()方法的具体详情如下:
包路径:org.apache.cxf.wsdl11.WSDLServiceFactory
类名称:WSDLServiceFactory
方法名:getBus

WSDLServiceFactory.getBus介绍

暂无

代码示例

代码示例来源:origin: org.apache.cxf/cxf-rt-core

public WSDLServiceFactory(Bus b, String url, QName sn) {
  setBus(b);
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
  serviceName = sn;
}

代码示例来源:origin: apache/cxf

public WSDLServiceFactory(Bus b, String url) {
  setBus(b);
  wsdlUrl = url;
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
}

代码示例来源:origin: apache/cxf

public WSDLServiceFactory(Bus b, String url, QName sn) {
  setBus(b);
  wsdlUrl = url;
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
  serviceName = sn;
}

代码示例来源:origin: org.apache.cxf/cxf-rt-core

public WSDLServiceFactory(Bus b, String url) {
  setBus(b);
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
}

代码示例来源:origin: org.apache.cxf/cxf-rt-core

public WSDLServiceFactory(Bus b, URL url) {
  setBus(b);
  wsdlUrl = url;
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(wsdlUrl);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
}
public WSDLServiceFactory(Bus b, String url) {

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

public WSDLServiceFactory(Bus b, URL url) {
  setBus(b);
  wsdlUrl = url;
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(wsdlUrl);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
}
public WSDLServiceFactory(Bus b, String url) {

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

public WSDLServiceFactory(Bus b, String url) {
  setBus(b);
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
}

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

public WSDLServiceFactory(Bus b, String url, QName sn) {
  setBus(b);
  try {
    // use wsdl manager to parse wsdl or get cached definition
    definition = getBus().getExtension(WSDLManager.class).getDefinition(url);
  } catch (WSDLException ex) {
    throw new ServiceConstructionException(new Message("SERVICE_CREATION_MSG", LOG), ex);
  }
  serviceName = sn;
}

代码示例来源:origin: apache/cxf

if (serviceName == null) {
  try {
    WSDLServiceBuilder builder = new WSDLServiceBuilder(getBus());
    builder.setAllowElementRefs(allowRefs);
    services = builder.buildServices(definition);
    services = new WSDLServiceBuilder(getBus()).buildServices(definition,
                                 wsdlService,
                                 endpointName);

代码示例来源:origin: org.apache.cxf/cxf-rt-core

if (serviceName == null) {
  try {
    WSDLServiceBuilder builder = new WSDLServiceBuilder(getBus());
    builder.setAllowElementRefs(allowRefs);
    services = builder.buildServices(definition);
    services = new WSDLServiceBuilder(getBus()).buildServices(definition, 
                                 wsdlService,
                                 endpointName);

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

if (serviceName == null) {
  try {
    WSDLServiceBuilder builder = new WSDLServiceBuilder(getBus());
    builder.setAllowElementRefs(allowRefs);
    services = builder.buildServices(definition);
    services = new WSDLServiceBuilder(getBus()).buildServices(definition, 
                                 wsdlService,
                                 endpointName);

相关文章