Svcutil generates duplicate fields for C# proxy class
I have 2 simple classes on the web-service side (Java webservice):
class A implements Serializable
{
protected int foo;
public getFoo(){..};
public setFoo(){..}
}
public class B extends A implements Serializable {...}
The point is that on client side SvcUtil generates a proxy C# class ProxyB inherited from ProxyA, it's OK, But, why the tool creates redundant foo1 field in ProxyB class while foo field is creat开发者_开发技巧ed in parent ProxyA class?
I'm totally confused, any ideas how to fix it?
精彩评论