DDD - What is the best option (Layer) to consume an external WebService?

2

DDD Pattern.

I need to consume an external WebService , treat the return of this WebService and return the result through the Application layer.

Would it be interesting to consume this WebService in the Infrastructure layer and treat it as an external repository?

Would it be interesting to consume this WebService on the Services layer?

    
asked by anonymous 22.04.2015 / 14:58

1 answer

4
  

It would be interesting to consume this WebService in the Infrastructure layer and treat it as an external repository

I would use this way, in which you already give the answer in the question (get data is infra / repo) "

    
24.04.2015 / 14:29