35 changed files with 82 additions and 477 deletions
@ -1,141 +0,0 @@
@@ -1,141 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.webservices.client; |
||||
|
||||
import java.time.Duration; |
||||
import java.util.function.Function; |
||||
import java.util.function.Supplier; |
||||
|
||||
import org.springframework.boot.http.client.ClientHttpRequestFactoryBuilder; |
||||
import org.springframework.boot.http.client.ClientHttpRequestFactorySettings; |
||||
import org.springframework.boot.http.client.JdkClientHttpRequestFactoryBuilder; |
||||
import org.springframework.boot.ssl.SslBundle; |
||||
import org.springframework.http.client.ClientHttpRequestFactory; |
||||
import org.springframework.util.Assert; |
||||
import org.springframework.ws.transport.WebServiceMessageSender; |
||||
|
||||
/** |
||||
* {@link WebServiceMessageSender} builder that can detect a suitable HTTP library based |
||||
* on the classpath. |
||||
* |
||||
* @author Stephane Nicoll |
||||
* @since 2.1.0 |
||||
* @deprecated since 3.4.0 in favor of |
||||
* {@link WebServiceMessageSenderFactory#http(ClientHttpRequestFactorySettings)} |
||||
*/ |
||||
@Deprecated(since = "3.4.0", forRemoval = true) |
||||
public class HttpWebServiceMessageSenderBuilder { |
||||
|
||||
private ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder; |
||||
|
||||
private ClientHttpRequestFactorySettings requestFactorySettings = ClientHttpRequestFactorySettings.defaults(); |
||||
|
||||
/** |
||||
* Set the connection timeout. |
||||
* @param connectTimeout the connection timeout |
||||
* @return the current builder instance |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTimeout) { |
||||
this.requestFactorySettings = this.requestFactorySettings.withConnectTimeout(connectTimeout); |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Set the read timeout. |
||||
* @param readTimeout the read timeout |
||||
* @return the current builder instance |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout) { |
||||
this.requestFactorySettings = this.requestFactorySettings.withReadTimeout(readTimeout); |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Set an {@link SslBundle} that will be used to configure a secure connection. |
||||
* @param sslBundle the SSL bundle |
||||
* @return the current builder instance |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle) { |
||||
this.requestFactorySettings = this.requestFactorySettings.withSslBundle(sslBundle); |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Set the {@code Supplier} of {@link ClientHttpRequestFactory} that should be called |
||||
* to create the HTTP-based {@link WebServiceMessageSender}. |
||||
* @param requestFactorySupplier the supplier for the request factory |
||||
* @return the current builder instance |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder requestFactory( |
||||
Supplier<ClientHttpRequestFactory> requestFactorySupplier) { |
||||
Assert.notNull(requestFactorySupplier, "'requestFactorySupplier' must not be null"); |
||||
this.requestFactoryBuilder = ClientHttpRequestFactoryBuilder.of(requestFactorySupplier); |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Set the {@code Function} of {@link ClientHttpRequestFactorySettings} to |
||||
* {@link ClientHttpRequestFactory} that should be called to create the HTTP-based |
||||
* {@link WebServiceMessageSender}. |
||||
* @param requestFactoryFunction the function for the request factory |
||||
* @return the current builder instance |
||||
* @since 3.0.0 |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder requestFactory( |
||||
Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactoryFunction) { |
||||
Assert.notNull(requestFactoryFunction, "'requestFactoryFunction' must not be null"); |
||||
this.requestFactoryBuilder = requestFactoryFunction::apply; |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Set the {@link ClientHttpRequestFactoryBuilder} to use when creating the HTTP-based |
||||
* {@link WebServiceMessageSender}. |
||||
* @param requestFactoryBuilder the {@link ClientHttpRequestFactoryBuilder} to use |
||||
* @return this builder instance |
||||
* @since 3.4.0 |
||||
*/ |
||||
public HttpWebServiceMessageSenderBuilder requestFactoryBuilder( |
||||
ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder) { |
||||
Assert.notNull(requestFactoryBuilder, "'requestFactoryBuilder' must not be null"); |
||||
this.requestFactoryBuilder = requestFactoryBuilder; |
||||
return this; |
||||
} |
||||
|
||||
/** |
||||
* Build the {@link WebServiceMessageSender} instance. |
||||
* @return the {@link WebServiceMessageSender} instance |
||||
*/ |
||||
public WebServiceMessageSender build() { |
||||
ClientHttpRequestFactoryBuilder<?> requestFactoryBuilder = getOrDetectRequestFactoryBuilder(); |
||||
return WebServiceMessageSenderFactory.http(requestFactoryBuilder, this.requestFactorySettings) |
||||
.getWebServiceMessageSender(); |
||||
} |
||||
|
||||
private ClientHttpRequestFactoryBuilder<?> getOrDetectRequestFactoryBuilder() { |
||||
if (this.requestFactoryBuilder != null) { |
||||
return this.requestFactoryBuilder; |
||||
} |
||||
ClientHttpRequestFactoryBuilder<?> builder = ClientHttpRequestFactoryBuilder.detect(); |
||||
if (builder instanceof JdkClientHttpRequestFactoryBuilder) { |
||||
// Same logic as earlier versions which did not support JDK client factories
|
||||
return ClientHttpRequestFactoryBuilder.simple(); |
||||
} |
||||
return builder; |
||||
} |
||||
|
||||
} |
||||
@ -1,73 +0,0 @@
@@ -1,73 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.webservices.client; |
||||
|
||||
import java.time.Duration; |
||||
|
||||
import org.eclipse.jetty.client.HttpClient; |
||||
import org.junit.jupiter.api.Test; |
||||
|
||||
import org.springframework.boot.testsupport.classpath.ClassPathExclusions; |
||||
import org.springframework.http.client.ClientHttpRequestFactory; |
||||
import org.springframework.http.client.JettyClientHttpRequestFactory; |
||||
import org.springframework.test.util.ReflectionTestUtils; |
||||
import org.springframework.ws.transport.WebServiceMessageSender; |
||||
import org.springframework.ws.transport.http.ClientHttpRequestMessageSender; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
|
||||
/** |
||||
* Tests for {@link HttpWebServiceMessageSenderBuilder} when Http Components is not |
||||
* available and, therefore, Jetty's client is used instead. |
||||
* |
||||
* @author Stephane Nicoll |
||||
* @deprecated since 3.4.0 for removal in 4.0.0 |
||||
*/ |
||||
@ClassPathExclusions("httpclient5-*.jar") |
||||
@SuppressWarnings("removal") |
||||
@Deprecated(since = "3.4.0", forRemoval = true) |
||||
class HttpWebServiceMessageSenderBuilderJettyClientIntegrationTests { |
||||
|
||||
private final HttpWebServiceMessageSenderBuilder builder = new HttpWebServiceMessageSenderBuilder(); |
||||
|
||||
@Test |
||||
void buildUseJettyClientIfHttpComponentsIsNotAvailable() { |
||||
WebServiceMessageSender messageSender = this.builder.build(); |
||||
assertJettyClientHttpRequestFactory(messageSender); |
||||
} |
||||
|
||||
@Test |
||||
void buildWithCustomTimeouts() { |
||||
WebServiceMessageSender messageSender = this.builder.setConnectTimeout(Duration.ofSeconds(5)) |
||||
.setReadTimeout(Duration.ofSeconds(2)) |
||||
.build(); |
||||
JettyClientHttpRequestFactory factory = assertJettyClientHttpRequestFactory(messageSender); |
||||
HttpClient client = (HttpClient) ReflectionTestUtils.getField(factory, "httpClient"); |
||||
assertThat(client).isNotNull(); |
||||
assertThat(client.getConnectTimeout()).isEqualTo(5000); |
||||
assertThat(factory).hasFieldOrPropertyWithValue("readTimeout", 2000L); |
||||
} |
||||
|
||||
private JettyClientHttpRequestFactory assertJettyClientHttpRequestFactory(WebServiceMessageSender messageSender) { |
||||
assertThat(messageSender).isInstanceOf(ClientHttpRequestMessageSender.class); |
||||
ClientHttpRequestMessageSender sender = (ClientHttpRequestMessageSender) messageSender; |
||||
ClientHttpRequestFactory requestFactory = sender.getRequestFactory(); |
||||
assertThat(requestFactory).isInstanceOf(JettyClientHttpRequestFactory.class); |
||||
return (JettyClientHttpRequestFactory) requestFactory; |
||||
} |
||||
|
||||
} |
||||
@ -1,75 +0,0 @@
@@ -1,75 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.webservices.client; |
||||
|
||||
import java.time.Duration; |
||||
|
||||
import io.netty.channel.ChannelOption; |
||||
import org.assertj.core.api.InstanceOfAssertFactories; |
||||
import org.junit.jupiter.api.Test; |
||||
import reactor.netty.http.client.HttpClient; |
||||
|
||||
import org.springframework.boot.testsupport.classpath.ClassPathExclusions; |
||||
import org.springframework.http.client.ClientHttpRequestFactory; |
||||
import org.springframework.http.client.ReactorClientHttpRequestFactory; |
||||
import org.springframework.ws.transport.WebServiceMessageSender; |
||||
import org.springframework.ws.transport.http.ClientHttpRequestMessageSender; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
|
||||
/** |
||||
* Tests for {@link HttpWebServiceMessageSenderBuilder} when Reactor Netty is the |
||||
* predominant HTTP client. |
||||
* |
||||
* @author Andy Wilkinson |
||||
* @deprecated since 3.4.0 for removal in 4.0.0 |
||||
*/ |
||||
@ClassPathExclusions({ "httpclient5-*.jar", "jetty-client-*.jar" }) |
||||
@SuppressWarnings("removal") |
||||
@Deprecated(since = "3.4.0", forRemoval = true) |
||||
class HttpWebServiceMessageSenderBuilderReactorClientIntegrationTests { |
||||
|
||||
private final HttpWebServiceMessageSenderBuilder builder = new HttpWebServiceMessageSenderBuilder(); |
||||
|
||||
@Test |
||||
void buildUsesReactorClientIfHttpComponentsAndJettyAreNotAvailable() { |
||||
WebServiceMessageSender messageSender = this.builder.build(); |
||||
assertReactorClientHttpRequestFactory(messageSender); |
||||
} |
||||
|
||||
@Test |
||||
void buildWithCustomTimeouts() { |
||||
WebServiceMessageSender messageSender = this.builder.setConnectTimeout(Duration.ofSeconds(5)) |
||||
.setReadTimeout(Duration.ofSeconds(2)) |
||||
.build(); |
||||
ReactorClientHttpRequestFactory factory = assertReactorClientHttpRequestFactory(messageSender); |
||||
assertThat(factory).extracting("httpClient", InstanceOfAssertFactories.type(HttpClient.class)) |
||||
.extracting((httpClient) -> httpClient.configuration().options(), InstanceOfAssertFactories.MAP) |
||||
.containsEntry(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000); |
||||
assertThat(factory).hasFieldOrPropertyWithValue("readTimeout", Duration.ofSeconds(2)); |
||||
} |
||||
|
||||
private ReactorClientHttpRequestFactory assertReactorClientHttpRequestFactory( |
||||
WebServiceMessageSender messageSender) { |
||||
assertThat(messageSender).isInstanceOf(ClientHttpRequestMessageSender.class); |
||||
ClientHttpRequestMessageSender sender = (ClientHttpRequestMessageSender) messageSender; |
||||
ClientHttpRequestFactory requestFactory = sender.getRequestFactory(); |
||||
assertThat(requestFactory).isInstanceOf(ReactorClientHttpRequestFactory.class); |
||||
return (ReactorClientHttpRequestFactory) requestFactory; |
||||
} |
||||
|
||||
} |
||||
@ -1,69 +0,0 @@
@@ -1,69 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.webservices.client; |
||||
|
||||
import java.time.Duration; |
||||
|
||||
import org.junit.jupiter.api.Test; |
||||
|
||||
import org.springframework.boot.testsupport.classpath.ClassPathExclusions; |
||||
import org.springframework.http.client.ClientHttpRequestFactory; |
||||
import org.springframework.http.client.SimpleClientHttpRequestFactory; |
||||
import org.springframework.ws.transport.WebServiceMessageSender; |
||||
import org.springframework.ws.transport.http.ClientHttpRequestMessageSender; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
|
||||
/** |
||||
* Tests for {@link HttpWebServiceMessageSenderBuilder} when no preferred HTTP clients are |
||||
* available |
||||
* |
||||
* @author Stephane Nicoll |
||||
* @deprecated since 3.4.0 for removal in 4.0.0 |
||||
*/ |
||||
@ClassPathExclusions({ "httpclient5-*.jar", "jetty-client-*.jar", "reactor-netty-http-*.jar" }) |
||||
@SuppressWarnings("removal") |
||||
@Deprecated(since = "3.4.0", forRemoval = true) |
||||
class HttpWebServiceMessageSenderBuilderSimpleIntegrationTests { |
||||
|
||||
private final HttpWebServiceMessageSenderBuilder builder = new HttpWebServiceMessageSenderBuilder(); |
||||
|
||||
@Test |
||||
void buildUseUseSimpleClientByDefault() { |
||||
WebServiceMessageSender messageSender = this.builder.build(); |
||||
assertSimpleClientRequestFactory(messageSender); |
||||
} |
||||
|
||||
@Test |
||||
void buildWithCustomTimeouts() { |
||||
WebServiceMessageSender messageSender = this.builder.setConnectTimeout(Duration.ofSeconds(5)) |
||||
.setReadTimeout(Duration.ofSeconds(2)) |
||||
.build(); |
||||
SimpleClientHttpRequestFactory requestFactory = assertSimpleClientRequestFactory(messageSender); |
||||
assertThat(requestFactory).hasFieldOrPropertyWithValue("connectTimeout", 5000); |
||||
assertThat(requestFactory).hasFieldOrPropertyWithValue("readTimeout", 2000); |
||||
} |
||||
|
||||
private SimpleClientHttpRequestFactory assertSimpleClientRequestFactory(WebServiceMessageSender messageSender) { |
||||
assertThat(messageSender).isInstanceOf(ClientHttpRequestMessageSender.class); |
||||
ClientHttpRequestMessageSender sender = (ClientHttpRequestMessageSender) messageSender; |
||||
ClientHttpRequestFactory requestFactory = sender.getRequestFactory(); |
||||
assertThat(requestFactory).isInstanceOf(SimpleClientHttpRequestFactory.class); |
||||
return (SimpleClientHttpRequestFactory) requestFactory; |
||||
} |
||||
|
||||
} |
||||
@ -1,77 +0,0 @@
@@ -1,77 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.webservices.client; |
||||
|
||||
import java.time.Duration; |
||||
|
||||
import org.junit.jupiter.api.Test; |
||||
|
||||
import org.springframework.http.client.ClientHttpRequestFactory; |
||||
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; |
||||
import org.springframework.http.client.SimpleClientHttpRequestFactory; |
||||
import org.springframework.ws.transport.WebServiceMessageSender; |
||||
import org.springframework.ws.transport.http.ClientHttpRequestMessageSender; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
import static org.mockito.Mockito.mock; |
||||
|
||||
/** |
||||
* Tests for {@link HttpWebServiceMessageSenderBuilder}. |
||||
* |
||||
* @author Stephane Nicoll |
||||
* @deprecated since 3.4.0 for removal in 4.0.0 |
||||
*/ |
||||
@SuppressWarnings("removal") |
||||
@Deprecated(since = "3.4.0", forRemoval = true) |
||||
class HttpWebServiceMessageSenderBuilderTests { |
||||
|
||||
@Test |
||||
void buildWithRequestFactorySupplier() { |
||||
ClientHttpRequestFactory requestFactory = mock(ClientHttpRequestFactory.class); |
||||
ClientHttpRequestMessageSender messageSender = build( |
||||
new HttpWebServiceMessageSenderBuilder().requestFactory(() -> requestFactory)); |
||||
assertThat(messageSender.getRequestFactory()).isSameAs(requestFactory); |
||||
} |
||||
|
||||
@Test |
||||
void buildWithReadAndConnectTimeout() { |
||||
ClientHttpRequestMessageSender messageSender = build( |
||||
new HttpWebServiceMessageSenderBuilder().requestFactory(SimpleClientHttpRequestFactory::new) |
||||
.setConnectTimeout(Duration.ofSeconds(5)) |
||||
.setReadTimeout(Duration.ofSeconds(2))); |
||||
SimpleClientHttpRequestFactory requestFactory = (SimpleClientHttpRequestFactory) messageSender |
||||
.getRequestFactory(); |
||||
assertThat(requestFactory).hasFieldOrPropertyWithValue("connectTimeout", 5000); |
||||
assertThat(requestFactory).hasFieldOrPropertyWithValue("readTimeout", 2000); |
||||
} |
||||
|
||||
@Test |
||||
void buildUsesHttpComponentsByDefault() { |
||||
ClientHttpRequestMessageSender messageSender = build( |
||||
new HttpWebServiceMessageSenderBuilder().setConnectTimeout(Duration.ofSeconds(5)) |
||||
.setReadTimeout(Duration.ofSeconds(5))); |
||||
ClientHttpRequestFactory requestFactory = messageSender.getRequestFactory(); |
||||
assertThat(requestFactory).isInstanceOf(HttpComponentsClientHttpRequestFactory.class); |
||||
} |
||||
|
||||
private ClientHttpRequestMessageSender build(HttpWebServiceMessageSenderBuilder builder) { |
||||
WebServiceMessageSender messageSender = builder.build(); |
||||
assertThat(messageSender).isInstanceOf(ClientHttpRequestMessageSender.class); |
||||
return ((ClientHttpRequestMessageSender) messageSender); |
||||
} |
||||
|
||||
} |
||||
@ -1,3 +1,3 @@
@@ -1,3 +1,3 @@
|
||||
# AutoConfigureWebServiceClient |
||||
org.springframework.boot.test.autoconfigure.webservices.client.WebServiceClientTemplateAutoConfiguration |
||||
org.springframework.boot.autoconfigure.webservices.client.WebServiceTemplateAutoConfiguration |
||||
org.springframework.boot.webservices.autoconfigure.client.WebServiceTemplateAutoConfiguration |
||||
|
||||
@ -1,2 +1,2 @@
@@ -1,2 +1,2 @@
|
||||
# AutoConfigureWebServiceServer auto-configuration imports |
||||
org.springframework.boot.autoconfigure.webservices.WebServicesAutoConfiguration |
||||
org.springframework.boot.webservices.autoconfigure.WebServicesAutoConfiguration |
||||
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
/* |
||||
* Copyright 2012-present the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the License); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* https://www.apache.org/licenses/LICENSE-2.0 |
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
|
||||
plugins { |
||||
id "java-library" |
||||
id "org.springframework.boot.auto-configuration" |
||||
id "org.springframework.boot.configuration-properties" |
||||
id "org.springframework.boot.deployed" |
||||
id "org.springframework.boot.optional-dependencies" |
||||
} |
||||
|
||||
description = "Spring Boot Web Services" |
||||
|
||||
dependencies { |
||||
api(project(":spring-boot-project:spring-boot")) |
||||
api("org.springframework:spring-oxm") |
||||
api("org.springframework.ws:spring-ws-core") |
||||
|
||||
optional(project(":spring-boot-project:spring-boot-autoconfigure")) |
||||
optional("jakarta.servlet:jakarta.servlet-api") |
||||
|
||||
testImplementation(project(":spring-boot-project:spring-boot-test")) |
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")) |
||||
testImplementation("org.eclipse.jetty:jetty-client") |
||||
|
||||
testRuntimeOnly("ch.qos.logback:logback-classic") |
||||
testRuntimeOnly("io.projectreactor.netty:reactor-netty-http") |
||||
testRuntimeOnly("org.apache.httpcomponents.client5:httpclient5") |
||||
} |
||||
7
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/webservices/client/WebServiceTemplateAutoConfiguration.java → spring-boot-project/spring-boot-webservices/src/main/java/org/springframework/boot/webservices/autoconfigure/client/WebServiceTemplateAutoConfiguration.java
7
spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/webservices/client/WebServiceTemplateAutoConfiguration.java → spring-boot-project/spring-boot-webservices/src/main/java/org/springframework/boot/webservices/autoconfigure/client/WebServiceTemplateAutoConfiguration.java
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
{ |
||||
"properties": [ |
||||
{ |
||||
"name": "spring.webservices.wsdl-locations", |
||||
"type": "java.util.List<java.lang.String>", |
||||
"description": "Comma-separated list of locations of WSDLs and accompanying XSDs to be exposed as beans." |
||||
} |
||||
] |
||||
} |
||||
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
org.springframework.boot.webservices.autoconfigure.WebServicesAutoConfiguration |
||||
org.springframework.boot.webservices.autoconfigure.client.WebServiceTemplateAutoConfiguration |
||||
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/webservices/WebServicesAutoConfigurationTests.java → spring-boot-project/spring-boot-webservices/src/test/java/org/springframework/boot/webservices/autoconfigure/WebServicesAutoConfigurationTests.java
2
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/webservices/WebServicesAutoConfigurationTests.java → spring-boot-project/spring-boot-webservices/src/test/java/org/springframework/boot/webservices/autoconfigure/WebServicesAutoConfigurationTests.java
14
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/webservices/client/WebServiceTemplateAutoConfigurationTests.java → spring-boot-project/spring-boot-webservices/src/test/java/org/springframework/boot/webservices/autoconfigure/client/WebServiceTemplateAutoConfigurationTests.java
14
spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/webservices/client/WebServiceTemplateAutoConfigurationTests.java → spring-boot-project/spring-boot-webservices/src/test/java/org/springframework/boot/webservices/autoconfigure/client/WebServiceTemplateAutoConfigurationTests.java
Loading…
Reference in new issue