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, CXF 2.X, 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 sources or WSDLs.
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 WSD
Custom Arguments for Code Generation
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 custom 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 separate window showing the input or output of the invoked tools process. During the process execution a “Cancel” button will be available for canceling 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 successful invocation to the JWSDP WSCompile tool:
Track Test Performance As You Scale Your API Testing
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.
Install the desired JWSDP version and install/configure as required. Specify the directory containing the WSCompile script in the Tool Integrations settings dialog.