Question


I have one machine running a java web service on IBM WebSphere. It is using port 9081. I also have a client to this web service written in c#.NET. The funny thing is that I can easily reference the web service in Visual Studio 2005 (I get the wsdl definition) by http://ip_address:9081/ProjectName/services/MyService?wsdl but I cannot call any of the exposed remote methods. I get an error saying :

{"No connection could be made because the target machine actively refused it 127.0.0.1:9081"}

I would appreciate any ideas.

Was it helpful?

Solution

Found it. The solution was so simple. The the 'localhost' was defined in the wsdl file :). Once I had replaced it with a proper server address it started working.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top