View Single Post
  #4 (permalink)  
Old April 10th, 2004, 11:10 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I'm sure what you mean by "storing objects in a web service".

Here's one of my web methods:

<WebMethod(Description:="Authenticates a ReminderService user.", MessageName:="LoadUserByLogin")> _
Public Function getUser(ByVal sUsername As String, ByVal sPassword As String) As userReturnArgs
    Return getUser(Nothing, sUsername, sPassword)
End Function

As you can see, the web service returns a custom data type. userReturnArgs is actually a class that contains another class. I have had no problems with doing this. I also have web methods that accept custom data types (my classes) as arguments and I have not had problems with this either.

Post some of the relevant code and maybe we can see what is wrong.

Peter
-------------------------
Work smarter, not harder
Reply With Quote