Web services



Web services with MAPWEB



General principle

Web services are included in the MAPWEB module and make it possible to trigger MAPPING OUTPUT MANAGER (the spooler) commands in the customer's existing application. This way, the user no longer needs to connect to MAPPING's web interface as the spooler commands can now be launched directly from an existing environment whether it be JavaScript, C#, Java, etc.

The Web services offer the following standard actions - also available in the MAPPING spooler:

Actions on spooled files

  • Release
  • Hold
  • Transfer
  • Delete
  • View content
  • Display log
  • Display info


Actions on queues

  • Start
  • Stop
  • Display log
  • Display info


In addition, Web services also allow the user to send, preview and remap spooled files.
diagram

Main advantages of Web services

With Web services the user can print documents that include RFID tags or specific languages through a web page.

Generally speaking, the user can also print any MAPPING form to the workstation's local printer, which will solve roaming printing issues for mobile users.
diagram


How Web services work

The upload (sending spooled files), preview (previewing spooled files) and run (remapping spooled files) methods offer two different ways of sending the spooled file or previewing the resulting spooled file after it has been generated or transferred.

Large files are handled through a URL version available for each method. This will save the spooled file to disk and transfer the URL so the client or server application can read the spooled file indirectly.

In the stream version however, the content of the spooled file is sent directly through the network. An exception will be triggered if the spooled file is too large in size. It is recommended to use the stream version as much as possible as this is a lot faster.