I have to create a WCF 4.0 (VS 2010) service (MyWCFService) which is both service (consumed from MS Dynamics AX) and client (will consume some external XML web service).
So basically the flow is:
-
MS Dynamics AX will call MyWCFService
-
MyWCFService call external XML web service
-
External XML web service return result to MyWCFService
-
MyWCFService return result to MS Dynamics AX
Are there some special consideration concerning this scenario which I should be aware of?
What about asynchronously consuming, should the client of my MyWCFService and the service itself make asynchronously calls?
Can you point me to some documentation which review/discuss this “middle man” service pattern?
Thanks!
The main thing that you need to watch out for here is the security and logging.
The worst case scenario is an open external web service, which accesses the MS Dynamics using an admin user. So that external unathorised users have full control of your backend system.