Class WSProvide

java.lang.Object
org.jboss.ws.tools.cmd.WSProvide

public class WSProvide extends Object
WSProvideTask is a cmd line tool that generates portable JAX-WS artifacts for a service endpoint implementation.
  usage: WSProvideTask [options] <endpoint class name>
  options: 
  
Author:
Jason T. Greene, Richard Opalka, Alessio Soldano
  • Field Details

    • PROGRAM_NAME

      public static final String PROGRAM_NAME
  • Method Details

    • setExitHandlerFactory

      public static void setExitHandlerFactory(ExitHandlerFactory factory)
      Tests call this BEFORE calling main() to inject TestExitHandlerFactory. Thread-safe: only affects the current thread.
      Parameters:
      factory - The concrete ExitHandlerFactory instance to use
    • resetExitHandlerFactory

      public static void resetExitHandlerFactory()
      Reset to default factory. Tests should call this in finally blocks to clean up.
    • main

      public static void main(String[] args)
-h, --help Show this help message
-k, --keep Keep/Generate Java source
-w, --wsdl Enable WSDL file generation
-c, --classpath=<path< The classpath that contains the endpoint
-o, --output=<directory> The directory to put generated artifacts
-r, --resource=<directory>The directory to put resource artifacts
-s, --source=<directory> The directory to put Java source
-a, --address=<address> The generated port soap:address in wsdl
-q, --quiet Be somewhat more quiet
-t, --show-traces Show full exception stack traces
-v, --verbose Show full exception stack traces
-l, --load-provider Load the provider and exit (debug utility)
-e, --extension Enable SOAP 1.2 binding extension