Skip to content

Commit 056d36c

Browse files
committed
Changes for 2.0.0-M3
1 parent 9249538 commit 056d36c

File tree

8 files changed

+101
-18
lines changed

8 files changed

+101
-18
lines changed

archetype/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
<dependency>
1616
<groupId>org.springframework.ws</groupId>
1717
<artifactId>spring-oxm</artifactId>
18-
<version>2.0.0-M1</version>
18+
<version>2.0.0-M3</version>
1919
</dependency>
2020
<dependency>
2121
<groupId>org.springframework.ws</groupId>
2222
<artifactId>spring-ws-core</artifactId>
23-
<version>2.0.0-M1</version>
23+
<version>2.0.0-M3</version>
2424
</dependency>
2525
</dependencies>
2626
</project>

changelog.txt

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,42 @@ SPRING WEB SERVICES CHANGELOG
33
http://www.springframework.org/spring-ws
44

55

6+
Changes in version 2.0 Milestone 3
7+
----------------------------------
8+
9+
** Sub-task
10+
* [SWS-631] - Create Client-Side testing framework
11+
12+
** Improvement
13+
* [SWS-610] - Incompatibility with WS-I requirement R2750
14+
15+
** Task
16+
* [SWS-620] - Add the Spring-OXM jar to the "with dependencies" distribution
17+
* [SWS-624] - Documentation- explain that WSDL generation should better not be used in production
18+
19+
Changes in version 2.0 Milestone 2
20+
----------------------------------
21+
22+
** Bug
23+
* [SWS-613] - Jaxp13XPathTemplate uses thread-unsafe XPathFactory as field
24+
25+
** Improvement
26+
* [SWS-538] - Add support for XWSS 3.1
27+
28+
** New Feature
29+
* [SWS-193] - XwsSecurityInterceptor : funtionality for skipping the validate of a SOAP message when there are no WSSE headers in SOAP envelope.
30+
* [SWS-349] - Support @PayloadRoot annotation on methods with DOM, JDOM, DOM4J and XOM type method signatures
31+
* [SWS-351] - Arbitrary parameter injection for @Endpoints
32+
* [SWS-428] - XMPP support
33+
* [SWS-540] - Adding XML declaration to a response
34+
35+
** Task
36+
* [SWS-559] - Upgrade Spring Security to 3.0.2
37+
* [SWS-603] - Drop OXM chapter from ref docs
38+
* [SWS-604] - Upgrade XSD schemas
39+
640
Changes in version 2.0 Milestone 1
7-
------------------------
41+
----------------------------------
842

943
** Bug
1044
* [SWS-501] - Maven dependency for oxm 1.5.5.A non-existent version of Spring

notes.txt

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,64 @@
11
Dear Spring community,
22

3-
I'm pleased to announce that Spring Web Services 2.0 Milestone 1 has been
3+
I'm pleased to announce that Spring Web Services 2.0 Milestone 3 has been
44
released!
55

6-
This is the first milestone release in the 2.0 release cycle. It does not
7-
introduce any new features (yet), but does add the following:
6+
This is the third milestone release in the 2.0 release cycle. The most
7+
important new feature in this release is inclusion of a client-side
8+
Web service testing framework. This testing framework is very similar to
9+
EasyMock 2, offering a 'fluent' API for all you testing needs!
10+
For example:
811

9-
- Usage of Spring's OXM
10-
- Java 5 API (including generics, varargs, etc)
12+
import org.junit.Before;
13+
import org.junit.Test;
14+
import org.junit.runner.RunWith;
15+
import org.springframework.beans.factory.annotation.Autowired;
16+
import org.springframework.test.context.ContextConfiguration;
17+
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
18+
import org.springframework.xml.transform.StringSource;
19+
import static org.springframework.ws.mock.client.WebServiceMock.*;
1120

12-
Please see the changelog for details.
1321

14-
Spring Web Services 2.0 is due in the second quarter of 2010.
22+
@RunWith(SpringJUnit4ClassRunner.class)
23+
@ContextConfiguration("applicationContext.xml")
24+
public class IntegrationTest {
25+
26+
// AirlineClient extends WebServiceGatewaySupport, and is configured in applicationContext.xml
27+
@Autowired
28+
private MyWebServiceClient client;
29+
30+
@Before
31+
public void setUpMocks() throws Exception {
32+
mockWebServiceTemplate(client.getWebServiceTemplate());
33+
}
34+
35+
@Test
36+
public void getCustomerCount() throws Exception {
37+
Source requestPayload =
38+
new StringSource("<customerCountRequest xmlns='http://springframework.org/spring-ws/test' />";
39+
Source responsePayload = new StringSource("<customerCountResponse xmlns='http://springframework.org/spring-wstest'>" +
40+
"<customerCount>10</customerCount>" +
41+
"</customerCountResponse>");
42+
43+
expect(payload(requestPayload)).andRespond(withPayload(responsePayload));
44+
45+
// client.getCustomerCount() uses the WebServiceTemplate
46+
int customerCount = client.getCustomerCount();
47+
assertEquals(10, response.getCustomerCount());
48+
49+
verifyConnections();
50+
}
51+
}
52+
53+
The WebServiceMock API has a lot more features than I can describe here,
54+
I suggest you try out the new testing module today! Please leave feedback
55+
through JIRA or on the forums.
56+
57+
Many thanks to Lukáš Křečan for helping out with this testing framework. It
58+
would not have been possible without him.
59+
60+
Please see the changelog for more details.
61+
62+
Spring Web Services 2.0 is due in the third quarter of 2010.
1563

1664
For more information, see http://static.springframework.org/spring-ws/site/

parent/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
<distributionManagement>
1010
<downloadUrl>http://static.springframework.org/spring-ws/site/downloads/releases.html</downloadUrl>
1111
<repository>
12-
<id>local</id>
13-
<url>file:///Users/arjen/Projects/Spring/repos/repo</url>
12+
<id>spring-milestone</id>
13+
<name>Spring Milestone Repository</name>
14+
<url>s3://maven.springframework.org/milestone</url>
1415
</repository>
1516
<snapshotRepository>
1617
<id>spring-snapshot</id>

sandbox/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>spring-ws-parent</artifactId>
55
<groupId>org.springframework.ws</groupId>
6-
<version>2.0.0-M1-SNAPSHOT</version>
6+
<version>2.0.0-M3-SNAPSHOT</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<artifactId>spring-ws-sandbox</artifactId>

src/docbkx/tutorial.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
</para>
475475
<screen>mvn archetype:create -DarchetypeGroupId=org.springframework.ws \
476476
-DarchetypeArtifactId=spring-ws-archetype \
477-
-DarchetypeVersion=2.0.0-M1 \
477+
-DarchetypeVersion=2.0.0-M3 \
478478
-DgroupId=com.mycompany.hr \
479479
-DartifactId=holidayService
480480
</screen>
@@ -634,7 +634,7 @@ public class HolidayEndpoint extends AbstractJDomPayloadEndpoint {
634634
<dependency>
635635
<groupId>org.springframework.ws</groupId>
636636
<artifactId>spring-ws-core</artifactId>
637-
<version>2.0.0-M1</version>
637+
<version>2.0.0-M3</version>
638638
</dependency>
639639
<dependency>
640640
<groupId>jdom</groupId>

src/site/apt/downloads/releases.apt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Downloads
66

77
* Get the latest Spring Web Services releases here
88

9-
* <<Spring-WS 2.0.0 M1 is the current development release (JDK 1.5+)>>
9+
* <<Spring-WS 2.0.0 M3 is the current development release (JDK 1.5+)>>
1010

11-
* {{{http://www.springsource.com/download/community?project=Spring%20Web%20Services}Download}} | {{{http://static.springframework.org/spring-ws/docs/2.0.0-m1/changelog.txt}Changelog}} | {{{http://forum.springframework.org/showthread.php?t=85421}Announcement}}
11+
* {{{http://www.springsource.com/download/community?project=Spring%20Web%20Services}Download}} | {{{http://static.springframework.org/spring-ws/docs/2.0.0-m3/changelog.txt}Changelog}} | {{{http://forum.springframework.org/showthread.php?t=311787}Announcement}}
1212

1313

1414
* <<Spring-WS 1.5.9 is the current production release (JDK 1.4+)>>

src/site/apt/downloads/snapshots.apt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Snapshot Builds
2323
<dependency>
2424
<groupId>org.springframework.ws</groupId>
2525
<artifactId>spring-ws-core</artifactId>
26-
<version>2.0.0-M2-SNAPSHOT</version>
26+
<version>2.0.0-M3-SNAPSHOT</version>
2727
</dependency>
2828
+---------------
2929

0 commit comments

Comments
 (0)