Let's work through the steps of defining access to a remote producer using the configuration portlet so that its portlets can be consumed within GateIn. You need to configure access to the Oracle's public WSRP producer. First, examine how to do so using the configuration portlet and then show how the same result can be accomplished with a producer descriptor, though it is far easier to do so via the configuration portlet.
Some WSRP producers do not support the chunked encoding that is activated by default by JBoss WS. If your
producer does not support the chunked encoding, your consumer will not be able to properly connect to the
producer. This will manifest itself with the following error:
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [503] - Service Unavailable
.
Please see the GateIn's
wiki page
for more details.