JBoss AS 7 webservices features
By JBossWS Team | July 7, 2011
JBoss Application Server 7 is highly configurable and allows for running different profiles , including one or more subsystems . The optional webservices subsystem is based on JBossWS-CXF 4.x .
JBoss AS7 users can turn on full webservices capabilities by enabling the org.jboss.as.webservices module extension and the webservices subsystem in their standalone.xml / domain.xml descriptors:
`
<server name="foo" xmlns="urn:jboss:domain:1.0">
<extensions>
[…]
<extension module="org.jboss.as.webservices"/>
[…]
</extensions>
[…]
<profile>
[…]
<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">
<wsdl-host>localhost</wsdl-host>
<modify-wsdl-address>true</modify-wsdl-address>
</subsystem>
[…]
</profile>
[…]
</server>
`
On JBoss AS 7 Final, the
webservices
extension / subsystem is already enabled and available in a separate domain configuration,
domain-preview.xml
/
standalone-preview.xml
. Users can run a given server configuration as follows:
`
./bin/standalone.sh -server-config standalone-preview.xml
`
Once the webservices capabilities are enabled, basic
JAXWS
features as well as advanced
WS-*
functionalities are available.
The JBossWS 4.x documentation covers all the details, including [full JAXWS user guide] (https://docs.jboss.org/author/display/JBWS/JAX-WS+User+Guide), JAXWS tooling and quick start sections.
Moreover, examples are also provided on advanced topics: