org.springframework.ws.client.core.WebServiceTemplate.setDestinationProvider()方法的使用及代码示例

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

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

WebServiceTemplate.setDestinationProvider介绍

[英]Set the destination provider URI to be used on operations that do not have a URI parameter.

Typically, either this property is set, or #setDefaultUri(String), but not both.
[中]设置要在没有URI参数的操作上使用的目标提供程序URI。
通常,可以设置此属性,也可以设置#setDefaultUri(字符串),但不能同时设置这两个属性。

代码示例

代码示例来源:origin: spring-projects/spring-integration

public AbstractWebServiceOutboundGateway(DestinationProvider destinationProvider,
    WebServiceMessageFactory messageFactory) {
  Assert.notNull(destinationProvider, "DestinationProvider must not be null");
  this.webServiceTemplate = new WebServiceTemplate(messageFactory);
  this.destinationProvider = destinationProvider;
  // we always call WebServiceTemplate methods with an explicit URI argument,
  // but in case the WebServiceTemplate is accessed directly we'll set this:
  this.webServiceTemplate.setDestinationProvider(destinationProvider);
  this.uri = null;
}

代码示例来源:origin: spring-projects/spring-ws

/** Set the destination provider URI used by the gateway. */
public final void setDestinationProvider(DestinationProvider destinationProvider) {
  webServiceTemplate.setDestinationProvider(destinationProvider);
}

代码示例来源:origin: apache/servicemix-bundles

/** Set the destination provider URI used by the gateway. */
public final void setDestinationProvider(DestinationProvider destinationProvider) {
  webServiceTemplate.setDestinationProvider(destinationProvider);
}

代码示例来源:origin: org.springframework.ws/spring-ws-core

/** Set the destination provider URI used by the gateway. */
public final void setDestinationProvider(DestinationProvider destinationProvider) {
  webServiceTemplate.setDestinationProvider(destinationProvider);
}

代码示例来源:origin: org.springframework.ws/org.springframework.ws

/** Set the destination provider URI used by the gateway. */
public final void setDestinationProvider(DestinationProvider destinationProvider) {
  webServiceTemplate.setDestinationProvider(destinationProvider);
}

相关文章

WebServiceTemplate类方法