PDA

View Full Version : Spring-WS 1.0 M1 released


Arjen Poutsma
Jun 12th, 2006, 05:44 PM
Dear Spring community,

I'm pleased to announce that Spring Web Services 1.0 M1 has been released. 1.0 M1 is the first milestone of Spring-WS: a product of the Spring community focused on creating document-driven Web services.

Spring-WS 1.0 M1 includes a streaming SOAP message model based on Apache Axiom, WS-Security support that integrates with Acegi, JAXB 2.0 marshaller support, and many further improvements. It also contains numerous fixes for issues discovered since 0.9.1.

The main sample application in this release is an airline application, which shows the diverse ways of handling XML (including XML marshalling), and also contains an endpoint which uses a WS-Security Usertoken to authenticate against an Acegi authentication manager. The sample contains two clients: one in C# and one in Java, using SAAJ.

For more information, refer to the changelog (http://static.springframework.org/spring-ws/docs/1.0-m1/changelog.txt).

The release can be downloaded here (http://sourceforge.net/project/showfiles.php?group_id=73357&package_id=178569&release_id=424155).

The Spring-WS home page is here (http://www.springframework.org/spring-ws).

Cheers,

Arjen

routis
Jun 14th, 2006, 03:18 PM
Congratulations Arjen.

I would like, also, to report that I tested spring-oxm of this release with success against JaxMe (JAXB implementation from Apache) both outside and inside application server.

JDK: 1.4.2.08, 1.5
App. Servers: JOnAS 4, Tomcat 5, Weblogic 8.1, Oracle OC4J.

Definitely I will try the acegi integration.

res1st
Jun 16th, 2006, 04:35 AM
Hi!

I just looked at the improved airline example.
File: GetFrequentFlyerMileage

I think this line is wrong:

public static void main(String[] args) throws Exception {
String url = "http://localhost:8080/airline/Airline";

It think it should be:

public static void main(String[] args) throws Exception {
url = "http://localhost:8080/airline/Airline";

Does the C# client also include the ws-security information?

Cheers,

ingo

Arjen Poutsma
Jun 16th, 2006, 07:34 AM
Hi!

I just looked at the improved airline example.
File: GetFrequentFlyerMileage

I think this line is wrong:

public static void main(String[] args) throws Exception {
String url = "http://localhost:8080/airline/Airline";

It think it should be:

public static void main(String[] args) throws Exception {
url = "http://localhost:8080/airline/Airline";


Are you sure? The url is a non-static field, so that would not work. Also, it is a java.net.URL, and not a string. The field url is constructed using the String url though, in the constructor.


Does the C# client also include the ws-security information?


I do all c# development using Mono on a Mac, and WSE (the microsoft toolkit that adds ws-security support) doesn't run on Mono. So it does not contain support.

However, I did use a PC to write a WS-Security client, and that did work. I will add that client to the distribution next week. See http://opensource.atlassian.com/projects/spring/browse/SWS-30.

Cheers from a lovely SpringOne conference,

res1st
Jun 16th, 2006, 07:51 AM
Are you sure? The url is a non-static field, so that would not work. Also, it is a java.net.URL, and not a string. The field url is constructed using the String url though, in the constructor.
Well, it seems i posted to early in the morning. It's all correct, of course. :o

However, I did use a PC to write a WS-Security client, and that did work. I will add that client to the distribution next week. See http://opensource.atlassian.com/proj.../browse/SWS-30.

Thank you. I would welcome a short post as soon as it's available.
Cheers,

Ingo

Arjen Poutsma
Jun 23rd, 2006, 09:04 PM
However, I did use a PC to write a WS-Security client, and that did work. I will add that client to the distribution next week. See http://opensource.atlassian.com/projects/spring/browse/SWS-30.


The code has been added to subversion.

res1st
Jun 27th, 2006, 10:33 AM
The code has been added to subversion.
On sourceforge i only see the old code from the CVS repository.
How can i access the subversion repository?

Cheers,

Ingo

Arjen Poutsma
Jun 28th, 2006, 02:46 AM
You can do so here: [url]http://svn.sourceforge.net/viewcvs.cgi/springframework/spring-projects/trunk/spring-ws/[url]. Sadly, the viewing app doesn't appear to be very stable, but it works most of the time.

res1st
Jun 28th, 2006, 10:12 AM
You can do so here: [url]http://svn.sourceforge.net/viewcvs.cgi/springframework/spring-projects/trunk/spring-ws/[url].
Hmm, i can't access it (PROPFIND request failed). I've added our http proxy to TortoiseSVN.
Please, can someone else try to access it? Do i need an SourceForge account to login?

Sadly, the viewing app doesn't appear to be very stable, but it works most of the time.
As you know, some of the WS-* stuff is very new. I used WS-SecurityPolicy and WS-PolicyAttachment and hoped to generate nearly all code for a .NET-Client, but that didn't work. .NET (WSE 3.0) doesn't support WS-Policy at all. :(

I'm not very good at C#, that's why i'm interested at your hand made code. :)


Cheers,

Ingo

Arjen Poutsma
Jun 28th, 2006, 10:58 AM
The url I provided is for viewing the sources. If you want to check it out, use https://svn.sourceforge.net/svnroot/springframework/spring-projects/trunk/spring-ws. You don't need a SF login, just when you want to commit stuff.

res1st
Jun 28th, 2006, 11:31 AM
Thank you!

Web view url is down at the moment, but the svn access is working fine.
Cheers,

Ingo