Registry / testing / spring-ws-test

spring-ws-test

JSON →
library5.0.1javamavenunverified

Provides testing support for Spring Web Services, including mock objects and utilities.

<dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws-test</artifactId> <version>5.0.1</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-WS-TEST
S
spring-ws-test
testingjavav5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MockWebServiceClient
org.springframework.ws.test.server.MockWebServiceClient

Minimal example to test a Spring Web Service endpoint using MockWebServiceClient.

import org.springframework.ws.test.server.MockWebServiceClient; import org.springframework.ws.test.server.RequestCreators; import org.springframework.ws.test.server.ResponseMatchers; public class WsTestExample { public static void main(String[] args) { MockWebServiceClient client = MockWebServiceClient.createClient(); client.sendRequest(RequestCreators.withPayload("<request/>")) .andExpect(ResponseMatchers.noFault()); System.out.println("Web service test executed."); } }
Debug
Known issues
breakingSpring WS Test 5.x requires Spring Framework 6.x and may have breaking changes from 4.x.
fix
Ensure your project uses Spring Framework 6.x when upgrading to Spring WS 5.x.
affects: >=5.0.0
Upgrade
Version history
5.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
spring-ws-test — mvn dependency:get spring-ws-test · libregistry