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