Bug 990159 - bin/wsconsume.sh help message needs correction
Summary: bin/wsconsume.sh help message needs correction
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web Services
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER3
: EAP 6.2.0
Assignee: Alessio Soldano
QA Contact: Rostislav Svoboda
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-30 13:49 UTC by Pavel Janousek
Modified: 2013-12-15 16:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:55:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Janousek 2013-07-30 13:49:58 UTC
Invocation of bin/wsconsume.sh without any parameter produces this help message:

[root@dev131 jbossas]# bin/wsconsume.sh 
Error: WSDL URL was not specified!
WSConsumeTask is a cmd line tool that generates portable JAX-WS artifacts from a WSDL file.

usage: org.jboss.ws.tools.cmd.WSConsume [options] <wsdl-url>

options: 
    -h, --help                  Show this help message
    -b, --binding=<file>        One or more JAX-WS or JAXB binding files 
    -k, --keep                  Keep/Generate Java source
    -c  --catalog=<file>        Oasis XML Catalog file for entity resolution
    -p  --package=<name>        The target package for generated source
    -w  --wsdlLocation=<loc>    Value to use for @WebService.wsdlLocation
    -o, --output=<directory>    The directory to put generated artifacts
    -s, --source=<directory>    The directory to put Java source
    -t, --target=<2.1|2.2>      The JAX-WS specification target
    -q, --quiet                 Be somewhat more quiet
    -v, --verbose               Show full exception stack traces
    -l, --load-consumer         Load the consumer and exit (debug utility)
    -e, --extension             Enable SOAP 1.2 binding extension
    -a, --additionalHeaders     Enable processing of implicit SOAP headers
    -n, --nocompile             Do not compile generated sources
[root@dev131 jbossas]#

Problematic part is 'usage: ...', there should be sth like (remove full package path to WSConsume task):
"usage: wsconsume [options] <wsdl-url>"

Or better there should be wsonsume.sh for UNIX-like shells and wsconsume.bat for Windows-like, but I'm not sure if it is possible there.

Comment 2 Rostislav Svoboda 2013-10-01 06:21:35 UTC
Verified on EAP 6.2.0 ER3


Note You need to log in before you can comment on or make changes to this bug.