Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the Web Service URL
Message
From
18/08/2010 15:42:57
 
 
To
18/08/2010 13:46:40
Michel Fournier (Online)
Level Extreme Inc.
Petit-Rocher, New Brunswick, Canada
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01477089
Message ID:
01477141
Views:
46
Michel,

To add the "old style" .asmx web references, in Step 2 of your listed steps, the "Add Service Reference" dialog, choose the "Advanced" button at the bottom left ... this will bring up another dialog ("Service Reference Settings"), and at the bottom of that dialog, there's a section titled "Compatibility" and an "Add Web Reference" button which will pop up yet another dialog that will look familiar ... here's where you can add the .asmx web reference the old way. This is probably what you want to do.

~~Bonnie



>>No, Michel - I just took your original code and looked for a way to add a url in the docs
>
>Ok, here are the steps to reproduce this:
>
>1. Create a Windows Service project
>2. Under Service References, right click "Add Service Reference"
>3. Choose your ASMX
>4. By default, this is no longer added as a Web Service but under some kind of new standard
>
>With that in hand, the instantiation of the object would then be related to the class recognized in the project based on what was added in the Solution Explorer. Using the new standard, I cannot change the URL.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform