06 August 2007 - 1.7.5 | home user-guide eclipse jbossws intellij netbeans maven 1.X/2.X PDF files forums bugs sourceforge

Home
Getting Started
User Guide

- Overview
  - Tabbed Desktop
  - License Management
  - Preferences
  - XPath Selection
  - Script Library
- Workspaces
- Projects
- Interfaces
  - Interface Viewer
- Operations
- Working with Requests
  - Form Editor
  - Outline Editor
  - Message Inspectors
  - Attachments/Inline Files
- Functional Testing
  - Getting Started
  - TestSuites
  - TestCases
    - Test Requests
      - Assertions
      - Editor Wizards
    - Property Transfers
    - Conditional Gotos
    - Groovy Scripts
      - Examples
      - GroovyUtils
    - Properties Step
    - Delay Step
    - Mock Response
    - DataSource
    - DataSource Loop
  - Property Expansion
- Load Testing
  - Getting Started
  - Limit & Strategies
  - Execution
  - Assertions
  - Diagrams
  - JMeter comparison
- Mocking
  - Getting Started
  - Mock Services
  - Mock Operations
  - Mock Responses
- Usage Scenarios
  - Data-Driven Testing
  - Template-Driven Testing
  - Interactive Testing
  - Surveillance Testing
- Tool Integrations
  - Code Generation
  - WSDL Generation
  - WS-I Tools
  - Apache Tcp-Mon
- CommandLine Tools
  - TestCaseRunner
  - LoadTestRunner
  - MockServiceRunner
  - ToolRunner
- Keyboard shortcuts

IDE/Tool Plugins
Search soapUI site
Project Documentation

- About soapUI
- Project Info
- Project Reports

## Code Generation Tools

The following code generation tools have currently been integrated and are available from the main Tools menu or form the Interface right-button menu: JBossWS wstools, JBossWS wsconsume, JAX-RPC, JAX-WS, Axis 1.X, Axis 2, XFire 1.X, Oracle wsa, XmlBeans 2.X, JAXB 2.X, GSoap 2.X and .NET 2.0. Each integration has a number of tabs for configuring the corresponding tools options and adding arbitrary command-line arguments. If the tool is invoked from the Interface menu, relevant values will be pre-entered into the dialogs (WSDL url, Namespaces, etc.) and the integrations remember their settings, making it easy to rerun the desired tools if changes are made to the external source(s) or WSDL(s). If the WSDL for the current interface has been cached, an option will be available for using either the cached WSDL or the "online" WSDL. If selecting to use the cached WSDL, soapUI will first export the WSDL to a temporary directory and specify this location as the WSDL path. |  |

### Custom Arguments

All integrations have a "Custom args" tab allowing the specification of custom arguments to the invoked tool(s), for example those that are not supported by soapUI in intermediate versions (before we catch up :-). The following dialog for the XFire integration allows both cutsom args to java and to the WsGen tool itself:

### Running a tool

Once the tool is configured as required by its dialog, a "Generate" option will open a seperate window showing the input/output of the invoked tools process. During the process execution a "Cancel" button will be available for cancelling the ongoing process, otherwise a success/error message will be shown when the tool is finished. The log window will be available until it is closed allowing detailed viewing of the process output (for debugging purposes..). The following image shows the process runner window after a successfull invocation to the JWSDP wscompile tool:

### JBossWS wstools

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
JBossWS wstools | versions 1.0.X | JBossWS User Guide | Install the latest JBossWS stack and install/configure as required. Specify the directory containing the wstools script in the Tool Integrations settings dialog. The dialog has a "Show Config" button that displays the wstools config file generated for the current settings.

(Basic Options, click to enlarge)
(Show Config, click to enlarge)

### JBossWS wsconsume

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
JBossWS wstools | versions 1.0.X | JBossWS User Guide | Install the latest JBossWS 1.2 or newew stack and install/configure as required. Specify the directory containing the wstools script in the Tool Integrations settings dialog. The dialog has a "Show Config" button that displays the wstools config file generated for the current settings.

(Basic Options, click to enlarge)

### JWSDP JAX-RPC/wscompile

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
JWSDP JAX-RPC/wscompile, tested with versions 1.6 and 2.0 | tested with versions 1.6 and 2.0 | wscompile | Install the desired JWSDP version and install/configure as required. Specify the directory containing the wscompile script in the Tool Integrations settings dialog.

(Basic Options, click to enlarge)
(Features, click to enlarge)
(Advanced Options, click to enlarge)

### JWSDP JAX-WS/wsimport

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
JWSDP JAX-WS/wsimport, tested with versions 1.6 and 2.0 | tested with versions 1.6 and 2.0 | wsimport | Install the desired JWSDP version and specify the jaxws/bin directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)

### Apache Axis 1.X

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
Apache Axis 1.X | tested with versions 1.2.1, 1.3 and 1.4 | wsdl2java | Install Axis 1.X and specify the installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)
(Features, click to enlarge)

### Apache Axis 2

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
Apache Axis 2 | tested with 0.9X and 1.0 | wsdl2java | Install Axis 2 and specify the installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)
(Features, click to enlarge)

### XFire 1.X

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
XFire 1.X WsGen | tested with 1.X | WsGen | Install XFire 1.X and specify the installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)

### Oracle wsa

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
Oracle wsa.jar | tested with latest jdeveloper release | Oracle WebServices (PDF) | Install JDeveloper and specify <jdeveloper-root>/webservices/lib in soapUI Tool Integrations settings

(Basic Options, click to enlarge)

### XMLBeans 2.x

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
XMLBeans 2.X | tested with 2.X | scomp | Install XmlBeans 2.X and specify the installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)

### JAXB 2.x

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
JWSDP JAXB 2.0 | tested with JWSDP 2.0 | xjc | Install JWSDP as required and specify the jaxb\bin installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)

### GSoap 2.X

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
GSoap 2.X | tested with GSoap 2.7 on win32 | wsdl2h, soapcpp2 | Install GSoap as required and specify the installation directory in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)
(Features, click to enlarge)

### .NET 2.0

Tool | Version(s) | Documentation | Installation / Usage
--- | --- | --- | ---
.NET 2.0 | .NET 2.0 | wsdl.exe | Install Visual Studio and .NET 2.0 and specify the directory containing wsdl.exe in the soapUI Tool Integrations settings

(Basic Options, click to enlarge)
(Features, click to enlarge)
(Advanced Options, click to enlarge)

Next: WSDL Generation Tools