}
try {
if (LOG.isDebugEnabled()) {
LOG.debug("Executing DoExpressCheckoutPayment API call");
}
DoExpressCheckoutPaymentResponseType response = API
.doExpressCheckoutPayment(request, credentials);
if (LOG.isDebugEnabled()) {
LOG.debug("SetExpressCheckout API call returned ["
+ response.getAck() + "], building XML.");
}
writeObject(response, _response);
if (LOG.isDebugEnabled()) {
LOG.debug("XML written to Output Stream");
}