Mike Moser
1/13/2003 1:35:00 AM
Well, first off, the Web.Services namespace is not in Microsoft, it is in
System. The full namespace is System.Web.Services. Also, when you do your
full class, make sure that you inherit from System.Web.Service.WebService. I
have heard that classes that just inherit WebService (when you have a "using
System.Web.Services" line) has some issues associated with it.
HTH,
Bill Priess
"John Beucher" <john@beucher.com> wrote in message
news:424001c2ba2d$4c396640$8af82ecf@TK2MSFTNGXA03...
> Hey,
>
> Simple file, simple problem:
>
> [ERROR LINE] using Microsoft.Web.Services;
> using Microsoft.Web.Services.Security;
>
> namespace WebServices.WSE
> {
> public class WSEService : WebService
> {
> [WebMethod]
> public string GetUsername()
> {
> }
> }
> }
>
> I get an error: CS0234: The type or namespace name 'Web'
> does not exist in the class or namespace 'Microsoft' (are
> you missing an assembly reference?)
>
> Installed WSE 1.0, machine.config seems ok, have
> web.config with appropriate add element. Using Framework
> 1.0.
>
> I'm using .asmx implementation, haven't tried with VS
> yet..
>
> Anyone?