GateIn provides a complete support of WSRP 1.0 standard interfaces and offers services to both consumers and producers. The WSRP support is provided by the following files, assuming $GATEIN_HOME is where GateIn has been installed, $WSRP_VERSION (at the time of the writing, it was 1.1.0-GA) is the version of the WSRP component and $PORTAL_VERSION (at the time of the writing, it was 3.0.1-GA) is the current GateIn version:
$GATEIN_HOME/wsrp-admin-gui.war
, which contains the WSRP Configuration portlet
with which you can configure consumers to access remote servers and how the WSRP producer is
configured.
$GATEIN_HOME/wsrp-producer.war
, which contains the WSRP producer web
application.
$GATEIN_HOME/lib/wsrp-common-$WSRP_VERSION.jar
, which contains common classes
needed by the different WSRP libraries.
$GATEIN_HOME/lib/wsrp-consumer-$WSRP_VERSION.jar
, which contains the WSRP
consumer.
$GATEIN_HOME/lib/wsrp-integration-api-$WSRP_VERSION.jar
, which contains the
API classes needed to integrate the WSRP component into portals.
$GATEIN_HOME/lib/wsrp-producer-lib-$WSRP_VERSION.jar
, which contains the classes
needed by the WSRP producer.
$GATEIN_HOME/lib/wsrp-wsrp1-ws-$WSRP_VERSION.jar
, which contains the generated
JAX-WS classes for WSRP v.1.
$GATEIN_HOME/lib/wsrp-wsrp2-ws-$WSRP_VERSION.jar
, which contains the generated
JAX-WS classes for WSRP version 2.
$GATEIN_HOME/lib/gatein.portal.component.wsrp-$PORTAL_VERSION.jar
, which
contains the code to integrate the WSRP service into GateIn.
If you are not going to use WSRP in GateIn, you can remove
$GATEIN_HOME/lib/gatein.portal.component.wsrp-$PORTAL_VERSION.jar
from your GateIn distribution to easily deactivate the
WSRP support. Of course, if you want to trim your
installation, you can also remove all the files mentioned above.
WSRP use when running GateIn on a non-default port or hostname
JBoss WS (the web service stack that GateIn uses), you need to pay attention to details of updating the port and host name used in WSDL. See the JBoss WS user guide on that subject for more details.
Of course, if you have modified the host name and port on which your server runs, you will need to update the configuration for the consumer used to consume GateIn's 'self' producer. Please refer to the Section 5.5, “Consuming remote WSRP portlets in GateIn” to learn how to do so.
Considerations to use WSRP with SSL
It is possible to use WSRP over SSL for secure exchange of data. Please refer to the instructions on how to do from GateIn's wiki.
See also