Skip to content

Commit 5e64cd8

Browse files
committed
1 parent eb96454 commit 5e64cd8

File tree

7 files changed

+84
-21
lines changed

7 files changed

+84
-21
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
</build>
1414
<dependencies>
1515
<dependency>
16-
<groupId>org.springframework.ws</groupId>
16+
<groupId>org.springframework</groupId>
1717
<artifactId>spring-oxm</artifactId>
18-
<version>2.0.0-M1</version>
18+
<version>3.0.2.RELEASE</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-M2</version>
2424
</dependency>
2525
</dependencies>
2626
</project>

changelog.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@ SPRING WEB SERVICES CHANGELOG
33
http://www.springframework.org/spring-ws
44

55

6+
Changes in version 2.0 Milestone 2
7+
------------------------
8+
9+
** Bug
10+
* [SWS-613] - Jaxp13XPathTemplate uses thread-unsafe XPathFactory as field
11+
12+
** Improvement
13+
* [SWS-538] - Add support for XWSS 3.1
14+
15+
** New Feature
16+
* [SWS-193] - XwsSecurityInterceptor : funtionality for skipping the validate of a SOAP message when there are no WSSE headers in SOAP envelope.
17+
* [SWS-349] - Support @PayloadRoot annotation on methods with DOM, JDOM, DOM4J and XOM type method signatures
18+
* [SWS-351] - Arbitrary parameter injection for @Endpoints
19+
* [SWS-428] - XMPP support
20+
* [SWS-540] - Adding XML declaration to a response
21+
22+
** Task
23+
* [SWS-559] - Upgrade Spring Security to 3.0.2
24+
* [SWS-603] - Drop OXM chapter from ref docs
25+
* [SWS-604] - Upgrade XSD schemas
26+
627
Changes in version 2.0 Milestone 1
728
------------------------
829

notes.txt

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,58 @@
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 2 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 second milestone release in the 2.0 release cycle. The most
7+
important new feature in this release is the ability to use arbitrary parameter
8+
types in @Endpoint methods (similar to @Controller methods in Spring-MVC). The
9+
big improvement to the 1.5 @Endpoint model is that you can mix and match
10+
parameters, and are not as limited in the return types. This
11+
means, for instance, that you can have the following @Endpoint method:
812

9-
- Usage of Spring's OXM
10-
- Java 5 API (including generics, varargs, etc)
13+
@PayloadRoot(localPart = "myRequest", namespace = "http://example.com")
14+
@ResponsePayload
15+
public MyJaxb2Response handleMyRequest(@RequestPayload org.w3c.dom.Element myElement,
16+
SoapHeader requestHeader,
17+
MessageContext messageContext) {
1118

12-
Please see the changelog for details.
19+
// do something interesting here
20+
}
1321

14-
Spring Web Services 2.0 is due in the second quarter of 2010.
22+
Currently supported parameters/return types include:
23+
- DOM Elements (W3C DOM by default; JDOM, dom4j, XOM are enabled automatically
24+
if present on the classpath)
25+
- Types supported by an OXM Marshaller (requires an explicitely configured
26+
marshaller)
27+
- JAXB2 types, if JAXB2 is found on the classpath (this means you no longer
28+
have to configure a Jaxb2Marshaller explicitly)
29+
- javax.xml.transform.Source and subtypes
30+
31+
For the above parameters/return types, you will have to use
32+
@RequestPayload/@ResponsePayload, as shown in the sample above.
33+
34+
Supported parameters (not return types) include:
35+
- MessageContext
36+
- StAX readers
37+
- SoapHeader, SoapBody, SoapEvelope (of the request message)
38+
- @XPathParam parameters. Note that you can now use the @Namespace and
39+
@Namespaces annotations to specify any namespaces used in your XPath
40+
expressions, and no longer need to set them up in XML application contexts.
41+
For instance:
42+
43+
@Namespaces(@Namespace(prefix = "tns", uri = "http://springframework.org/spring-ws"))
44+
public void myEndpointMethod(@XPathParam("/tns:root")String s) {
45+
}
46+
47+
These namespace annotations can be present on the method, class, or package
48+
level (i.e. package-info.java).
49+
50+
In addition to the above, Spring-WS 2.0 M2 includes:
51+
- Support for Spring Security 3.0
52+
- XMPP transport
53+
54+
Please see the changelog for more details.
55+
56+
Spring Web Services 2.0 is due in the third quarter of 2010.
1557

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

readme.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SPRING WEB SERVICES 2.0 M1 (March 2010)
1+
SPRING WEB SERVICES 2.0 M2 (May 2010)
22
-------------------------------
33
http://www.springframework.org/spring-ws
44
http://forum.springframework.org/forumdisplay.php?f=39
@@ -36,27 +36,27 @@ The following distinct jar files are included in the distribution. This list spe
3636
third-party dependencies. Libraries in [brackets] are optional, i.e. just necessary for certain functionality. For an
3737
exact list of Spring-WS project dependencies see the respective Maven2 pom.xml files.
3838

39-
* spring-ws-core-2.0.0-M1.jar
39+
* spring-ws-core-2.0.0-M2.jar
4040
- Contents: The Spring-WS Core
4141
- Dependencies: Commons Logging, spring-beans, spring-core, spring-context, spring-oxm
4242
[Log4J, spring-web, spring-webmvc, SAAJ, JDOM, StAX, Servlet API, JAF, Axiom, DOM4J, XOM, WSDL4J]
4343

44-
* spring-ws-support-2.0.0-M1.jar
44+
* spring-ws-support-2.0.0-M2.jar
4545
- Contents: The Spring-WS Support
4646
- Dependencies: Commons Logging, spring-beans, spring-core, spring-context, spring-core
4747
[JMS, JavaMail]
4848

49-
* spring-ws-security-2.0.0-M1.jar
49+
* spring-ws-security-2.0.0-M2.jar
5050
- Contents: Spring-WS Security integration
5151
- Dependencies: Commons Logging, spring-beans, spring-core, spring-context, spring-ws-core
5252
[Log4J, xmlsdig, xmlsec, XWS-security, Acegi, WSS4J]
5353

54-
* spring-xml-2.0.0-M1.jar
54+
* spring-xml-2.0.0-M2.jar
5555
- Contents: Spring XML utility framework
5656
- Dependencies: Commons Logging, spring-beans, spring-core
5757
[StAX, Xalan, Jaxen]
5858

59-
* spring-ws-2.0.0-M1.jar
59+
* spring-ws-2.0.0-M2.jar
6060
- Contents: Convenient al-in-one jar containing all of the jars described above
6161

6262

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-M2-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-M2 \
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-M2</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 M2 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-m2/changelog.txt}Changelog}} | {{{http://forum.springframework.org/showthread.php?t=85421}Announcement}}
1212

1313

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

0 commit comments

Comments
 (0)