Creating Web Services Wrapper around LotusScript Agents - how?

We presently have two scheduled agents which (using shared script libraries) does the following:

  • Get unprocessed documents from a view;

  • Processes documents in Notes;

  • Submits a record to DB2;

  • Updates the document status as per business logic processing

  • Get next document…

This all happens in the Notes client via these scheduled agents.

Another (non-Notes) application requires to access the same process and simply get the status and 3 other fields back from the Notes document.

Could we wrap this whole LotusScript logic into a web service that is called and returns the values after processing? If so, does anyone have any indicators on how to do this and any issues that we should be aware of?

Thanks

Subject: using the web service design element…

Is there something specific about the Web Service design element that you don’t understand? Create one with LotusScript as your language, and include Use statements for your script libraries. What is the problem?