Page 1 of 1

expose web services using a shell script

Posted: Mon Feb 20, 2012 10:39 pm
by hitmanthesilentassasin
Hi,

Is there a way to expose the web service using a shell script?

Thanks

Posted: Mon Feb 20, 2012 11:38 pm
by ray.wurlod
I don't believe so.

Posted: Mon Feb 20, 2012 11:52 pm
by hitmanthesilentassasin
that's bad.

anyway, thanks Ray!!

Posted: Tue Feb 21, 2012 6:52 am
by eostic
It largely depends on what one means by "exposing a web service via a shell script".

What are you trying to accomplish?

ISD has a command line, and it can do not all, but a lot of the management parts of "expose"......

Explain the goals....

Thanks.

Ernie

Posted: Tue Feb 21, 2012 5:34 pm
by hitmanthesilentassasin
Hi eostic,

I am trying to deploy the web services using shell scripts.

Please shed some light on this if it is possible. I am aware of ISDIMPORTEXPORT & ISDADMIN.

Thanks

Posted: Tue Feb 21, 2012 5:49 pm
by qt_ky
Expose and deploy can have different meanings...

ISD command line tools are documented in the ISD Administration and Deployment Tool Guide.

Posted: Tue Feb 21, 2012 6:39 pm
by hitmanthesilentassasin
Hi,

are you are referring to this link? I have a job which I need to run as web service. after compiling the job I have to go to ISD and manually deploy the services. which I want to do it using a shell script without having to do the manual part?

Posted: Tue Feb 21, 2012 6:49 pm
by qt_ky
I was referring to the guide as a PDF that should be installed on your client, but the Information Center web site is usually more up-to-date. The link you have given is an overview. Look a few sections further down for the details of the deploy action of the ISDAdmin command:

http://publib.boulder.ibm.com/infocente ... tions.html

Posted: Wed Feb 22, 2012 7:10 am
by eostic
You don't want to "build" the service and its associated Operations with command line --- there are far too many decisions to make....and you need to do testing....use the GUI initially.

...but when you have deployed it successfully once, and tested it, and understand how it behaves, you can then control it entirely via command line --- and/or deploy it to a new server, enable it, disable it, etc. etc.

Ernie