views:

231

answers:

4

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.

+2  A: 

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

Otávio Décio
A: 

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 ?

A: 

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.

flesh
A: 

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

RandomNoob