Chapter 16. Web Services Subsystem

16.1. Configure Web Services Options

The Web Services options can be configured using the Management Console or the Management CLI.
In the Management Console, click the Configuration tab at the top of the screen, expand the Subsystems menu and then expand the Web menu. Click on the Web Services menu item to configure the web services subsystem. The options are explained in the table below.

Table 16.1. Web Services Configuration Options

Option Description CLI Command
Modify WSDL Address
Whether the WSDL address can be modified by applications. Defaults to true.
/profile=full-ha/subsystem=webservices/:write-attribute(name=modify-wsdl-address,value=true)
WSDL Host
The WSDL contract of a JAX-WS Web Service includes a <soap:address> element which points to the location of the endpoint. If the value of <soap:address> is a valid URL, it is not overwritten unless modify-wsdl-address is set to true. If the value of <soap:address> is not a valid URL, it is overwritten using the values of wsdl-host and either wsdl-port or wsdl-secure-port. If wsdl-host is set to jbossws.undefined.host, the requester's host address is used when the <soap-address> is rewritten. Defaults to ${jboss.bind.address:127.0.0.1}, which uses 127.0.0.1 if no bind address is specified when JBoss EAP 6 is started.
/profile=full-ha/subsystem=webservices/:write-attribute(name=wsdl-host,value=127.0.0.1)
WSDL Port
The non-secure port that is used to rewrite the SOAP address. If this is not set (the default), the port is identified by querying the list of installed connectors.
/profile=full-ha/subsystem=webservices/:write-attribute(name=wsdl-port,value=80)
WSDL Secure Port
The secure port that is used to rewrite the SOAP address. If this is not set (the default), the port is identified by querying the list of installed connectors.
/profile=full-ha/subsystem=webservices/:write-attribute(name=wsdl-secure-port,value=443)

Note

You may need to change the profile to modify a different managed domain profile, or remove the /profile=full-ha part of the command for a standalone server.
Web Services Subsystem

To enable logging with Apache CXF, configure the following system property in standalone/domain.xml file:

<system-properties>
<property name="org.apache.cxf.logging.enabled" value="true"/>
</system-properties>