3
Pattern DDD.
I need to consume one Webservice external, treat the return of that Webservice and return the result through the layer of Application.
It would be interesting to consume this Webservice in the layer of Infrastructure and treat it as an external repository?
It would be interesting to consume this Webservice in the layer of Services?
DDD is focused on business and not technology. So whether or not the data comes from a web service is not relevant to determining where the web service will be consumed; what you should consider is the relevance of the data in the domain. Also, in DDD there is no "services layer". In DDD, service is a domain object type and not a layer. See: http://answall.com/q/49607/14584
– Caffé
In the Repository folder I create a project "Services".
– Júnior Pacheco