Web Service POST call to “Wake Up” a “Sleeping” Queue: Part 2
Web Service Call Options:
In the previous post, the Director was configured and an explanation for what a sleeping queue is was given. In this post, the options that a web service call has will be explored. Version 10 of eFORMz has the ability to call a web service to post data to a queue. To process a web service call, eFORMz will need a URL. A sample URL could be:
Below are all the options available for a web request call URL.
|Parameter to AppServer||?APP=com.minisoft.eformz.eFORMzApp|
|Decide how to process||
|Parameters for DirectorService||
|Parameters for OutputService||
|Service Type can be||
|PageRangeSelection can be||all( “All pages” ),
current( “Current pages” ),
rangeFromStart( “Page Range (from start)” ),
rangeFromEnd(“Page Range (from end)” ),
obsolete0( “Page Range (from end )” )
There are many options that the URL can have. Here are some of the following:
&ProcessData=true is added, the web service will wake up the queue monitor (if it is sleeping) to process anything in the queue immediately. Any data sent as content will be put in a file in the named queue. The Director has to be running the named configuration and it has to be accessible to web services.
Any content type can be used except
text/plain. Specifying the content type isn’t necessary. If you use
text/plain it tries to parse it for parameters and if you use
text/xml it tries to parse it for a Service Configuration xml file.
NOTE: A posted file
text/xml that is not a
ServiceConfiguration will be handled as a posted data file. A posted file
text/xml that is a
ServiceConfiguration will skip the URL parameters.