* @return the capabilities of the server.
*/
public Capabilities getCaCapabilities(final String profile) {
LOGGER.debug("Determining capabilities of SCEP server");
// NON-TRANSACTIONAL
final GetCaCapsRequest req = new GetCaCapsRequest(profile);
final Transport trans = new HttpGetTransport(url);
try {
return trans.sendRequest(req, new GetCaCapsResponseHandler());
} catch (TransportException e) {
LOGGER.warn("Transport problem when determining capabilities. Using empty capabilities.");