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

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

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

WebServiceTemplate.getDefaultUri介绍

[英]Returns the default URI to be used on operations that do not have a URI parameter.
[中]返回在没有URI参数的操作上使用的默认URI。

代码示例

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

/** Returns the default URI used by the gateway. */
public final String getDefaultUri() {
  return webServiceTemplate.getDefaultUri();
}

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

/** Returns the default URI used by the gateway. */
public final String getDefaultUri() {
  return webServiceTemplate.getDefaultUri();
}

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

/** Returns the default URI used by the gateway. */
public final String getDefaultUri() {
  return webServiceTemplate.getDefaultUri();
}

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

/** Returns the default URI used by the gateway. */
public final String getDefaultUri() {
  return webServiceTemplate.getDefaultUri();
}

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

@Override
public <T> T sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageExtractor<T> responseExtractor) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseExtractor);
}

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

@Override
public <T> T sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageExtractor<T> responseExtractor) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseExtractor);
}

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

@Override
public boolean sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageCallback responseCallback) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseCallback);
}

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

@Override
public boolean sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageCallback responseCallback) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseCallback);
}

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

@Override
public <T> T sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageExtractor<T> responseExtractor) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseExtractor);
}

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

@Override
public boolean sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageCallback responseCallback) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseCallback);
}

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

public boolean sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageCallback responseCallback) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseCallback);
}

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

@Override
public Object marshalSendAndReceive(final Object requestPayload, final WebServiceMessageCallback requestCallback) {
  return marshalSendAndReceive(getDefaultUri(), requestPayload, requestCallback);
}

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

@Override
public Object marshalSendAndReceive(final Object requestPayload, final WebServiceMessageCallback requestCallback) {
  return marshalSendAndReceive(getDefaultUri(), requestPayload, requestCallback);
}

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

@Override
public Object marshalSendAndReceive(final Object requestPayload, final WebServiceMessageCallback requestCallback) {
  return marshalSendAndReceive(getDefaultUri(), requestPayload, requestCallback);
}

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

public <T> T sendAndReceive(WebServiceMessageCallback requestCallback,
               WebServiceMessageExtractor<T> responseExtractor) {
  return sendAndReceive(getDefaultUri(), requestCallback, responseExtractor);
}

代码示例来源:origin: org.apache.camel/camel-spring-ws

public String getEndpointUri() {
  if (endpointMappingKey != null) {
    // only for consumers, use lookup key as endpoint uri/key
    return encode(endpointMappingKey.getLookupKey());
  } else if (webServiceTemplate != null) {
    return webServiceTemplate.getDefaultUri();
  }
  return null;
}

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

public <T> T sendSourceAndReceive(String uri,
                  final Source requestPayload,
                  final WebServiceMessageCallback requestCallback,
                  final SourceExtractor<T> responseExtractor) {
  try {
    return doSendAndReceive(uri, createTransformer(), requestPayload, requestCallback, responseExtractor);
  }
  catch (TransformerConfigurationException ex) {
    throw new WebServiceTransformerException("Could not create transformer", ex);
  }
}

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

@Override
public <T> T sendSourceAndReceive(String uri,
                  final Source requestPayload,
                  final WebServiceMessageCallback requestCallback,
                  final SourceExtractor<T> responseExtractor) {
  try {
    return doSendAndReceive(uri, createTransformer(), requestPayload, requestCallback, responseExtractor);
  }
  catch (TransformerConfigurationException ex) {
    throw new WebServiceTransformerException("Could not create transformer", ex);
  }
}

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

@Override
public <T> T sendSourceAndReceive(String uri,
                  final Source requestPayload,
                  final WebServiceMessageCallback requestCallback,
                  final SourceExtractor<T> responseExtractor) {
  try {
    return doSendAndReceive(uri, createTransformer(), requestPayload, requestCallback, responseExtractor);
  }
  catch (TransformerConfigurationException ex) {
    throw new WebServiceTransformerException("Could not create transformer", ex);
  }
}

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

@Override
public <T> T sendSourceAndReceive(String uri,
                  final Source requestPayload,
                  final WebServiceMessageCallback requestCallback,
                  final SourceExtractor<T> responseExtractor) {
  try {
    return doSendAndReceive(uri, createTransformer(), requestPayload, requestCallback, responseExtractor);
  }
  catch (TransformerConfigurationException ex) {
    throw new WebServiceTransformerException("Could not create transformer", ex);
  }
}

相关文章

WebServiceTemplate类方法