Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

You can see the WS-Addressing support in the javadoc. The most common use case is when implementing a server side handler wishing to process the current WS-Addressing context.

Here's some example code to show you how to do this

Wiki Markup
{snippet:id=wsServer|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/activesoap/src/test/org/codehaus/activesoap/policy/addressing/AddressingTest.java}

Things are similar on the client side - you need to create the MessageExchange instance first, then configure the WS-Addressing context on it before performing the client invocation.

Wiki Markup
{snippet:id=wsClient|lang=java|url=http://cvs.activesoap.codehaus.org/viewrep/~raw,r=HEAD/activesoap/activesoap/src/test/org/codehaus/activesoap/policy/addressing/AddressingTest.java}