Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consume C# WS in C# App
Message
 
To
16/03/2008 16:49:54
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01302443
Message ID:
01302518
Views:
7
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform