ınclude extra classes on a web service not referenced yb the parameters directly
We created a webmethod that would receive a list of objects, Sometimes these objects are integers or strings, sometimes they can be a more complex type, like CustomClass[]. Turns out that with XmlIncludeAttribute solved the problem, thanks to this post: WebMethod can't serialise an array of custom type : ASMX Web Services and XML Serialization : .NET Development : MSDN Forums
0 Comments:
Enviar um comentário
<< Home