Ask a Question related to ASP.NET Web Services, Design and Development.
-
Christian Weyer [MSDN RD] #1
Re: exposing derived classes to proxy without fake webmethod?
Hi,
try using [XmlInclude(typeof(bla)] on the appropriate WebMethod. This attribute instructs the ASMX engine to include the type description for type bla.
Cheers,
--
Christian Weyer
Microsoft .NET & Service Oriented Architectures
[Microsoft Regional Director, Germany]
[url]http://www.regionaldirectors.de/[/url]
* XML Web Services: [url]http://www.xmlwebservices.cc/[/url]
* Weblog: [url]http://weblogs.asp.net/cweyer/[/url]
> I am hoping to use an abstract base class as a parameter
> for a webmethod.
>
> In the method I then want to determine what sub-type has
> been passed as a parameter.
>
> For example, I have a abstract class 'Address' and
> derived classes 'UKAddress' and 'ForeignAddress'. Is
> there a way to expose UKAddress and ForeignAddress
> through the proxy without creating a fake web method?Christian Weyer [MSDN RD] Guest
-
Can a repeater's ItemTemplate instantiate derived classes?
I posted this in a different group yesterday with no responses, so I'll try here. I would like to have a repeater class like this: ... -
Passing a derived class to a WebMethod
I am writing a client that consumes a web service and extends the functionality of one of the web service's classes. The definition is something... -
Design time support for classes derived from DataGridColumn
How to get design time support for classes derived from DataGridColumn ? I have created new DataGridColumn type, it uses image from database as... -
How to use own classes as WebMethod-Parameters?
Is it possible to use self defined classes as parameters for a WebMethod? I thought of the following.... 1. Library-Project: "LibProj" Public... -
Serializing classes derived from dataset
Hi, I am trying to store various objects within session. Due to the site being hosted in a web farm we are going to have to use either State...



Reply With Quote

