@startuml
autoactivate on
ApplicationService -> PropertiesRepository: by_location(location_id)

PropertiesRepository -> Client: list_properties(...)

box "\nExternal service\n"

Client -> ProviderService: HTTP request
return XML response

return <Response>

autoactivate off
PropertiesRepository -> PropertiesRepository: map_to_entities

note left: XML parsing\nhappens here

return  "[<PropertyEntity>, ...]"
end box
@enduml

Download properties.puml

properties.puml rendered as SVG properties.puml rendered as SVG
Rendered diagram

PlantUML draws diagrams from plain text. Paste the source into the online server, or render it locally with plantuml -tsvg properties.puml.