webservice proxy namespace

D

Daniel

hi ng!

i am developing an asp.net webservice with a test consumer and a
productive consumer.
now, if i import classes from test to prod, i have to change the
using localhost.xxx
stzatements for every project file, because the namespace under
localhost always depends on the client project.
so it would be a great benefit to determine the proxy namespace at the
service side.
is this possible?

thanks for your help,
d
 
S

Scott Allen

Hi Daniel:

You can't control it from the server, but you do have the option of
setting the namespace in the Add Web Reference dialog (the "Web
Reference name" text). If you gen code from the command line with
WSDL, the /n: param will let you set a namespace.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top