|
-
Jan 11th, 2006, 10:25 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Problems when returning objects from webservice
I have a serializable object called "users" which is a collection of "user" objects.
The usercollection has a method called GetDistinct, which returns a distinct collection of users. Now the problem is that when I call my webservice
dim proxy as new mywebservice
dim usercol as usercollection = proxy.GetAllUsers <---- this is not working
Because it looks like the returning object from the webservice is of a type in the webservice namespace, but the object im defining on the client "usercol" is also a usercollection but from another namespace(my business objects). Therefor I get an error And I cant really use the object in the webservice namespace because it doesnt contain the method GetDistinct
What am I mssing here??!?!?
/Henrik
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|