Running WISD jobs on demand
Running WISD jobs on demand
My job should run "on demand" As soon as the webservice is called the job should take the response and send a reply to the webservice.
can anyone help me what to do in this scenario..
Thanks,
Rahul
can anyone help me what to do in this scenario..
Thanks,
Rahul
You need to review and study the documentation. Pay particular attention to the sections on "Job Topology". Jobs with WISDInput will be "always on".....Jobs without WISDInput will be run only when invoked...there are pros and cons to both methods ---- you need to know about your services and their traffic to determine which is best.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Excellent....now here are a few other interesting things for you to review....
a) check the DS Director....you should be able to "see" your instance there when it is running and "always on".... (you can't do much with it, and should never try to start/stop it there, but you can see that the instance is up and working).....
b) open the Monitor while in the Director.......then run your request thru SOAPui.........depending on the type of job, you can often "see" the results of your request as "rows" running thru your job.
c) learn how to "disable" (NOT un-deploy) your Service Operation.....when you disable, note how the instance in the DS Director shuts down.
Ernie
a) check the DS Director....you should be able to "see" your instance there when it is running and "always on".... (you can't do much with it, and should never try to start/stop it there, but you can see that the instance is up and working).....
b) open the Monitor while in the Director.......then run your request thru SOAPui.........depending on the type of job, you can often "see" the results of your request as "rows" running thru your job.
c) learn how to "disable" (NOT un-deploy) your Service Operation.....when you disable, note how the instance in the DS Director shuts down.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
thanks ernie,
Yes I can see the job shows always running,
1.How can I disable the job if I need to other than undeploy it.
2.where can I see the rows in the director job log.
3.I have a problem with soap UI ,can I test the service only once because it is not allowing me to test it more than twice or thrice.
what do you think the problem is?
If I need to test the service again I am deploying it again and testing it...
but that should not be the case right, so how can I test the webservice always with soap ui.
right now if I test it more than twice or if the change the input...the response I get is not the output but I could see only "true" in the XML.
Regards,
Rahul
Yes I can see the job shows always running,
1.How can I disable the job if I need to other than undeploy it.
2.where can I see the rows in the director job log.
3.I have a problem with soap UI ,can I test the service only once because it is not allowing me to test it more than twice or thrice.
what do you think the problem is?
If I need to test the service again I am deploying it again and testing it...
but that should not be the case right, so how can I test the webservice always with soap ui.
right now if I test it more than twice or if the change the input...the response I get is not the output but I could see only "true" in the XML.
Regards,
Rahul
I'd like to suggest that you start a new thread, or change the status of this....there is nothing to "work-around" here...just techniques and features that have to be learned.
Disable is at the deployment workspace of the Information Server Console. Use the Edit button on the lower right and you will then see a new button on the lower left that provides Disable/Enable functionality. Disable stops the job from running. Enable starts it up again.
Look in the DS Director to get an idea of what your service operation is doing when you are first learning how ISD works. this is not a monitoring tool and not for checking on the rate of requests to a production system. There are good SOA 3rd party tools for that and WAS itself has tools for doing such audits.
If your service only runs once or twice, what happens in the DS log? Does it abort? is it only for certain requests with certain kinds of data....do searches here on the symptoms, and check my blog below for guidelines on using ds and qs in real time.
Ernie
Disable is at the deployment workspace of the Information Server Console. Use the Edit button on the lower right and you will then see a new button on the lower left that provides Disable/Enable functionality. Disable stops the job from running. Enable starts it up again.
Look in the DS Director to get an idea of what your service operation is doing when you are first learning how ISD works. this is not a monitoring tool and not for checking on the rate of requests to a production system. There are good SOA 3rd party tools for that and WAS itself has tools for doing such audits.
If your service only runs once or twice, what happens in the DS log? Does it abort? is it only for certain requests with certain kinds of data....do searches here on the symptoms, and check my blog below for guidelines on using ds and qs in real time.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
yes I can see the enable/disable options and in the director I can monitor the job and see the no of rows from request and to response.
Coming to the service, the job in the Director shows its running I do not see any abort over there.I tried to check with soap ui for the other service job I can see the request and response so many times.
But in this particular job I do not understand what the problem is I can only check the service once and for testing it again I had to deploy it again.
when I try to test the second time the request is good but I cannot find any response other then "true" in XML of soap ui.
I guess there is something in this service which is blocking me to test it more than once. How can I solve this issue?
Its not with particular request or particular data....
Thanks,
Rahul
Coming to the service, the job in the Director shows its running I do not see any abort over there.I tried to check with soap ui for the other service job I can see the request and response so many times.
But in this particular job I do not understand what the problem is I can only check the service once and for testing it again I had to deploy it again.
when I try to test the second time the request is good but I cannot find any response other then "true" in XML of soap ui.
I guess there is something in this service which is blocking me to test it more than once. How can I solve this issue?
Its not with particular request or particular data....
Thanks,
Rahul
I could explain you in a easier way...........
Created a webservice for which request is 1 input and the response is 6 outputs.
used a tool to test the service worked well i.e the request was one input and the response was 6 outputs.
the problem is I planned to test the service again but the response has no output and I can see only "true".
Again the service works after deploying it again. I guess we need not deploy all the time.
can anyone help me out...
Regards,
Rahul
Created a webservice for which request is 1 input and the response is 6 outputs.
used a tool to test the service worked well i.e the request was one input and the response was 6 outputs.
the problem is I planned to test the service again but the response has no output and I can see only "true".
Again the service works after deploying it again. I guess we need not deploy all the time.
can anyone help me out...
Regards,
Rahul
hmmm. Tell us more about the Job. If you choose to use them, you can have only ONE wisdInput or wisdOutput......please explain what you mean by "6 outputs"......
Make absolutely certain that your wisdOutput stage always receives a row of "something"...just for this reason -- so that your SOAP client is never left waiting...it will always get "something". That is your responsibility as the developer of the Job.
You can branch to other things, write to tables and files, etc., but be sure that the link path to your wisdOutput ALWAYS carries at least one row......
Ernie
Make absolutely certain that your wisdOutput stage always receives a row of "something"...just for this reason -- so that your SOAP client is never left waiting...it will always get "something". That is your responsibility as the developer of the Job.
You can branch to other things, write to tables and files, etc., but be sure that the link path to your wisdOutput ALWAYS carries at least one row......
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
thanks for the reply,
Yes my job has 1 wisd input and 1 wisd output.
1 column is the request and that joins with the ODBC table and gives 6 columns as the response to wisd output.
The job runs great .....but when using soap ui Once I deploy the service in the information server then gave the input and I got the response. Till this step its doing great.
but the problem is if i try to give an input again the service runs well and I could see in the director also the job is "running". but I cant get response in the tool. The response I need is 6 rows right but I dont get any response only thing I could see is "true" in XML.
please let me know if you need any other information.
Regards,
Rahul
Yes my job has 1 wisd input and 1 wisd output.
1 column is the request and that joins with the ODBC table and gives 6 columns as the response to wisd output.
The job runs great .....but when using soap ui Once I deploy the service in the information server then gave the input and I got the response. Till this step its doing great.
but the problem is if i try to give an input again the service runs well and I could see in the director also the job is "running". but I cant get response in the tool. The response I need is 6 rows right but I dont get any response only thing I could see is "true" in XML.
please let me know if you need any other information.
Regards,
Rahul
I can't be sure, but if it's an EE Job it might be because you aren't using a sparse lookup.....check out this entry... http://dsrealtime.wordpress.com/2010/05 ... litystage/ ....you must make sure that your WISDinput link is the driving link for your entire job.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Rahul, please stop endlessly quoting entire posts just to reply. There's a perfectly good Reply to topic button at the bottom of every page that you should learn to use rather than the dang Reply with quote one you've been pushing. Save it for when you need it, when it's not obvious to whom or to what you are replying. Saves me having to clean things up.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers