简体   繁体   English

从.Net消耗Java Web服务

[英]Consume Java web services from .Net

I would like to know if it is possible to consume a Java web service using .NET (doesn't matter which version) and any sources to documentation for this. 我想知道是否可以使用.NET(与哪个版本无关)以及有关此文档的任何来源来使用Java Web服务。

Google has not helped me and I have had trouble finding anything from MSDN/Technet about this. Google并没有帮助我,我在MSDN / Technet上找不到任何有关此的问题。

Thanks 谢谢

As long as the Java web service uses standards such as WSDL, you should be able to add a service reference to it in .NET. 只要Java Web服务使用诸如WSDL之类的标准,您就应该能够在.NET中为其添加服务引用。 That's not to say that there wouldn't be quirks you might have to look out for, but you should have interoperability. 这并不是说您可能不必提一些怪癖,但是您应该具有互操作性。

This article shows you how to add a service reference in Visual Studio 2010. 本文向您展示如何在Visual Studio 2010中添加服务引用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM