4

When a generate my code with wsimport using a .net wsdl I've got extreme long exception classes like [servicename][operationname]FaultFaultFaultMessage.

I know how to rename each single exception but can I use a jaxb .xjb file to "template" all the exceptions at once?

Stijn Vanpoucke
  • 1,425
  • 3
  • 17
  • 30

1 Answers1

0

You have two options:

  1. Write a plugin for XJC.

  2. Use XSLT or XQuery to generate an .xjb file from the WSDL. You can use more than one .xjb file per xjc invocation.

Good luck.

JesperSM
  • 1,418
  • 1
  • 11
  • 15