views:

10

answers:

0

Hi. I have an ASP.NET Win Form application that uses several web services in order to access the database. I would like to be able to add several services under the same namespace. So for example, I have 2 services:

  1. Content.asmx
  2. Website.asmx

When I add these items to my consumer project using the automatic discovery, I am forced to give each it's own namespace. For example,

  1. DAL.Content
  2. DAL.Website

Afterwards, when I try to access the services I am always left with having the service name repeated such as:

  1. DAL.Content.Content.Method1()
  2. DAL.Website.Website.Method1()

I would like to be able to add them under the same namespace, DAL, so I do not have to use the service name twice in the caller. Something like:

  1. DAL.Content.Method1()
  2. DAL.Website.Method1()

Is this possible? Thanks