I’m working on designing an SOA structure to consolidate numerous WCF webservices. In my experience whenever using web services we are limited to a very flat structure:
WebService - http://ift.tt/1GAryif
- Operation1
- Operation2
- etc.
So, in the example above we have a service which has a collection of operations available.
However, we would like a much more hierarchical structure to the operations available. For example:
WebService - http://ift.tt/1GAryif
The reason for wanting this is so that we can use dot notation at the client side when coding calls to the service, for example:
- myService.Clients.CreateClient(params)
- myService.Clients.Documents.GetDocumentsForClient(params)
- myService.Products.CreateProduct(params)
Could anyone suggest whether this is possible at all?
Aucun commentaire:
Enregistrer un commentaire