473,320 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

web reference in a .net class library

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
Apr 14 '06 #1
0 1268

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: .pd. | last post by:
Hello, I have a control derived from a 3rd party control. My control sits in a class library. I have an app referencing my class library. When I compile the app, I'm told: ...
0
by: mnmnm1951 | last post by:
I am working with Sharepoint Services and am trying to add the fileversion Metadata to the Versions.aspx page using the example from the SDK. I have not done much with hashtables but it all looks...
2
by: George Durzi | last post by:
Consider these three projects: - ProjectWeb (my web application) - Facade (my class library, does data access, etc.) - Library (a library of classes I reuse in applications) ProjectWeb...
7
by: John | last post by:
Hi I open a word document from my vb.net app. Now I want to pass reference to one of the classes in my vb.net app to word so it can access procedures in the vb.net class. How can I pass the...
11
by: Just Me | last post by:
I have a solution containing many usercontrol projects. When I wish to reference a usercontrol in another project I can select either the project or the assembly. Does it make a difference which...
1
by: Caine Chow | last post by:
I am working on a C# Class Library that does Remoting. I would like my library to call my web service so I added a Web reference to my service with out problems. I am encountering problems when...
3
by: skneife | last post by:
it seems that it is not possible to make a project Reference from a project class library to a website in the same solution, because the website doesn't contains any assembly (dll). So, if in the...
0
by: antonmaju | last post by:
Hi, I'm a newbie in WCF. I've used WCF in my winform application with Visual Studio 2008 Express and everything is fine. Now I am developing a class library to wrap my functions, so application...
17
by: Blau | last post by:
I'm trying to use the System.Windows.Controls namespace, but when I try to add a reference to it I don't see it in the list. I see a System.Windows.Forms, but not a System.Windows.Controls. Can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.