More recent versions of HTTP components normalise an HTTPHost when it’s used to create an HTTPRoute. As part of this normalization the host’s port is set to the default port for the host’s scheme, e.g. an https scheme will result in a port of 443 and an http scheme will result in a port of 80 This commit updates the tests so that they will accept the behaviour of HTTP Components 4.3.x (the port is -1) and HTTP Components 4.5.x (the port is 80 for http and 443 for https). Compatibility with HTTP Components 4.5.x allows Spring Web Services’ tests to pass when they’re run as part of the Spring IO Platform 2.0 release process which uses a more recent version of HTTP components than the default Spring Web Services build.
Spring Web Services
Spring Web Services is a product of the Spring community focused on creating document-driven Web services. Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads.
Installation
Releases of Spring Web Services are available for download from Maven Central, as well as our own repository, http://repo.springsource.org/release.
For Maven users:
<repository>
<id>repository.spring.release</id>
<name>Spring GA Repository</name>
<url>http://repo.spring.io/release</url>
</repository>
...
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>2.1.4</version>
</dependency>
Snapshots
Nightly snapshots of Spring Web Services are available for download from our snapshot repository, http://repo.springsource.org/snapshot.
For Maven users:
<repository>
<id>repository.spring.snapshot</id>
<name>Spring Snapshot Repository</name>
<url>http://repo.spring.io/snapshot</url>
</repository>
...
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>2.2.0.BUILD-SNAPSHOT</version>
</dependency>
Building from Source
Spring Web Services uses a Gradle-based build system. In
the instructions below, ./gradlew is invoked
from the root of the source tree and serves as a cross-platform, self-contained
bootstrap mechanism for the build. The only prerequisites are
Git and JDK 1.7+.
check out sources
git clone git://github.com/spring-projects/spring-ws.git
compile and test, build all jars, distribution zips and docs
./gradlew build
install all spring-* jars into your local Maven cache
./gradlew install
... and discover more commands with ./gradlew tasks. See also the Gradle build and release FAQ.
Documentation
See the current Javadoc and reference docs.
Issue Tracking
Spring Web Services uses JIRA for issue tracking purposes
License
Spring Web Services is Apache 2.0 licensed.