option.setManageSession(true);
option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, cookie);
}
public ECResponse initExpressCheckout(String amount, String successUrl, String cancelUrl){
ECResponse response = null;
try {
response = stub.initExpressCheckout(amount, successUrl, cancelUrl);
System.out.println("response: " + response.getAck());
} catch (Exception e) {
log.error("Error occurred while initiating express checkout transaction: " +
e.getMessage());
}
return response;