Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring webservice prob

Mubeen Shah
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a spring application, where i am reading a database constantly and putting filtered data in some other database. App is ready and now i want some other application (may be written in java, php or .net) to manage the execution of this application (I am new in web service), I am trying to integrate axis2 in spring app.

I have one business class extending the Thread class (Singleton):

I have one service class extending ServletEndpointSupport

I exposed 3 methods:

start(); // to start the process in thread (i just want a single thread)
stop(); // to stop the thread
status(); // check the current status of that thread

i also configured in services.xml that this service will have shared access for all clients

but seems like still something wrong with the design/application.. it starting the thread but stop and status method not working.. can someone please advise how can i achieve my goal.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic