Tuesday, February 12, 2008

Tuscany SCA support for Relax-ws interfaces

Relax-ws is making the news, so to see what its like I've written a sandbox module giving Apache Tuscany SCA support for interfaces typed by .rws files. Relax-ws is an attempt to make SOA and Web services easier by providing a simple alternative to WSDL with a more programmer-friendly syntax.

Its easy to use, try it out with the helloworld sample in Apache Tuscany's recent 1.1 release, just replace the .wsdl file with the equivilent .rws file and add the runtime dependency for the new Tuscanny Relax WS module:

1) delete the helloworld.wsdl file in the samples\helloworld-ws-service\src\main\resources\wsdl folder and add a new helloworld.rws file with the following contents:

namespace http://helloworld

service HelloWorld {
port {
operation getGreetings {
in {
element name {xsd:string}
out {
element getGreetingsResponse {xsd:string}

2) add the following dependency for the new module to the sample/helloworld-ws-service pom.xml:


3) The .rws file generates a WSDL with a portType named "HelloWorldPort" instead of "HelloWorld" as in the old wsdl so update the helloworldws.composite to have "wsdl.interface(HelloWorldPort)"

Thats it! You can now use mvn to run the sample as described in the sample README file.

Wednesday, February 06, 2008

Apache Tuscany SCA 1.1 Release Announced

Tuscany team has just announced Java SCA 1.1 and it is now available for download on the Tuscany SCA Releases page.

The Apache Tuscany team are delighted to announce the 1.1 release of the Java SCA project.

Apache Tuscany provides a runtime environment based on the Service Component Architecture (SCA). SCA is a set of specifications aimed at simplifying SOA application development. These specifications are being standardized by OASIS as part of the Open Composite Services Architecture (Open CSA).

The Tuscany SCA Java 1.1 release adds a number of features including a JMS binding, improved policy support and an implementation extension for representing client side Javascript applications as SCA components.

There is also a nice post at InfoQ

InfoQ spoke with Jean-Sebastien Delfino and Luciano Resende, both from IBM, who contribute to the Apache Tuscany project.
InfoQ: What's coming ahead ?

JS: The Tuscany community will have to decide (as we're just getting 1.1 out) but I envision progress in the following areas:

* simpler and more complete SCA policy support
* more policies (making progress with the transaction policy)
* improved end-to-end SCA contribution / deployment / distribution story
* an SCA domain administration application
* integration with Geronimo (there's a prototype in the Geronimo sandbox)
* improvements of the Web 2.0 bindings (maybe using Apache Abdera for ATOM and adding cross-domain support to the JSONRPC binding)
* optimizations of the Tuscany databinding support
* more platform integration testing (Tomcat, Geronimo etc.)

Labels: , ,