| Author |
How to make AXIS start a class each time it starts?
|
Katja Ivanova
Greenhorn
Joined: Dec 14, 2004
Posts: 11
|
|
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
Joined: Sep 17, 2001
Posts: 548
|
|
|
what do you mean by "axis run a class". can u be more specific ?
|
RR Kumaran
SCJP 1.4
|
 |
Katja Ivanova
Greenhorn
Joined: Dec 14, 2004
Posts: 11
|
|
|
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
Joined: Sep 17, 2001
Posts: 548
|
|
|
and why would you do like that with only AXIS. any purpose ?
|
 |
Katja Ivanova
Greenhorn
Joined: Dec 14, 2004
Posts: 11
|
|
|
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
Joined: Sep 17, 2001
Posts: 548
|
|
|
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
Joined: Dec 14, 2004
Posts: 11
|
|
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
Joined: Sep 17, 2001
Posts: 548
|
|
|
then he might be referring to axis/WEB-INF/server-config.wsdd
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
|
You can deploy and undeploy a webservice in Axis.
|
Groovy
|
 |
Katja Ivanova
Greenhorn
Joined: Dec 14, 2004
Posts: 11
|
|
And how do I do that? Thanks & regards Katja [ December 15, 2004: Message edited by: Katja Ivanova ]
|
 |
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
|
|
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
Joined: Dec 14, 2004
Posts: 11
|
|
I've done that and it works! Thanks a lot to all of you! best Regards Katja
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: How to make AXIS start a class each time it starts?
|
|
|