开发者

2 Different Services with the Same Base Object

I have 2 services that one returns an object and a second service that takes that same object in as a paramater. I开发者_JAVA技巧s it possible to do something like the following in .NET? From my understanding JAVA actually supports actions like this

var personObject = Service1.GetPerson();

Service2.DeletePerson(personObject);

Thank you for any assistance or direction that can be provided!


The solution is actually shared types on the reference. Doesn't appear to have a permanent solution for it that you will not have to update after each update of the wsdl but it works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜