C
Carl Ganz
I'm trying to build a MenuItem object in a web service and return it to
the proxy. Something like this:
[WebMethod]
public MenuItem GetReportMenu()
{
MenuItem oMenuItem = null;
oMenuItem = new MenuItem();
oMenuItem.Text = "Reports";
return oMenuItem;
}
This compiles fine but I get an error message when I update the web
reference in the proxy saying it cannot serialize. Is there any way to
accomplish this?
Thanks
Carl
the proxy. Something like this:
[WebMethod]
public MenuItem GetReportMenu()
{
MenuItem oMenuItem = null;
oMenuItem = new MenuItem();
oMenuItem.Text = "Reports";
return oMenuItem;
}
This compiles fine but I get an error message when I update the web
reference in the proxy saying it cannot serialize. Is there any way to
accomplish this?
Thanks
Carl