I am BRAND NEW to JAVA and have a question for you all. I just installed Tomcat and then installed Axis (SOAP) so that is all up and running. Now I need to create a JAVA class to perform my action for a web service. We use Netcool/Omnibus and we have a probe called postzmsg. This is just a simple executable that sits on the same server as the web service. I am trying to figure out how to pass something like this in a browser through HTTP....
Summary="This is a test"
ISOC_Instructions="Please do not call"
Of course all the above is filled in through a web service call. The class would then take the paramaters that were passed and execute something like this on the local server....
C:\postzmsg.exe severity=5 summary="This is a test" OnCallGroup=test_group ISOC_Instructions="Please do not call" TEC_Class="Test Class" Class=45945
And thats it. So in a nut shell one of our developers would do a web service call which would pass all the paramaters to the class in which is called through HTTP and then the class would in return pass the paramaters and fire postzmsg.exe.
So.... Is this possible? If so how hard would it be? I am thinking about this in the correct way?
Any sample of how to acomplish this?
I'm not sure I fully understand what you're trying to do, but if you're just trying to fire a sub-process with arguements you should look at the Runtime.exec(...) series of calls. One of them should fit the bill.