Profile as Web Service (with response)
This section explains how to create a profile that is acting as a web service and sends a response to a client that is requesting this web service. It is necessary that you have read section Profile as Web Service (without response).
Create Profile 'Act_As_Web_Service_2'

Please create the profile Act_As_Web_Service_2 with Input Agent Manual upload (will be changed later). Set the Data type to XML (2), activate the profile (3), use the encoding UTF-8 (4), set (5) and enter value Article in (6) to.
Create Source Structure

Now create a source structure as shown in the screenshot above. The match codes have to be defined with condition Equals and the actual names of the elements and attributes in the XML file (so group and not group_attr). When you are finished, create a 1:1 mapping.
Modify Destination Structure
Please change the name of node Article-1 to HoHo.
Configure Integration Unit
Select Integration Unit XMLNoTemplateUnit and enter value HoHo for parameter Root node. You can ignore all other parameters.
Create Response Route


Create a new Response Route of type Custom class and choose class DefaultWebServiceResponse and set the content to Content of IU. Then go back to the Input Agent.
Modify Input Agent

Choose the event-driven Input Agent HTTP(S). Set all the values as shown in the screenshot above. Save the profile. Done!
Testing the Web Service
Please refer to section Call Web Service with Profile in Input Agent for that.