Adding WCF Service Reference To Java Application

梦想的初衷 提交于 2020-01-17 06:14:06

问题


How can I add WCF Service Reference to my Java Console Application ? I want to use this method for prove the interoperability of my wcf Service.


I'm newbiee to java and I don't know what do I import to java.I have service and service.wsdl but I haven't found anywhere what will I type to import my Service reference in java ?


回答1:


Make your WCF service able to return a wsdl and consume that on the Java application side.




回答2:


The whole point about web services is that they are interoperable - how do you think any application communicates with a web service? Answer: your service provides a WDSL document (Web Services Description Language) and your Java console app communicates with it, according to the WDSL, via SOAP messaging.




回答3:


Take a look at wscompile - if you have your mex endpoint enabled, wscompile should be able to generate stubs for you based on the wsdl



来源:https://stackoverflow.com/questions/1869366/adding-wcf-service-reference-to-java-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!