Service Interface queries¶
A Service Interface <query> invokes an external operation to resolve a domain question.
<query name="FindRooms">
<parameters><parameter predicate="room_date"/></parameters>
<target><http endpoint="https://service.example/find-rooms"/></target>
</query>
name identifies the query operation. It requires parameters and target children. In Tala 31.0.1 the target must be HTTP; frontend targets are not supported for queries. The corresponding domain plan item is invoke_service_query, which uses the DDD question's predicate and type to select the operation.
See Parameters and Targets.