Adding WCF Service Reference To Java Application
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 kn开发者_高级运维ow 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 ?
Make your WCF service able to return a wsdl and consume that on the Java application side.
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.
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
精彩评论