Creating Service Contract Model

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Jul 24, 2008 at 6:30 AM
Hi,
Can anyone help me on understanding how to build Service Contract Model? I have followed everything on the Hands-on Lab Exercise 1 to 8 but when I'm trying now to create one of my own, I cannot do anymore the model. My problem is, I don't know exactly what should I put in my operation, message, fault shapes, and the likes. I want to create a service of one of my db tables (the basic CRUD). Are the Create, Read, Update and Delete would be the Operations of my Service Contract Model? Am I on the right track here? If I'm not, please, please save me from any agonies. Your response is really much appreciated. Thank you very much.


Regards
Jul 24, 2008 at 7:35 PM
Hi tulips28, the elements that each WSSF model provides represent the actual concepts concerning service development. So basically, once you have determined your service API, everything should fall into place inside the models. The following links will provide some insight for your scenario:


http://msdn.microsoft.com/en-us/library/ms954638.aspx

http://blogs.msdn.com/pathelland/archive/2007/06/12/every-noun-can-be-verbed.aspx

http://it.toolbox.com/blogs/the-soa-blog/soa-data-services-23515

Beware of the anti CRUD pattern.

Thanks