Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the Web Service URL
Message
De
18/08/2010 16:02:41
 
 
À
18/08/2010 15:52:56
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01477089
Message ID:
01477148
Vues:
44
>>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.
>
>Yes, that would work. But, I am trying to keep with the default as this is the new way of doing things. There is probably a reason why Microsoft is pushing for that standard. I guess after a while, the old method will no longer be supported.


But you said you were trying to reference an .asmx web service ... if you are,then I don't think you should be mixing apples and oranges. If you want to go with the new way of doing things, then you should be using a WCF service, not an .asmx web service.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform