1
Answer

Member variables are zeroed

Photo of sacresp

sacresp

20y
2.1k
1
I have a custom object, that I need to send to web service. Like [Serializable] public class MyObject { private int age; private double height; public MyObject() {} } and those members have also public properties. I have set the values to properties on client, but when I access them in web service they are all 0. What may cause this?

Answers (1)

0
Photo of sacresp
NA 458 0 20y
Oh, and to make this a bit more tricky, when I use Windows client, it works like a dream. But I have also a PDA client (Compact Framework) and then it doesn' t work. Is there some differences in Compact framework's web service implementation?