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 / June 2004

Tip: Looking for answers? Try searching our database.

Passing a custom class as a parameter to a web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DalePres - 14 Jun 2004 00:32 GMT
Well, I have searched the net, MSDN, and the newsgroups more (for weeks now
really) and still no clear cut examples or descriptions of how to pass a
custom class as a parameter to a WebMethod or receive a custom class as a
return value from a WebMethod.  Every article or newsgroup response I was
able to find speaks only in theoretical terms with no specifics or examples.

I finally managed to piece together enough little pieces that I was able to
work it through and produce a working example.  I have documented it at
http://www.dalepreston.com/programming/SharedClasses.aspx including source
code.

This is basic so far but for many of us, if we have enough to get started,
we can figure the rest out for ourselves.

I hope this will help others who are working through the same thing.

Dale
Jimmy [Used-Disks] - 14 Jun 2004 21:51 GMT
> http://www.dalepreston.com/programming/SharedClasses.aspx

If you have control over the client and server, why use SOAP at all? Why not
remoting?

Signature

-Jimmy
Blog: http://research.remobjects.com/blogs/jimmy/
Furl: http://www.furl.net/members/jimmytharpe

Dale - 15 Jun 2004 01:08 GMT
That's a choice/decision made way above my head.  All intranet web apps in
the company must use web services for all database access.... So we go from
IIS to IIS.  I just do it.

Dale

> > http://www.dalepreston.com/programming/SharedClasses.aspx
>
> If you have control over the client and server, why use SOAP at all? Why not
> remoting?

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.