Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • It won't be obvious to a user what the supported pattern is. One exception, even though it has fault data (with getter/setter) is handled correctly while another is not. Running wsgen at development time is no help either, since this generates the schema based on the exception's getters without assuring that the corresponding setters exist in order to populate the exception during unmarshalling.
    • This seems an area for improvement, either by issuing warnings somewhere along the way or if we ever factor the Tuscany J2W functionality into a dev-time tool.
  • If you run W2J against the generated WSDL you will end up with a different exception class (which does follow the Sec 2.5 pattern). So your client/service programming model are different which might confuse the Java-centered programmer. You might even need to add a JAXB customization to get around some mapping quirks to generate the client, and you might see weird names like MyException_Exception.

...