Exception in thread "main" java.lang.NullPointerException
at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:155)
at com.sun.tools.internal.ws.WsImport.main(WsImport.java:42)
Options (20)
| Option | Description | Source |
|---|
-d directory | Specifies where to place generated output files. | man |
-b path | Specifies external JAX-WS or JAXB binding files. | man |
-B jaxbOption | Passes the jaxbOption option to the JAXB schema compiler. | man |
-catalog | Specifies a catalog file to resolve external entity references. | man |
-extension | Allows vendor extensions. | man |
-help | Displays a help message for the wsimport command. | man |
-httpproxy host:port | Specifies an HTTP proxy server. | man |
-keep | Keeps generated files. | man |
-p name | Specifies a target package name to override the WSDL and schema binding customizations, and the default algorithm defined in the specification. | man |
-s directory | Specifies where to place generated source files. | man |
-verbose | Displays compiler messages. | man |
-version | Prints release information. | man |
-wsdllocation location | Specifies the @WebServiceClient.wsdlLocation value. | man |
-target | Generates code according to the specified JAX-WS specification version. | man |
-quiet | Suppresses the wsimport command output. | man |
-XadditionalHeaders | Maps headers not bound to a request or response message to Java method parameters. | man |
-Xauthfile file | The WSDL URI that specifies the file that contains authorization information. | man |
-Xdebug | Prints debugging information. | man |
-Xno-addressing-databinding | Enables binding of W3C EndpointReferenceType to Java. | man |
-Xnocompile | Does not compile the generated Java files. | man |
Examples (1) from the manual page, untested
wsimport -p stockquote http://stockquote.example.com/quote?wsdl
The following example generates the Java artifacts and compiles the artifacts by importing http://stockquote.example.com/quote?wsdl
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.