473,498 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Services & Classes

I have created a solution with three projects. The first being a library of
classes. The second being a web service which references the library and
implements web methods whos return types are classes in said library. The
third project makes a web reference to the web service.

The problem I am having is that when the web reference is made it creates
its own classes that represent the return types when I want it to be the
return types as defined by the library.

How can I make it so that project two (the web service) and project three
share the first project (the library of classes) properly?

Thanks
--
-Demetri
Nov 16 '05 #1
1 1104
Hi Demetri,

read this:
http://hoppersoft.com/Andy/commentvi...5-23B733FF3C5D

worked for me.

Picho

"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
I have created a solution with three projects. The first being a library of
classes. The second being a web service which references the library and
implements web methods whos return types are classes in said library. The
third project makes a web reference to the web service.

The problem I am having is that when the web reference is made it creates
its own classes that represent the return types when I want it to be the
return types as defined by the library.

How can I make it so that project two (the web service) and project three
share the first project (the library of classes) properly?

Thanks
--
-Demetri

Nov 16 '05 #2

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

Similar topics

3
2129
by: Marshal | last post by:
This is a definite and reproduceable bug in Web Services, Visual Studio 2003. Here is a simple example. Create a web service... // this represents an original version of an object class...
4
1965
by: Demetri | last post by:
I posted a similar question last week and got an answer but its not working. I have three projects in a solution. Project A is a library. Project B is a web service. Project C is a windows app. ...
26
1858
by: Mr Newbie | last post by:
What do I need to run a web service on my PC ? I know I need the .NET Framework, but do I need IIS Running ?
9
4895
by: Phil B | last post by:
I am having a problem with a datetime from a web services provider The provider is sending the following SOAP response <?xml version="1.0" encoding="utf-8"?> <soap:Envelope...
0
254
by: RJN | last post by:
Hi In my application architecture, the business logic classes talk to the data access classes. The business logic classes might also talk to other business logic classes. The business logic...
2
1145
by: Mike | last post by:
If I have classes in an assembly that gets referenced by multiple web services, when the user adds a web ref to the service, then these classes are included in each namespace seperately. Seeing...
4
3015
by: John | last post by:
I have WSDL file with <wsdl:fault> element. When I use Websphere WSAD to generate Java proxy classes from WSDL, I am able to see the custom exception classes that correspond to the <wsdl:fault>...
1
2123
by: Ankur Goenka | last post by:
Hi, I am trying to include two proxy classes (from two different web services say Namespace.Service1 and Namespace.Service2) in a project (C# Class lib). These webservice internally use (as...
0
2607
by: jb489 | last post by:
Hi all, Hope I am posting this in the right forum. I seem to be having a problem when using serialization and web services. <b>Scenario:</b> I have built a web service which includes a...
0
7121
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6993
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7162
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6881
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5456
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
650
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.