R
russell.lane
I have a web service that exposes database contents as disconnected
datasets. I would to use that web service from within a class library.
I have included a web reference to the service in my class library project.
If I bring up the reference in the object browser, I see the web service
namespace nested within the class library namespace, and I see the web
service type definition with all of the service methods correctly described.
If I look at the app.config file for the reference, I see the URL for the
service in the properties settings for the class library.
When I try to instantiate a service proxy in the class library code,
however, the service namespace and proxy object type are not recognized by
Intellisense or by the compiler. Or, actually, sometimes they are and
sometimes they are not, and I can't make out any rhyme or reason to when
they are and aren't.
Note that I would like this class library to be a reusable component, so I
do not want to have to wait until it's included in an application to be able
to code to the service proxy type.
What am I missing?
Thanks -
Russell Lane
Principal SW Engineer
Eliza Corporation
datasets. I would to use that web service from within a class library.
I have included a web reference to the service in my class library project.
If I bring up the reference in the object browser, I see the web service
namespace nested within the class library namespace, and I see the web
service type definition with all of the service methods correctly described.
If I look at the app.config file for the reference, I see the URL for the
service in the properties settings for the class library.
When I try to instantiate a service proxy in the class library code,
however, the service namespace and proxy object type are not recognized by
Intellisense or by the compiler. Or, actually, sometimes they are and
sometimes they are not, and I can't make out any rhyme or reason to when
they are and aren't.
Note that I would like this class library to be a reusable component, so I
do not want to have to wait until it's included in an application to be able
to code to the service proxy type.
What am I missing?
Thanks -
Russell Lane
Principal SW Engineer
Eliza Corporation