本文整理了Java中org.springframework.ws.client.core.WebServiceTemplate.setFaultMessageResolver()
方法的一些代码示例,展示了WebServiceTemplate.setFaultMessageResolver()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebServiceTemplate.setFaultMessageResolver()
方法的具体详情如下:
包路径:org.springframework.ws.client.core.WebServiceTemplate
类名称:WebServiceTemplate
方法名:setFaultMessageResolver
[英]Sets the fault resolver for this template. Default is the org.springframework.ws.soap.client.core.SoapFaultMessageResolver, but may be set to null to disable fault handling.
[中]设置此模板的故障解析程序。默认值是组织。springframework。ws。肥皂客户果心SoapFaultMessageResolver,但可以设置为null以禁用故障处理。
代码示例来源:origin: org.springframework.boot/spring-boot
@Override
public void customize(WebServiceTemplate webServiceTemplate) {
webServiceTemplate.setFaultMessageResolver(this.faultMessageResolver);
}
代码示例来源:origin: spring-projects/spring-integration
public void setFaultMessageResolver(FaultMessageResolver faultMessageResolver) {
Assert.state(!this.webServiceTemplateExplicitlySet,
() -> "'faultMessageResolver' must be specified on the provided: " + this.webServiceTemplate);
this.webServiceTemplate.setFaultMessageResolver(faultMessageResolver);
}
代码示例来源:origin: spring-projects/spring-ws
private void initFaultMessageResolver(DefaultStrategiesHelper helper) throws BeanInitializationException {
FaultMessageResolver faultMessageResolver = helper.getDefaultStrategy(FaultMessageResolver.class);
setFaultMessageResolver(faultMessageResolver);
}
代码示例来源:origin: apache/servicemix-bundles
private void initFaultMessageResolver(DefaultStrategiesHelper helper) throws BeanInitializationException {
FaultMessageResolver faultMessageResolver = helper.getDefaultStrategy(FaultMessageResolver.class);
setFaultMessageResolver(faultMessageResolver);
}
代码示例来源:origin: org.springframework.ws/spring-ws-core
private void initFaultMessageResolver(DefaultStrategiesHelper helper) throws BeanInitializationException {
FaultMessageResolver faultMessageResolver = helper.getDefaultStrategy(FaultMessageResolver.class);
setFaultMessageResolver(faultMessageResolver);
}
代码示例来源:origin: org.springframework.ws/org.springframework.ws
private void initFaultMessageResolver(DefaultStrategiesHelper helper) throws BeanInitializationException {
FaultMessageResolver faultMessageResolver = helper.getDefaultStrategy(FaultMessageResolver.class);
setFaultMessageResolver(faultMessageResolver);
}
代码示例来源:origin: com.consol.citrus/citrus-ws
getEndpointConfiguration().getWebServiceTemplate().setFaultMessageResolver(new InternalFaultMessageResolver(correlationKey, endpointUri, context));
内容来源于网络,如有侵权,请联系作者删除!