Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / January 2006

Tip: Looking for answers? Try searching our database.

Multiple Projects added to a Web Service Solution

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SAL - 12 Jan 2006 21:47 GMT
I’m new to building Web services and I have some questions I hope someone can
help me with.

I have built a Web Service Solution with 9 projects added to it.  I have
added all the references for these projects to the Web Service Project.  I
have compiled the Service and the dll is in the bin directory.

I have added the Web Service Reference to my Web Application, but I am
unable to access the classes in my Service that ARE IN the various projects
within this Service, which have the properties and methods I need.  Meaning:

1.    Service1
     a.       Project1
           i.           Class1
          ii.           Class2
     b.       Project2
           i.           Class1
          ii.           Class2
     c.       Project3
           i.           Class1
          ii.           Class2
     d.       Project4
           i.           Class1
          ii.           Class2
     e.       etc......
 
How do I expose these Projects and Classes within my Service, so I have
access to them in my Web Application?

Thanks,

Sal
Kurt Farrar - 16 Jan 2006 23:36 GMT
Sal,

Are all your projects that make up your web service solution part of the
same namespace? If not you will need may need to use the fully qualified
namespace to access the properties of your object.

Normally, I've just included an imports statement in the top of my
webservice.asmx to the namespace of my other projects and then updated the
web reference in my calling app (web app or win app). I can normally then
access the objects / classes of my other projects externally.

Signature

Kurt Farrar
.NET Developer & Computer Enthusiast

> I’m new to building Web services and I have some questions I hope someone can
> help me with.
[quoted text clipped - 28 lines]
>
> Sal

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.