wsconnector

The wsconnector step generates client stub connectors for outbound web services from .wsdl files registered in the configuration file, <SERVER_DIR>/project/config/webservices_config.xml.

An example is shown in wsconnector

Figure 1. Example Web Services Configuration
<services>
  <service location=
    "components/<component_name>/wsdl/some_service/TopLevel.wsdl"
  />
</services>

The location attribute is the location of the top level WSDL file relative to the SERVER_DIR. This configuration file also gives the ability to turn a particular Web Service Connector on and off at will (bearing in mind that business code that accesses the connector would be affected by this). It is acceptable to have no service elements in this file.

The generated connector client stubs must not be treated as source. They are intended to be overwritten during each build, based on the WSDL files provided, to ensure the connectors are always synchronized with the web services they represent.