Latest News

the latest news from our team

Post Data to eFORMz via a Web Service Call

Beginning with Version 10, eFORMz can call a web service to post data to a queue. The following sample URL shows how to form the request:

 

https://localhost:8000/servlet/com.minisoft.AppServer.AppServer?APP=com.minisoft.eformz.eFORMzApp&director&Host=localhost&Port=9996&User=minisoft&Password=password&ConfigurationName=accessible.cfg&QueueName=Accessible&NameTemplate=data_.dat

 

If you include “&ProcessData=true”, the web service wakes up the queue monitor (if it is sleeping) to process anything in the queue immediately.

Any data sent as content is put in a file in the named queue. The Director must be running the named configuration and must be accessible to web services. You can use any content type except “text/plain”. There’s no need to specify the content type. 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.


base URL

https://localhost:8000/servlet/com.minisoft.AppServer.AppServer

parameter to AppServer

?APP=com.minisoft.eformz.eFORMzApp

Parameters for Director Service

Start the Director

&director

Which host

&Host=localhost&Port=9996

Authentication for Director

&User=minisoft&Password=password

Toolkit file *Must be started with -ac parameter

&ConfigurationName=accessible.cfg

Queue name in toolkit file

&QueueName=Accessible

File name for POSTed data

&NameTemplate=data_.dat

Wake a sleeping queue

&ProcessData=true

Leave a Reply

Your email address will not be published. Required fields are marked *