Fix split package between spring-ws-support and spring-ws-core

This commit moves the classes from the o.s.ws.transport.http and
o.s.ws.transport.support packages from spring-ws-support to
spring-ws-core. It turns out these classes don't bring extra
dependencies, which make the move quite straightforward.

Closes gh-1202
This commit is contained in:
Stéphane Nicoll
2025-03-11 14:52:22 +01:00
parent 1213ab4da8
commit 122def7e21
20 changed files with 5 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ws.transport.support;
package org.springframework.ws.transport.http.test;
import java.io.IOException;
import java.net.InetSocketAddress;

View File

@@ -6,7 +6,7 @@
<bean id="port"
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass"
value="org.springframework.ws.transport.support.FreePortScanner"/>
value="org.springframework.ws.transport.http.test.FreePortScanner"/>
<property name="targetMethod" value="getFreePort"/>
</bean>

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ws.transport.support;
package org.springframework.ws.transport.test;
import javax.xml.transform.Source;

View File

@@ -1,7 +0,0 @@
<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP-ENV:Body>
<m:GetLastTradePrice xmlns:m='http://www.springframework.org/spring-ws'>
<symbol>DIS</symbol>
</m:GetLastTradePrice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

View File

@@ -37,7 +37,7 @@
<property name="endpointMappings">
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping">
<property name="defaultEndpoint">
<bean class="org.springframework.ws.transport.support.EchoPayloadEndpoint"/>
<bean class="org.springframework.ws.transport.test.EchoPayloadEndpoint"/>
</property>
</bean>
</property>

View File

@@ -44,7 +44,7 @@
<property name="endpointMappings">
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping">
<property name="defaultEndpoint">
<bean class="org.springframework.ws.transport.support.EchoPayloadEndpoint"/>
<bean class="org.springframework.ws.transport.test.EchoPayloadEndpoint"/>
</property>
</bean>
</property>

View File

@@ -8,6 +8,4 @@
<suppress files="." checks="SpringMethodVisibility"/>
<suppress files=".+TransportConstants\.java" checks="InterfaceIsType"/>
<suppress files="spring-ws-support[\\/]src[\\/]main[\\/]java[\\/]org[\\/]springframework[\\/]ws[\\/]transport[\\/]http[\\/]" checks="JavadocPackage"/>
<suppress files="spring-ws-support[\\/]src[\\/]main[\\/]java[\\/]org[\\/]springframework[\\/]ws[\\/]transport[\\/]support[\\/]" checks="JavadocPackage"/>
</suppressions>