How to import a WCF web service using a Java client
- by JRP
I have a WCF web service using wsHttpBinding that I am consuming from a Java client. I generated code from the WSDL using wsimport. The java client appears to be creating the service fine but when I call a method on the service the client just spins.
MyService s = new MyService();
IMyService i = s.getWSHttpBindingIMyService();
returnedValue = i.getSomething(2); // method call
Can a java client communicate with a WCF webservice that is using wsHttpBinding?
I have read that I might need to use WSIT (Metro) but am confused on how to proceed with that. Any help will be appreciated.