Skip to main content

WS Endpoint closes connection without sending any data back

No replies
gruenewa
Offline
Joined: 2004-06-30
Points: 0

Hello,

I am using mustang build 1.6.0-rc-b69 on linux. I have deployed an endpoint...

import javax.xml.ws.Endpoint;

public class Main {
public static void main(String[] args) {
Implementor impl = new Implementor();
Endpoint endpoint = Endpoint.publish("http://localhost:2222/add", impl);
}
}

and written a perl client to access the WS.

#!/usr/bin/perl -w
use SOAP::Lite;
my $calculator = SOAP::Lite
-> service('http://localhost:2222/add?wsdl');
print "Next Int: ", $calculator -> add(2,3), "\n";

This all works fine. But if i call the client 100 times the endpoint does not respond anymore.

There is no stack trace on the server. The error message on my client is:

Service description 'http://localhost:2222/add?wsdl' can't be loaded: 500 Server closed connection without sending any data back

Is this a bug?