View Single Post
Old June 9th, 2008, 07:54 AM
robzyc robzyc is offline
Friend of Wrox
Join Date: Mar 2007
Location: Hampshire, United Kingdom.
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default Web Service, Custom Control, Custom Return Type

Hi All,

I have run in to a problem (which I have blogged here:

In short:

I have a web service which returns a custom type.
I want to be able to use this custom type as a property for a control.
When I query the service in a ASP.NET page, and try to set the property of the control, it comes back with a type mismatch because one is of type WebServiceName.CustomType, while the other is DLLName.CustomType. Is there any way to get around this other than hacking the proxy class?

Many thanks,