The code looks good and an excellent use of comments. Kranthi has a change going into ESB where the response for invalid token will be proper JSON rather than XML. Is this accounted for in the code?
-- zqian: I have updated the JIRA for the proper JSON String: ""fault":{"code":900901,"message":"Invalid Credentials","description":"Access failure for API: /CurriculumAdmin/v1, version: v1 with key: e8690addfc4da25c7cf45381a181bfd. Make sure your have given the correct access token"}}"
The code looks good and an excellent use of comments. Kranthi has a change going into ESB where the response for invalid token will be proper JSON rather than XML. Is this accounted for in the code?
-- zqian: I have updated the JIRA for the proper JSON String: ""fault":{"code":900901,"message":"Invalid Credentials","description":"Access failure for API: /CurriculumAdmin/v1, version: v1 with key: e8690addfc4da25c7cf45381a181bfd. Make sure your have given the correct access token"}}"