开发者

Svcutil generates duplicate fields for C# proxy class

开发者 https://www.devze.com 2022-12-20 00:54 出处:网络
I have 2 simple classes on the web-service side (Java webservice): class A implements Serializable { protected int foo;

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

精彩评论

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