Service Interface actions¶
An <action> binds a DDD service-action invocation to an application-facing frontend action or an HTTP endpoint.
<action name="BookRoom">
<parameters>
<parameter predicate="room_date" format="value"/>
</parameters>
<failure_reasons><failure_reason name="unavailable"/></failure_reasons>
<target><http endpoint="https://service.example/book-room"/></target>
</action>
The name is required and must match the name used by invoke_service_action. Tala 31.0.1 requires parameters, failure_reasons, and target children, even when a section is empty. Use <failure_reasons/> when no failures are declared.
See Parameters, Failure reasons, and Targets.