PC Review


Reply
Thread Tools Rate Thread

cannot see all public classes within web service namespace

 
 
hharry
Guest
Posts: n/a
 
      6th Sep 2006
hello all,

i have created a simple web service:

public class ImmediateResponse : System.Web.Services.WebService
{
public ImmediateResponse()
{
}

[WebMethod]
public string getString(string sLang)
{
return "you are speaking " + sLang;
}

public class Inputs
{
public Inputs()
{
}

[WebMethod]
public string getString(string sLang)
{
return "you are speaking " + sLang;
}
}
}

When I add a web reference for this class in another project, I am only
able to create instances of the ImmediateResponse class -> I am unable
to create instances of the Inputs class..

Any ideas ?

Thanks in advance

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Public member of a Namespace unavailable outside the namespace Arlyn_L Microsoft C# .NET 4 14th May 2008 08:03 AM
Classes and Namespace - ASP.NET 2.0 Bob Microsoft ASP .NET 1 20th Jan 2006 09:30 AM
How i list or enumerate classes (names of classes in string format) from a certain namespace? please help. Jose Michael Meo R. Barrido Microsoft VB .NET 1 31st Dec 2004 12:13 PM
How i list or enumerate classes (names of classes in string format) from a certain namespace? please help. Jose Michael Meo R. Barrido Microsoft Dot NET 1 31st Dec 2004 12:13 PM
Finding all classes within a namespace TheNedMan Microsoft Dot NET Framework 2 13th Jun 2004 07:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:39 PM.