简体   繁体   中英

WCF web service and java web service

WCF Web服务可以使用Java开发的Web服务吗?反之亦然。

Yes, Web Services are basically request/response calls through a network. The message is XML. This protocol is known as SOAP (Simple Object Access Protocol) . So, you're passing XML data across the wire. WCF wouldn't care less which originating language it comes from as it only sees XML.

Alternatively, you can use HTTP request/response using REST .

Yes they can, if you run into trouble and are using SOAP it will most likely be due to versions in the security headers. If so you WCF can be configured to use custom binding (Sure the same applies for java side). Rest is simpler.

Checkout http://www.soapui.org/ . It is written in java and can communicate using both Rest and Soap.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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