A web service has to respond to requests - how were you planning to receive a request if not through a web server like Tomcat? Define how you want the outside world to communicate with your service. Bill
Kannagiri, Earlier you mentioned you want to host a webservice. If I understood correctly, now I guess you want to know how to call and consume an existing webservice ?? Is that right ? If yes.. then its possible. Try to see how java client samples that is shipped with Apache Axis. Import or refer the necessary class for consuming the webserivce along with your giri.jar file. Then you should be able to consume a webservice. Axis Samples:http://cvs.apache.org/viewcvs.cgi/ws-axis/java/samples/
the path i mentioned will be executed in Mqworkflow configuration. path=D;/imwf/java/giri.jar
i configure giri.jar file will be condigured out side web app.
my batch files will be there in the path.
simply i will take this path and inside MQ workflow -process template i will give this path.
when i start MQ it auotmatically executes java exe.
now tell me my web service method which is hosted on TOMCAT.
when client call my web service method add 4 5 i need pass those (4,5) parameters from (integration-any external program) externally to use inside my batch file.
when they access my URL defintely it will execute inside web-inf/classes/myservice -this class i want automatically executed in my batch file-any way
please tell me.
author and deputy
Joined: Jul 13, 2001
Ok... Calling webservice is as simple as running a java method/function. For example... if you want your giri.jar to send an email, then you will need the mail.jar file configured to your MQ workflow.. That is mail.jar file should be available at runtime classpath. Otherwise the system will throw "class not found exception.." Please let me know whether you understood the above logic ??
Simillar to that calling a webservice requires you have some jar files configured to your workflow. Once done, you can call a webserivce.
Joined: Nov 26, 2005
i can call a web service,but i want to host my webservice method
is outside webserver.(remotely).
let me clear: ==============
1. my method is in c:/imwf/java
2. i used deploy.wsdd -the class files if i copy it in web server/web-inf/classes only it will work write?
3.i don't want that, my class files will be here D:/imwf/java if i run deploy.wsdd it should automatically connect web server and my method in the path should execute.the path i specified that method should execute.
but what actually is doing here is in axis when i deploy.wsdd?
am running deploy.wsdd in the path D:/imwf/java/MyService //org.apache.axis.client.AdminClient deploy.wsdd next: ===== please this issue only?
weather should i have to copy these files in web-inf/classes dir
or it is automatically copy's the files inside webinf/classes/
if this happens automatically?
D;/imwf/java/myservice will execute or tomcat server/myservice will execute?
please tell me.
where the my service method will be called.
subject: Can i host web service through batch file