开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜