Microsoft Developer Network >
Forums Home
>
Commerce Server Forums
>
Commerce Server 2007
>
Placing webservice between CS site and CS database
Placing webservice between CS site and CS database
- Hi,
I have installed CS 2007 and created a new site. My site architecture is like
My site -----> CS Database
But I want to create a site like this
My site -----> Web service --------> CS Database
I want to remove the all references of CS from My site and put it in on Web service. Then after if I want to do any transaction like getting values from catalog or profile creation or login it has to go like,
My site --> Web service call --> Check CS references ---> Get values from CS database.
Can any one hlep me is it possible to do?
If yes, Please help me how to proceed?
Thanks in advance!
Regards,
Sakthivel.S
All Replies
- Hi Sakthivel
Don't think you are on to a valid architecture here. Putting a web service in front of your database will not give you a performant architecture. CS2009 abstracts all calls to the CS subsystem, using an entity model, and although you have not explained your needs, I am sure this will give you a much more future proof direction to go and the level of abstraction you need.
Hope this helps.
Regards
Glen (Software) Smith
CS2009 Training, Europe and North America: http://www.software-smith.com/
CS2007 book: http://www.software-smith.com/csbook- Proposed As Answer bySoftware-Smith Monday, October 26, 2009 11:56 AM
- Hi Sakthivel,
Distributed architecture is a feature of Commerce Server 2009 R2, which is currently avialable on CTP from MS Connect. One of the core features is the abstraction of the application layer so it can be exposed through WCF services, while still maintaining business logic for the Commerce application.
If you are currently not tied to the 2007 licence, I would advise you explore this version of the product as it would better suit your needs.
Thanks,
Lewis
Follow Me on Twitter: @LewisBenge Or check out my blog: http://www.geekswithblogs.com/pointtoshare/ Sakthivel,
I have done similar stuff where commerce server business calls are wrapped with WCF/web services (recommend WCF) and front end application (ASP.NET & Silverlight) consume them and the similar stuff is implemented in CS2009 R2. There will be little overhead on performance but the advantage we get is logical separation of layers and the other advantage we get is that we can write our custom web services which can be developed as per our UI requirements (not generic - this is very important) and can be tweak to get more performance.
Hope this helps.
Regards,
-Ravi Kanth Koppala
http://techblog.ravikanth.net (If this post answers your question - Either Mark this post as the answer or vote as being useful.)- Proposed As Answer byRavi Kanth KoppalaMVPMonday, October 26, 2009 1:04 PM

