Kofax Communication Server TWS Technical Manual
Chapter 6: Code Example Using TWS....................................................................................................57
Example with Visual Studio .net (C#).............................................................................................. 57
Send a Simple Text Message............................................................................................... 57
Get State of TWS..................................................................................................................62
TWS Examples...................................................................................................................... 63
Example with Visual Studio .net (VB).............................................................................................. 63
Send Simple Message...........................................................................................................63
Show and Change TCOSS Channel State........................................................................... 64
ReceivePDF........................................................................................................................... 66
Example with Java........................................................................................................................... 66
Prerequisites.......................................................................................................................... 66
Step 1: Create a New Project............................................................................................... 67
Step 2: Import the WSDL File...............................................................................................71
Step 3: Create Code to Call the Web Service...................................................................... 80
Second Example with Java..............................................................................................................82
Prerequisites.......................................................................................................................... 82
Create a New Project............................................................................................................ 82
Create Code to Call the Web Service...................................................................................83
Running the Example............................................................................................................ 84
Example with PocketSOAP.............................................................................................................. 84
Example: GetServerTime.vbs............................................................................................... 85
Examples with Perl...........................................................................................................................86
Chapter 7: Web Service Functions......................................................................................................... 88
Fax Interface Functions....................................................................................................................89
Micro Workflow Functions................................................................................................................ 89
Get Interface Properties........................................................................................................ 90
Open Message from Archive Server..................................................................................... 92
Send Simple Text Message...................................................................................................92
Send Message....................................................................................................................... 93
Receive Simple Message or Notification from TCOSS Queue........................................... 101
Receive Message from TCOSS Queue.............................................................................. 106
View Message......................................................................................................................118
Track Message on KCS...................................................................................................... 119
Get Message Entry..............................................................................................................120
Cancel Message.................................................................................................................. 121
Reactivate Message............................................................................................................ 121
TCOSS Functions...........................................................................................................................122
Known Issue with Visual Studio.......................................................................................... 125
4