Forum Discussion

Awesome's avatar
Awesome
Frequent Contributor
15 years ago

usage error when trying to run WSI-tool

i get the following usage error when trying to run the WSI tool.
i have the tool installed at the root C:\wsi-test-tools
and i added the WSI tool location to my windows system path.
thanks for your help!

---error---
Running WSI Analyzer for [SoapBinding]
directory: C:\wsi-test-tools\java\bin
command: [cmd.exe, /C, Analyzer, -config, C:\DOCUME~1\username\LOCALS~1\Temp\wsi-analyzer-config32704.xml, -assertionDescription, true]
Usage: java [-options] class [args...]
          (to execute a class)
  or  java [-options] -jar jarfile [args...]
          (to execute a jar file)

where options include:
    -client   to select the "client" VM
    -server   to select the "server" VM
    -hotspot   is a synonym for the "client" VM  [deprecated]
                  The default VM is client.
                 
    -cp
    -classpath
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D=
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:...|:]
    -enableassertions[:...|:]
                  enable assertions
    -da[:...|:]
    -disableassertions[:...|:]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:[=]
                  load native agent library , e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:[=]
                  load native agent library by full pathname
    -javaagent:[=]
                  load Java programming language agent, see java.lang.instrument
    -splash:
                  show splash screen with specified image

5 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    ok.. and have you set the wsi path in soapUI to C:\wsi-test-tools?

    regards!

    /Ole
    eviware.com
  • Awesome's avatar
    Awesome
    Frequent Contributor
    ok so it works in 2.5.2 build5/5/09

    but it does NOT work in 2.5.1 (same usage error as before).

    the preferences are the same for both 2.52 and 2.51. and they are both pointing to the same wsi tool...
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    Had you set the WSI_HOME system variable as required by the wsi tools? (soapUI 2.5.2 does this for you.. )

    regards!

    /Ole
    eviware.com
  • Awesome's avatar
    Awesome
    Frequent Contributor
    yup, i had 'WSI_HOME' set in the windows system path.

    i used 2.5.2 to run the ws-i, which worked fine. there's the "can't close" window bug in 2.5.2 which keeps me switching back to 2.51.

    http://www.eviware.com/forums/index.php?topic=1661.0

    i'll get my project file to you guys later to today so you can take a look.

    thanks for all the help!