Thanks Guy! This is what I was looking for. You saved my day.
I found that everything is working from AX UI but still giving errors from WMDP. So it should be either web services calls or the website code/solution deployed on IIS. My quest to root cause continues.