Last post Aug 16, 2010 07:21 AM by Deleo
Jul 19, 2010 07:16 AM|saurabh.surana|LINK
I am working on a application which will accept the data in the post request. My application also wants to expose a web service and want to call another web service. Considering all these 3 action that
I want to do, can I create a single application which will have a web form which will accept the POST request and expose a web service at the same time.
Although it may be possible to achieve this, Is this a correct way of doing it?
Jul 20, 2010 04:27 AM|sivaram.gn|LINK
In general it will be easy to maintain if you have it as seperate application...
It will lead to loose couping and easy maintenance.. as you can modify your webservice without modifying your web appln or aspx pages and vice versa...
It also depends on how much dependency is there between the too..
Jul 22, 2010 12:45 AM|saurabh.surana|LINK
Both of them are highly dependant. The reason I thought of keeping them together is because I have one specific functionality (call) exposed through Post and everything else is through web service. And for that small piece of work I thought maintaining a separate application is
kind of too much.
Apart from the concern on ease of modification/mainitainace is there any technical reason that I should avoide having both of them together.
Doest HTTP REST and web service can be combined into one application?
Aug 05, 2010 09:22 PM|khambetekiran|LINK
Why you would want to have REST services and Web Services together, both of them are doing the same thing. In terms of compatibility with client both are eqaul (in fact RESTful services can address more range of client base).
So I would say forget about Web Services, Just implement REST services - with appropriate verbs (Get / Post, Put ).
Aug 16, 2010 07:21 AM|Deleo|LINK
yes, both rest and webservice can reside inside the same server :)