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 / November 2007

Tip: Looking for answers? Try searching our database.

Passing classes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roby Eisenbraun Martins - 29 Nov 2007 12:49 GMT
Hi,

I have a solution working with a webservice project, userinterface project
and they both reference to a personal framework project.
When I create a method on the webservice project using a class from the
framework and I call that method from the userinterface it crashes with a
ambiguous reference error. In fact the webservice is creating another class
to be able to send it.
But I don't want that because I know the userinterface has got that class
already. I want to work with the same class.
How can I flag my classes from the framework project to not be "replicated"
by .NET when using a webservice?

Thank you,
Roby
Scott M. - 30 Nov 2007 05:56 GMT
Two questions:

Can we see the webservice code?

Why are you returning a proprietary entity via the WebService model and not
using Remoting?

> Hi,
>
[quoted text clipped - 13 lines]
> Thank you,
> Roby
Mr. Murdock - 30 Nov 2007 10:18 GMT
I'm using webservices and I don't want .NET to create another class I'm
sending as parameter. Now I have to copy the content from one class to
another to be able to use it.
It should use the same class.  Same namespace.
I'm not working with remoting.

Thank you,
Roby

> Two questions:
>
[quoted text clipped - 20 lines]
> > Thank you,
> > Roby

Rate this thread:







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.