H
Hammer
All,
I have a class called CartLine and I try to return this class in a Web
Method I can not!
[Serializable]
public class Cartline: Arraylist
{
// class properties and etc.
}
The proxy reference doesn't contain any information even though I use the
following:
[XmlInclude(typeof(ShoppingCart)), XmlInclude(typeof(Business.Cart))]
public CartLine GetCartItem(String m_ShoppingCartUserId,
Common.UserStatus eStatus)
And to add insult to injury, when I uses this web method calls to returns my
class as object[] that I can not cast back to my business class.
Can anyone shed some light on how to accomplish this?
I have a class called CartLine and I try to return this class in a Web
Method I can not!
[Serializable]
public class Cartline: Arraylist
{
// class properties and etc.
}
The proxy reference doesn't contain any information even though I use the
following:
[XmlInclude(typeof(ShoppingCart)), XmlInclude(typeof(Business.Cart))]
public CartLine GetCartItem(String m_ShoppingCartUserId,
Common.UserStatus eStatus)
And to add insult to injury, when I uses this web method calls to returns my
class as object[] that I can not cast back to my business class.
Can anyone shed some light on how to accomplish this?