• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make AXIS start a class each time it starts?

 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !
does anyone know whether it is possible to make AXIS start a class everytime
it is beeing runned,if yes,then how kann I do that?

Thanks & regards

Katja
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you mean by "axis run a class". can u be more specific ?
 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean a method of a specific class, like Windows can start several programs when it boots ,can AXIS start a function or method of some class
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and why would you do like that with only AXIS. any purpose ?
 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats a task I've got from my boss,to make my program work with a web service and do not know what other opportunities do I have to do something like this besides using AXIS
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then you should ask your boss the purpose of doing since AXIS is good for something and it is not a silver bullet ... if I understood your requirement are you asking how to automatically start and stop a web service using axis something like a management console like what we see when we install tomcat as windows service ?
 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My boss doesn't really know how to do something like that,he just said there must be a file in AXIS where I can write which functions to be started at start.


Thanks & regards
Katja
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then he might be referring to axis/WEB-INF/server-config.wsdd
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy and undeploy a webservice in Axis.
 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And how do I do that?

Thanks & regards
Katja
[ December 15, 2004: Message edited by: Katja Ivanova ]
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
run axis's AdminClient program on deploy.wsdd and undeploy.wsdd files to deploy and undeply webservices . also u can directly edit server-config.wsdd by adding lines (<service name="TestTypes" provider="java:RPC"> to deploy ws and removing lines to deploy ws.
 
Katja Ivanova
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've done that and it works!
Thanks a lot to all of you!

best Regards
Katja
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic