Lexmark X925 Lexmark Document Distributor - Page 49

Services, Understanding the Job Submission Web Service

Page 49 highlights

Developing workflow solutions 49 Services Services are used for processing and routing documents, as well as providing confirmation of the job to the user after document capture. Services may also be used during document capture for processing answers to prompts, such as checking passwords. However, you should avoid excessive processing between successive prompts to prevent unexpected delays for the user. Use the following structure to create, manipulate, and execute a service: // Create an instance of the service object "ServiceClass" var myService = new ServiceClass(); // Set properties of the service object myService.field1 = value1; myService.field2 = value2; // Execute the service myService.execute(); Note: Services that require a user to scan a document should not be used when developing a script to be run on a schedule. Understanding the Job Submission Web Service The LDD 4.x Job Submission Web Service allows any Web service‑capable client software to interact with an LDD system. Select'N'Send and the Lexmark Document Server Port use this service, and eSF applications used in hybrid solutions can use it as well. For an example, see the TestHybrid example templates. Through the Web service, clients can: • Query the system for the profiles available to a client system based on the IP address of the client. • Submit documents to the LDD system. • Execute a profile to process documents. • Query the system for task progress and status. The following requirements must be met for the Web service to be available to a client: • A software client license is installed for the client. • The IP address of the client has been added to a software client group.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

Services
Services are used for processing and routing documents, as well as providing confirmation of the job to the user after
document capture. Services may also be used during document capture for processing answers to prompts, such as
checking passwords. However, you should avoid excessive processing between successive prompts to prevent
unexpected delays for the user.
Use the following structure to create, manipulate, and execute a service:
// Create an instance of the service object "ServiceClass"
var myService = new ServiceClass();
// Set properties of the service object
myService.field1 = value1;
myService.field2 = value2;
// Execute the service
myService.execute();
Note:
Services that require a user to scan a document should not be used when developing a script to be run on a
schedule.
Understanding the Job Submission Web Service
The LDD 4.x Job Submission Web Service allows any Web service
capable client software to interact with an LDD system.
Select'N'Send and the Lexmark Document Server Port use this service, and eSF applications used in hybrid solutions
can use it as well. For an example, see the TestHybrid example templates.
Through the Web service, clients can:
Query the system for the profiles available to a client system based on the IP address of the client.
Submit documents to the LDD system.
Execute a profile to process documents.
Query the system for task progress and status.
The following requirements must be met for the Web service to be available to a client:
A software client license is installed for the client.
The IP address of the client has been added to a software client group.
Developing workflow solutions
49