{
    "content": [
        {
            "type": "text",
            "text": "# wsimport(1) (man)\n\n**Summary:** wsimport - Generates JAX-WS portable artifacts that can be packaged in a web application archive (WAR) file and provides an Ant task.\n\n**Synopsis:** wsimport [ options ] wsdl\noptions\nThe command-line options. See Options.\nwsdl   The file that contains the machine-readable description of how the web service can be\ncalled, what parameters it expects, and what data structures it returns.\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | Specifies a catalog file to resolve external entity references. The -catalog option supports the TR9401, XCatalog, and O |\n| — | — | — | Allows vendor extensions. Use of extensions can result in applications that are not portable or that do not work with ot |\n| — | — | — | Displays a help message for the wsimport command. -httpproxy: host:port Specifies an HTTP proxy server. The default is 8 |\n| — | — | — | Keeps generated files. -p name Specifies a target package name to override the WSDL and schema binding customizations, a |\n| — | — | — | Displays compiler messages. |\n| — | — | — | Prints release information. -wsdllocation location Specifies the @WebServiceClient.wsdlLocation value. |\n| — | — | — | Generates code according to the specified JAX-WS specification version. Version 2.0 generates compliant code for the JAX |\n| — | — | — | Suppresses the wsimport command output. Multiple JAX-WS and JAXB binding files can be specified using the -b option, and |\n\n## Examples\n\n- `The following example generates the Java artifacts and compiles the artifacts by importing`\n\n## See Also\n\n- wsgen(1)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (9 lines)\n- **DESCRIPTION** (19 lines) — 2 subsections\n  - /bin/wsimport.sh -help (2 lines)\n  - \\bin\\wsimport.bat -help (1 lines)\n- **OPTIONS** (13 lines) — 8 subsections\n  - -catalog (5 lines)\n  - -extension (3 lines)\n  - -help (5 lines)\n  - -keep (9 lines)\n  - -verbose (2 lines)\n  - -version (5 lines)\n  - -target (3 lines)\n  - -quiet (7 lines)\n- **NONSTANDARD OPTIONS** (1 lines) — 4 subsections\n  - -XadditionalHeaders (8 lines)\n  - -Xdebug (2 lines)\n  - -Xno-addressing-databinding (2 lines)\n  - -Xnocompile (2 lines)\n- **EXAMPLE** (1 lines) — 2 subsections\n  - http://stockquote.example.com/quote?wsdl (1 lines)\n  - wsimport -p stockquote http://stockquote.example.com/quote?w (1 lines)\n- **SEE ALSO** (14 lines)\n\n## Full Content\n\n### NAME\n\nwsimport - Generates JAX-WS portable artifacts that can be packaged in a web application\narchive (WAR) file and provides an Ant task.\n\n### SYNOPSIS\n\nwsimport [ options ] wsdl\n\n\noptions\nThe command-line options. See Options.\n\nwsdl   The file that contains the machine-readable description of how the web service can be\ncalled, what parameters it expects, and what data structures it returns.\n\n### DESCRIPTION\n\nThe wsimport command generates the following JAX-WS portable artifacts. These artifacts can\nbe packaged in a WAR file with the WSDL and schema documents and the endpoint implementation\nto be deployed. The wsimport command also provides a wsimport Ant task, see the Tools tab of\nthe Wsimport Ant Task page at http://jax-ws.java.net/nonav/2.1.1/docs/wsimportant.html\n\n• Service Endpoint Interface (SEI)\n\n• Service\n\n• Exception class is mapped from wsdl:fault (if any)\n\n• Async Response Bean is derived from response wsdl:message (if any)\n\n• JAXB generated value types (mapped java classes from schema types)\n\nTo start the wsgen command, do the following:\n\nOracle Solaris/Linux:\n\n#### /bin/wsimport.sh -help\n\nWindows:\n\n#### \\bin\\wsimport.bat -help\n\n### OPTIONS\n\n-d directory\nSpecifies where to place generated output files.\n\n-b path\nSpecifies external JAX-WS or JAXB binding files. Multiple JAX-WS and JAXB binding\nfiles can be specified with the -b option. You can use these files to customize\npackage names, bean names, and so on. For more information about JAX-WS and JAXB\nbinding files, see the Users Guide tab of WSDL Customization at http://jax-\nws.java.net/nonav/2.1.1/docs/wsimportant.html\n\n-B jaxbOption\nPasses the jaxbOption option to the JAXB schema compiler.\n\n#### -catalog\n\nSpecifies a catalog file to resolve external entity references. The -catalog option\nsupports the TR9401, XCatalog, and OASIS XML Catalog formats. See the Users Guide tab\nof the Catalog Support page at http://jax-ws.java.net/nonav/2.1.1/docs/catalog-\nsupport.html\n\n#### -extension\n\nAllows vendor extensions. Use of extensions can result in applications that are not\nportable or that do not work with other implementations.\n\n#### -help\n\nDisplays a help message for the wsimport command.\n\n-httpproxy: host:port\nSpecifies an HTTP proxy server. The default is 8080.\n\n#### -keep\n\nKeeps generated files.\n\n-p name\nSpecifies a target package name to override the WSDL and schema binding\ncustomizations, and the default algorithm defined in the specification.\n\n-s directory\nSpecifies where to place generated source files.\n\n#### -verbose\n\nDisplays compiler messages.\n\n#### -version\n\nPrints release information.\n\n-wsdllocation location\nSpecifies the @WebServiceClient.wsdlLocation value.\n\n#### -target\n\nGenerates code according to the specified JAX-WS specification version. Version 2.0\ngenerates compliant code for the JAX-WS 2.0 specification.\n\n#### -quiet\n\nSuppresses the wsimport command output.\n\nMultiple JAX-WS and JAXB binding files can be specified using the -b option, and they can be\nused to customize various things such as package names and bean names. More information about\nJAX-WS and JAXB binding files can be found in the customization documentation at https://jax-\nws.dev.java.net/nonav/2.1.1/docs/customizations.html\n\n### NONSTANDARD OPTIONS\n\n#### -XadditionalHeaders\n\nMaps headers not bound to a request or response message to Java method parameters.\n\n-Xauthfile file\nThe WSDL URI that specifies the file that contains authorization information. This URI\nis in the following format:\n\nhttp://user-name:password@host-name/web-service-name>?wsdl.\n\n#### -Xdebug\n\nPrints debugging information.\n\n#### -Xno-addressing-databinding\n\nEnables binding of W3C EndpointReferenceType to Java.\n\n#### -Xnocompile\n\nDoes not compile the generated Java files.\n\n### EXAMPLE\n\nThe following example generates the Java artifacts and compiles the artifacts by importing\n\n#### http://stockquote.example.com/quote?wsdl\n\n#### wsimport -p stockquote http://stockquote.example.com/quote?wsdl\n\n### SEE ALSO\n\n• wsgen(1)\n\n• The Tools tab of Wsimport Ant Task page http://jax-\nws.java.net/nonav/2.1.1/docs/wsimportant.html\n\n• The Users Guide tab of Catalog Support page http://jax-\nws.java.net/nonav/2.1.1/docs/catalog-support.html\n\n• The Users Guide tab of WSDL Customization page http://jax-\nws.java.net/nonav/2.1.1/docs/wsimportant.html\n\n\n\nJDK 8                                     21 November 2013                               wsimport(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "wsimport",
        "section": "1",
        "mode": "man",
        "summary": "wsimport - Generates JAX-WS portable artifacts that can be packaged in a web application archive (WAR) file and provides an Ant task.",
        "synopsis": "wsimport [ options ] wsdl\noptions\nThe command-line options. See Options.\nwsdl   The file that contains the machine-readable description of how the web service can be\ncalled, what parameters it expects, and what data structures it returns.",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies a catalog file to resolve external entity references. The -catalog option supports the TR9401, XCatalog, and OASIS XML Catalog formats. See the Users Guide tab of the Catalog Support page at http://jax-ws.java.net/nonav/2.1.1/docs/catalog- support.html"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Allows vendor extensions. Use of extensions can result in applications that are not portable or that do not work with other implementations."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Displays a help message for the wsimport command. -httpproxy: host:port Specifies an HTTP proxy server. The default is 8080."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Keeps generated files. -p name Specifies a target package name to override the WSDL and schema binding customizations, and the default algorithm defined in the specification. -s directory Specifies where to place generated source files."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Displays compiler messages."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prints release information. -wsdllocation location Specifies the @WebServiceClient.wsdlLocation value."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Generates code according to the specified JAX-WS specification version. Version 2.0 generates compliant code for the JAX-WS 2.0 specification."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Suppresses the wsimport command output. Multiple JAX-WS and JAXB binding files can be specified using the -b option, and they can be used to customize various things such as package names and bean names. More information about JAX-WS and JAXB binding files can be found in the customization documentation at https://jax- ws.dev.java.net/nonav/2.1.1/docs/customizations.html"
            }
        ],
        "examples": [
            "The following example generates the Java artifacts and compiles the artifacts by importing"
        ],
        "see_also": [
            {
                "name": "wsgen",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/wsgen/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 19,
                "subsections": [
                    {
                        "name": "/bin/wsimport.sh -help",
                        "lines": 2
                    },
                    {
                        "name": "\\bin\\wsimport.bat -help",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 13,
                "subsections": [
                    {
                        "name": "-catalog",
                        "lines": 5
                    },
                    {
                        "name": "-extension",
                        "lines": 3
                    },
                    {
                        "name": "-help",
                        "lines": 5
                    },
                    {
                        "name": "-keep",
                        "lines": 9
                    },
                    {
                        "name": "-verbose",
                        "lines": 2
                    },
                    {
                        "name": "-version",
                        "lines": 5
                    },
                    {
                        "name": "-target",
                        "lines": 3
                    },
                    {
                        "name": "-quiet",
                        "lines": 7
                    }
                ]
            },
            {
                "name": "NONSTANDARD OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-XadditionalHeaders",
                        "lines": 8
                    },
                    {
                        "name": "-Xdebug",
                        "lines": 2
                    },
                    {
                        "name": "-Xno-addressing-databinding",
                        "lines": 2
                    },
                    {
                        "name": "-Xnocompile",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "EXAMPLE",
                "lines": 1,
                "subsections": [
                    {
                        "name": "http://stockquote.example.com/quote?wsdl",
                        "lines": 1
                    },
                    {
                        "name": "wsimport -p stockquote http://stockquote.example.com/quote?wsdl",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 14,
                "subsections": []
            }
        ]
    }
}