Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Refer to the servicemix-wsn2005 for updated informations

...

We now use JAX-WS and JAXB 2.0 to create POJOs and interfaces for the common WS-* specifications like WS-Addressing, WS-Notification, WS-ReliableMessaging, WS-Resourceframework etc. The only downside of this approach is its Java 5 specific. We hope with a tool like Retroweaver can one day allow JAX-WS and JAXB 2.0 based code to work perfectly on Java 1.4 JVMs. For now if you want a solution for Java 1.4 we have the XMLBeans based solution you can try our previous effort of using XMLBeans.

Using JAXB / JAX-WS we create The wspojo module creates the POJOs and service interfaces for the common WS-* interfaces (WS-Notification, WS-RM, WS-Addressing, WS-Resource*). Here is the javadoc.

...

You can then publish WS-Notification messages as follows...

...

...

You can perform a subscription as follows

...

Runtime dependencies

Apart from the usual ActiveMQ and ServiceMix dependencies this implementation of WS-Notification depends on

...