In previous post we have created SOAP connection, now we will use that connection to expose our integration as SOAP API
- Navigate to Design -> Integrations
- Click on Create button and then choose Application style
- Enter the name of integration and click on Create button
- Select the SampleSoapServiceConn as trigger point of this integration
- Enter any name for the trigger point and click Continue button
- Select the GetMessage operation (this operation name is coming from WSDL file) and click Continue button
- Click Continue button again
- Review the details and click Finish button
- Trigger point will be added with one Mapper activity
- Edit the mapper file and Right click Message field and click Create target node
- Enter the below mapping and then click validate button
- Click on Errors and then add Primary Business Identifier
- Then click on Save button
- Activate the integration and click on Run Detail
- Run details will give URL for WSDL file
- Open SOAP UI and give the WSDL URL
- Edit the payload and click the submit button to test it
- You will then receive the response
- So, this is how you can expose the integration as SOAP API
Comments
Post a Comment