groovy-wslite is a lightweight web service client library for Groovy that focuses on simplicity for HTTP/REST and SOAP interactions. It provides concise DSLs to build requests, set headers, add form/multipart bodies, and handle authentication without verbose boilerplate. Responses are easy to consume through Groovy’s idioms, with convenient parsing of JSON and XML plus access to raw streams when needed. SSL and proxy options are supported so scripts and tests can run against secured or corporate environments. Because it has minimal dependencies, it’s a popular choice for integration tests, admin scripts, and quick utilities that need to call web APIs. The library strikes a balance between expressiveness and control, giving you just enough surface area to be productive while staying unobtrusive.
Features
- Lightweight client for SOAP and REST calls
- Full control over message composition without stub generation
- Buffers entire request and response in memory
- Zero-stream, synchronous API design for ease of use
- Supports Groovy DSLs for concise scripting
- Apache 2.0 licensed with last release in April 2016