Skip navigation
Currently Being Moderated

Improve service speed: EmailService

Apr 7, 2010 7:33 AM

Basic info:

LC version: ES 8.2

Application code: C# .NET



I have a web service created in LC which is invoked from .NET application. The service (short-lived) saves data to a database and then send an e-mail .

The e-mail is using the 'EmailService' from the Foundations category. I want to be able to fire the e-mail portion with out waiting for a response back, as the service takes to long to finish.


I tried making a sub service that was long-lived and called it from my main serive with the Invocation Policy set to 'Do not Wait'.

That causes the following: Cannot invoke actions using Fire and Forget semantics on a shortlived process


If there is a better way to send emails from a service I'm open to comments.



  • Currently Being Moderated
    Apr 7, 2010 7:46 AM   in reply to Arnej6511

    The problem is that calling a long-lived process from a short lived is not an easy thing to do.  At least right out of the box.


    There are a couple of ways around it however.

    1 - call your long lived process (from your short lived process) using the WebService.InvokeWebService operation.  Essentially you are doing the same thing in LC that you are doing in your .Net application

    2 - write a custom component (a DSC) that uses the LiveCycle APIs to call the long lived process.  You would then include the DSC in your short lived process.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points