|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Replacing WEB Reference with Project ReferenceI currently have a project that references a WEB Service. I neen to reuse
this project but instead of calling a WEB Service I need it to call a standard project that has the same definitions as the WEB Service (i.e remove the web service and reference a standard object definition). I don't want to have 2 versions of the same code but beable to select whether to use the Web Service or the object at compile time. Currently the projects namespace is 'EPoS.BusinessRules' and the Web Service is included as a Web Reference and thus has a namespace of 'EPoS.BusinessRules.PoS' with and object of 'PosTools'. SO instansiate the Web Service call I call EPoS.BusinessRules.Pos.PosTools tools = new EPoS.BusinessRules.Pos.PosTools(); Thanks Ken |
|||||||||||||||||||||||