Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor spelling and English fixes, plus US spelling.

...

  • There are some obvious changes of package names from org.objectweb.celtix.* to org.apache.cxf.*. If you have used any celtixCeltix-specific non-JAX-WS APIs in your application (for example, using the Bus), then you will have must change imported package names.

...

Later, to get the bus, you can call:

Code Block
Bus bus = bf.getDefaultBus();

...

  • If you call getPort() on the client side, then you must specify the target namespace of the WSDL contract as the namespace of the port name, like this:

...

In Celtix you could leave the namespace of the port name as an empty string "". However, if you do that in CXF then , the call to getPort() will fail. This latter behaviour behavior is more in keeping with the JAX-WS specification (see Section 4.2.3 of the JAX-WS Specification).