Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method for testing whether the Web Service is alive (off or on) - Client-Side Axis

 
Ezequiel Antonio Barbosa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a method that returns whether a Web Service is active or inactive. In other words, whether it is on or off. Does anyone know any?
I tried to do a test (code below) to get this method on a Web Service that has password to access, user: alpha and password: 123. However, it is returning "Connection refused: connect" anyone knows the solution for this exception?

Note: I need for my application is a method and not a tool like SoapUI.
Error: Connection refused: connect

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic