Oh ok I solved it. I imported METRO .jar files to build path and moved them to top (to be first)
It is crucial to place those jars on top.
Question
I have problems with writing Java client for wshttpbinding web service.
I wsimport-ed .wsdl and i try to
TestService iface = new TestService();
ITestService implmt = iface.getWSHttpBindingITestService();
then i call web service method set
implmt.set("s", 1);
And i get
Exception in thread "main" javax.xml.ws.WebServiceException:
java.net.SocketException: Connection reset
Solution
Oh ok I solved it. I imported METRO .jar files to build path and moved them to top (to be first)
It is crucial to place those jars on top.