Skip navigation
2005

Thomas Diesler's Blog

July 2005 Previous month Next month

The JBossWS project has released an early access version of its JAXRPC stack. After JBoss J2EE-1.4 certification in Jun/2004 we have decided to develop our own SOAP stack that is independent of the Apache Axis project, fits better in the overall JBoss architecture and is geared towards the specific J2EE needs for web services.

In J2EE-5.0, web services will have support for JAXRPC-2.0, JAXB-2.0, SOAP-1.2, BasicProfile-1.1, etc. For a full list see the JBossWS Wiki.

JBossWS currently support these standard J2EE-1.4 features:

  • RPC style endpoints
  • Document style endpoints (wrapped and unwrapped)
  • SOAP header values bound/unbound to endpoint parameters
  • J2EE endpoint deployment model for EJB and Java
  • J2EE client deployment model
  • Dynamic Invocation Interface (DII)
  • JAXRPC client/server side handlers
  • Holders for INOUT/OUT parameters


In its early access, JBossWS also supports:

  • Message style endpoints
  • Attachments Profile Version 1.0
  • Dynamic client/server side handler injection
  • XML Encryption on the SOAP message
  • XML Signature on the SOAP message
  • Standard Web Service Metadata as annotations (JSR-181)


Security is of high importance in mission crital web service applications. JBossWS adds support for this in its early access.

The last bullet point may also deserve special attention. Prior to JSR-181 annotations, you would develop a service endpoint interface (SEI), its associated implementation and the plethora of required XML descriptors.

With JBossWS you simply code:

   /** Test the JSR-181 annotation: javax.jws.WebService

    */

   @WebService(

      name = "EndpointInterface", 

      targetNamespace = "http://www.openuri.org/2004/04/HelloWorld", 

      serviceName = "TestService")

   @PortComponent(contextRoot="/jsr181", urlPattern="/*")

   @Stateless

   public class EJB3Bean01 

   {

      @WebMethod

      public String echo(String input)

      {

         return input;

     }

  }



End of story. JBossWS deployes a web service endpoint that is targeted to this EJB3 stateless session bean and generates the associated abstract contract (WSDL) dynamically. JSR-181 annotated endpoints work for EJB-2.1, EJB-3.0, Pojo endpoints.

Here you find instructions on howto get started with JBossWS.

By the end of Q3/2005 we hope to deliver JBossWS-1.0 final release that passes our internal testsuite for the JBoss-4.0 stack and the >2200 web service tests that come with Sun's Compatibility Test Suite (CTS).

On the JBossWS Roadmap we have partly accomplished or scheduled support for:



That's all from me, enjoy the summer.

----------------
Thomas Diesler
Web Service Lead
JBoss Inc.