Hi all!

I have very recently developed my first non-trivial service. I have deployed it in Tomcat and tried to access it. In order to see what is happening I have set up tcpmon to inspect the incoming and outcoming messages from the service.

The problem is the following: I have used both the client generated by WSDL2Java and a simple client that I built from scratch and in both cases I miss to get a response from the service. However, in the tcpmon I can see that the service is delivering an answer to somewhere in the cyberspace, that my clients are not catching, and they just wait for a response eternally.

The code of the client is the following:

package nli;

public class NliTester {
public static void main(String [] args) throws Exception {
// Make a service
nli.ws.NliService service = new nli.ws.NliServiceLocator();


// Now use the service to get a stub which implements the SDI.
nli.Nli interprete = service.getNLInterpreter();

// Make the actual call
String input = new String("......");
System.out.println(interprete.execute(input));
}
}


Am I missing anything important? Where is the response being sent?

Thanks!!!

--
|===============================================|
Luis Rodrigo Aguado
Laboratorio de Sistemas Inteligentes (ISYS)
Facultad de Informática
Universidad Politécnica de Madrid
|===============================================|
"El camino más largo siempre empieza con un
pequeño paso"
|===============================================|

Reply via email to