Demo.ZenService.Boper.GetTranslation
class Demo.ZenService.Boper.GetTranslation extends Ens.BusinessOperation
Business operation responsible for providing a translation to/from the requested languages.Method Inventory
Parameters
parameter ADAPTER = Ens.OutboundAdapter;
Use our own simple adapter since this business operation does not call outside Ensemble
parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
Methods
Translate from the identified language (first argument) to the identified language (second argument).
The text to translate is the last argument, text. Since this is a sample, this is actually a static method so that only
the value for the "to" argument has meaning. If it is "French" or "Italian" or "Spanish" or "German" there is a
statically identified translation (the same translation for any input value).
method Translate(pRequest As Demo.ZenService.Msg.TranslationRequest, Output pResponse As Demo.ZenService.Msg.TranslationResponse) as %Status
Get the information out of the request message to translate the weather report into another language.
The request message Demo.ZenService.Msg.TranslationRequest has three properties, FromLanguage, ToLanguage, and
TextToTranslate. The response message Demo.ZenService.Msg.TranslationResponse has one property, TranslatedText.
Inherited Members
Inherited Properties
- %AlertStartTime
- %ConfigName
- %ConfigQueueName
- %LastActionTime
- %LastHandledTime
- %LastReportedError
- %QuitTask
- %RequestHeader
- %SessionId
- %SuperSession
- %WarnedLatest
- %isShadow
- Adapter
- AlertGroups
- AlertOnError
- AlertRetryGracePeriod
- ArchiveIO
- BusinessPartner
- DeferResponse
- FailureTimeout
- IOLogEntry
- InactivityTimeout
- NoFailWhileDisconnected
- QueueCountAlert
- QueueWaitAlert
- ReplyCodeActions
- Retry
- RetryCount
- RetryInterval
- SendSuperSession
- SuspendMessage
- ThrottleDelay
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnClose()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %SuperSessionSet()
- %ValidateObject()
- AdapterName()
- AssignOneSetting()
- CloseIOLogEntry()
- DeferResponse()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetMessageList()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- IncludeSuperSession()
- NewIOLogEntry()
- OnError()
- OnFailureTimeout()
- OnGenerateSuperSession()
- OnGetConnections()
- OnGetReplyAction()
- OnInit()
- OnKeepalive()
- OnMessage()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnTearDown()
- QueueName()
- SaveIOLogEntry()
- SendAlert()
- SendDeferredResponse()
- SendRequestAsync()
- SendRequestSync()