Hey guys,
I'm trying to communicate with a test-WebService via soap. The problem is, that my code (only 5 lines long) results in a deadlock. Up to now I had no luck reporting this at stackoverflow and another java forum, so I hope that someone here can help.
I use the following wsdl and created the corresponding files with:
wsimport -keep -extension http://ars-fiverx.de:8445/WsEchoService.svc?wsdl
my Code then looks as follows.
URL url = new URL("http://ars-fiverx.de:8445/WsEchoService.svc?wsdl");
QName qname = new QName("http://tempuri.org/", "WsEchoService");
Service service = Service.create(url,qname);
IWsEchoService iWsEchoService = service.getPort(IWsEchoService.class);
// deadlock comes with call to sysout.
System.out.println(iWsEchoService.echo());
For testing I pushed the request onto a proxy to watch what exactly is happening. My client sends a GET-Request to the server and the server responds. But that's it. No termination no further responding - deadlock.
The link is currently available and anyone should be able to reproduce this error. I tried it also without proxy, I tried it from another computer with an another environment and I have absolutely ne idea what actually is happening.
hope that someone is able to help... almost lost hope on this issue.