Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.56 KB

app-service-logic-enterprise-integration-xml-validation.md

File metadata and controls

47 lines (40 loc) · 2.56 KB
title description services documentationcenter author manager editor ms.assetid ms.service ms.workload ms.tgt_pltfrm ms.devlang ms.topic ms.date ms.author
Overview of XML validation in the Enterprise Integration Pack | Microsoft Docs
Learn how validation works in the Enterprise Integration Pack and Logic apps
logic-apps
.net,nodejs,java
msftman
erikre
cgronlun
d700588f-2d8a-4c92-93eb-e1e6e250e760
logic-apps
integration
na
na
article
07/08/2016
deonhe

Enterprise integration with XML validation

Overview

Often, in B2B scenarios, the partners to an agreement need to validate that messages they exchange among each other are valid before processing of the data can begin. In the Enterprise Integration Pack, you can use the XML Validation connector to validate documents against a predefined schema.

How to validate a document with the XML Validation connector

  1. Create a Logic app and link it to your integration account that contains the schema you will use to validate the XML data.
  2. Add a Request - When an HTTP request is received trigger to your Logic app
  3. Add the XML Validation action by first selecting Add an action
  4. Enter xml in the search box in order to filter all the actions to the one that you want to use
  5. Select XML Validation
  6. Select the CONTENT text box
  7. Select the body tag as the content that will be validated.
  8. Select the SCHEMA NAME list box and chose the schema you want to use to validate the input content above
  9. Save your work

At this point, you are finished setting up your validation connector. In a real world application, you may want to store the validated data in an LOB application such as SalesForce. You can easily add an action to send the output of the validation to Salesforce.

You can now test your validation action by making a request to the HTTP endpoint.

Next steps

Learn more about the Enterprise Integration Pack