Guest User

Untitled

a guest
May 24th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2. ServiceCallResult cResult = null;
  3. try
  4. {
  5. cResult = new ServiceCallResult();
  6. string xmldirName = System.IO.Path.Combine(Server.MapPath("~"), "xml");
  7. cResult.Result = System.IO.File.ReadAllText(System.IO.Path.Combine(xmldirName, "BankersEdge.Messaging" + ".xml"));
  8. cResult.Success = true;
  9. }
  10. catch (Exception ex)
  11. {
  12. cResult.Result = ""; cResult.Message = GetFullException(ex);
  13. cResult.Success = false;
  14. }
  15. return cResult;
Add Comment
Please, Sign In to add comment