Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consume C# WS in C# App
Message
 
À
16/03/2008 16:49:54
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01302443
Message ID:
01302518
Vues:
8
>>One thing I don't understand is that I have created a simple WS, and I added a web ref
>>to it in my class calling it 'WS'.
>>
>>How do I instantiate it? When I type 'WS' it doesn't appear in intellisense.

>
>Hopefully my other reply will help. If not, let's continue the discussion on that part of the thread instead of going off on two different paths.
>
>I just wanted to mention that when you add a web reference, VS generates 4 files behind the scenes, which you may not notice if you don't have the "Show All Files" option turned on in your Solution Explorer). One of these files, the reference.cs, creates a class for you and this is what you actually instantiate (as I showed in my code examples).


I don't know what I'm doing wrong. I have Show All Files turned on, and the only file I see under
Web References is MyWS.

My namespace is Marois. When I type 'Marois.MyClass', the intellesense opens. MyWS does not appear in
the popup menu.

What am I doing wrong here????
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform