Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. try {
  2. JSONObject json = new JSONObject(result);
  3. String orderId = json.getString("orderId");
  4. String formUrl = json.getString("formUrl");
  5. log.info(transUID + " : orderId=" + orderId);
  6. log.info(transUID + " : formUrl=" + formUrl);
  7.  
  8. log.info("ecommTransaction--> " + transUID + " : calling saveEcommDetails");
  9. boolean resultSaveEcomDetails = getSoapSession().saveEcommDetails(transUID, "", orderId, "", "", "", "");
  10. log.info("ecommTransaction--> " + transUID + " : resultSaveEcomDetails: " + resultSaveEcomDetails);
  11.  
  12. page = "redirect:" + formUrl;
  13. log.info("ecommTransaction--> " + transUID + " : Output parsed");
  14. log.info("ecommTransaction--> " + transUID + " : Redirecting client to: " + formUrl);
  15. } catch (Exception e) {
  16. log.info("ecommTransaction--> " + transUID + " : error was occured : " + e.getMessage());
  17. page = JspView.Error;
  18. log.error(e.getMessage());
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement