本文整理了Java中org.springframework.ws.client.core.WebServiceTemplate.getDestinationProvider()
方法的一些代码示例,展示了WebServiceTemplate.getDestinationProvider()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebServiceTemplate.getDestinationProvider()
方法的具体详情如下:
包路径:org.springframework.ws.client.core.WebServiceTemplate
类名称:WebServiceTemplate
方法名:getDestinationProvider
[英]Returns the destination provider used on operations that do not have a URI parameter.
[中]返回在没有URI参数的操作上使用的目标提供程序。
代码示例来源:origin: spring-projects/spring-ws
/** Returns the destination provider used by the gateway. */
public final DestinationProvider getDestinationProvider() {
return webServiceTemplate.getDestinationProvider();
}
代码示例来源:origin: org.springframework.ws/org.springframework.ws
/** Returns the destination provider used by the gateway. */
public final DestinationProvider getDestinationProvider() {
return webServiceTemplate.getDestinationProvider();
}
代码示例来源:origin: org.springframework.ws/spring-ws-core
/** Returns the destination provider used by the gateway. */
public final DestinationProvider getDestinationProvider() {
return webServiceTemplate.getDestinationProvider();
}
代码示例来源:origin: apache/servicemix-bundles
/** Returns the destination provider used by the gateway. */
public final DestinationProvider getDestinationProvider() {
return webServiceTemplate.getDestinationProvider();
}
代码示例来源:origin: net.sf.itcb.common/itcb-common-client
public Object invoke(MethodInvocation arg0) throws Throwable {
if(arg0.getArguments().length != 1) {
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_NOT_CORRECT_INTERFACE, messageSource.getMessage("common-client.exception.not_correct_interface", new Object[] {arg0.getMethod()}, LocaleContextHolder.getLocale()));
}
try {
return getWebServiceTemplate().marshalSendAndReceive(arg0.getArguments()[0]);
}
catch (CommonItcbException cie) {
throw cie;
}
catch (SoapFaultClientException sfce) {
logger.error(sfce.getFaultCode(), sfce);
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination(), sfce.getMessage()}, LocaleContextHolder.getLocale()), sfce);
}
catch(java.lang.Throwable e) {
logger.error(e.getMessage(), e);
if(getInterceptors() != null) {
for (ClientInterceptorTransportExceptionListener clientInterceptor : clientInterceptorTransportExceptionListener) {
clientInterceptor.handleTransportException(e, arg0.getArguments()[0]);
}
}
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination(), e.getMessage()}, LocaleContextHolder.getLocale()), e);
}
}
代码示例来源:origin: net.sf.itcb.common/common-client
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination()}, LocaleContextHolder.getLocale()));
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination()}, LocaleContextHolder.getLocale()));
代码示例来源:origin: net.sf.itcb.common/itcb-common-client
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination(), sfce.getMessage()}, LocaleContextHolder.getLocale()), sfce);
throw new ClientItcbException(ClientItcbExceptionMappingErrors.COMMON_CLIENT_TECHNICAL_ERROR, messageSource.getMessage("common-client.exception.technical_error", new Object[] {arg0.getMethod(), getWebServiceTemplate().getDestinationProvider().getDestination(), e.getMessage()}, LocaleContextHolder.getLocale()), e);
内容来源于网络,如有侵权,请联系作者删除!