views:

223

answers:

2

Hi there,

Background - We are consuming a webservice issued by a telco operator. Any apps consuming their WS needs to be tested on their staging IP, and this creates an unpredictable overheads on our project timeline as the turnaround time of the operator varies case by case but usually long, without mentioning the red tapes one has to go thru.

Can we create a wrapper for this WS such that we only need to pass their staging test at once, after that any new apps will consume the service offer by this wrapper instead of coupling with their own copy of the WS calls?

So essentially it's a web service wrapping another web service, however they will be hosted on the same server.

I'm using VS2010 but the production server is an IIS6 on WS2K3.

When I create a new project in VS2010... shall I give WCF Service Application a try?

Or just stick to ASP.NET Web Application?

I have rule out the possibility to do it as a Windows Service but I could be wrong.

Any helps appreciated.

TIA

A: 

You could simply create a standalone Windows Forms desktop app and add a web reference to that web service.

thelost
+1  A: 

To expose a service to another applications (wrapping the staging WS), I would use WCF if in WS2003 has 3.5 Framework (or 4) installed. Using WCF you can expose many endpoints - such as TCP if it's affordable in your enviroment - and is the evolution of simple ASP.NET WebServices / Remoting.

I would try not to use Windows Services, since it's not flexible and can't be exposed as a service.

Erup
The web service will only be consumed locally within the same box. Any chance to avoid the serialize to XML and deserialize overhead in either case?
codemonkie
Thanks Erup.I have found the option to create an "ASP.NET Web Service Application" when NOT choosing .NET Framework 4.0 from the pull down tab in the "New Project" Windows. Think I'd stick to that one.In re WCF, my colleague is paranoid about it and I know nothing about it, boss is squeezing us to get things done, and I'm trying to get this done properly without being too much of a cowboy to avoid any backfires.
codemonkie
OK. If later, you will have more time, here goes my advise!
Erup