* @throws Exception when the example fails (not at application level).
*/
void executeExample(String host, int port, String qpidHost, int qpidPort, String virtualHost, String username, String password, int initPoolCapacity, int maxPoolCapacity, long maxWaitTimeout) throws Exception
{
// 1) Creates an endpoint reference of the adapter service...
EndpointReference adapterEndpointReference = getAdapterEndpointReference(host, port);
WsResourceClient adapterClient = new WsResourceClient(adapterEndpointReference);
adapterClient.setTrace(true);
// 2) Creates the Adapter service client...
adapterClient.invoke(