Call Web Service with Profile in Response Route

Assume you want to create a destination structure and populate it with data that you want to submit to a web service. For this, you can automatically generate the destination structure based on the WSDL of the target system.

images/download/thumbnails/69044232/Profilausgang_0_EN-version-1-modificationdate-1615189877027-api-v2.png


Click (1) in the destination structure and select menu item Create structure -> from WS-SOAP request. Another dialogue opens.

images/download/attachments/69044232/Profilausgang_4_EN-version-2-modificationdate-1615191172366-api-v2.png


In (2), enter http://localhost/dw/Request/addWebService?wsdl. Note: Regarding the web service URL see section Call Web Service with Profile in Input Agent.

After clicking (3), the input field (4) will be filled.

Click (5), to create the destination structure.


images/download/thumbnails/69044232/Profilausgang_1_EN-version-1-modificationdate-1615189877020-api-v2.png


Configuring Integration Unit


Select Integration Unit XMLNoTemplateUnit and enter value Add for parameter Root node name. You can ignore all other parameters. Now switch to phase 6 of the profile.


Configuring Response Route of Type HTTP

Please configure the HTTP Response Route as shown in the screenshots below.


images/download/attachments/69044232/Profilausgang_5_EN-version-2-modificationdate-1615191588301-api-v2.png

images/download/attachments/69044232/Profilausgang_6_EN-version-2-modificationdate-1625737266990-api-v2.png


Additionally, the following Content has to be set.


images/download/attachments/69044232/Profilausgang_7_EN-version-1-modificationdate-1615189877031-api-v2.png

Evaluating HTTP Response


If the web service returns a response that you want to evaluate, you can do that with option (7). See section Response Route HTTP(S).