R
R.A.
Hi
I have a web service that returns a custom class in one of the service
methods.
public class MyClass
{
public string Name;
public string Street;
}
web method:
[WebMethod (Description = "Get customer info")]
public MtClass [] GetCustomerList (string ZipCode)
{
....
}
As I am testing I didn't use XmlInclude for MyClass or for the
GetCustomerList method but still I am able to get the serialized information
back from the web service. If this is the case then do I need XmlInclude at
all?
Thanks
I have a web service that returns a custom class in one of the service
methods.
public class MyClass
{
public string Name;
public string Street;
}
web method:
[WebMethod (Description = "Get customer info")]
public MtClass [] GetCustomerList (string ZipCode)
{
....
}
As I am testing I didn't use XmlInclude for MyClass or for the
GetCustomerList method but still I am able to get the serialized information
back from the web service. If this is the case then do I need XmlInclude at
all?
Thanks