de.jonashackt.tutorial.configuration.WebServiceConfiguration.springBus()方法的使用及代码示例

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

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

WebServiceConfiguration.springBus介绍

暂无

代码示例

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
  public Endpoint endpoint() {
    EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());
    endpoint.publish("/WeatherSoapService_1.0");
    endpoint.setWsdlLocation("Weather1.0.wsdl");
    return endpoint;
  }
}

代码示例来源:origin: stackoverflow.com

EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());
endpoint.publish("/WeatherSoapService");
return endpoint;

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  LoggingFeature logFeature = new LoggingFeature();
  logFeature.setPrettyLogging(true);
  logFeature.initialize(springBus());
  endpoint.getFeatures().add(logFeature);
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  endpoint.getOutFaultInterceptors().add(soapInterceptor());
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish("/WeatherSoapService_1.0");
  return endpoint;
}

代码示例来源:origin: jonashackt/tutorial-soap-spring-boot-cxf

@Bean
public Endpoint endpoint() {
  EndpointImpl endpoint = new EndpointImpl(springBus(), weatherService());        
  // CXF JAX-WS implementation relies on the correct ServiceName as QName-Object with
  // the name-Attribute´s text <wsdl:service name="Weather"> and the targetNamespace
  // "http://www.codecentric.de/namespace/weatherservice/"
  // Also the WSDLLocation must be set
  endpoint.setServiceName(weather().getServiceName());
  endpoint.setWsdlLocation(weather().getWSDLDocumentLocation().toString());
  endpoint.publish(SERVICE_URL);
  return endpoint;
}

相关文章