Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
user19
Contributor
Contributor

validate RESPONSE (XML file) in Talend studio

Hello,

How can I validate my RESPONSE (XML file). I have a situation where my response XML file's attribute does not have same order as they are in WSDL. All attributes are present but order is different, how can I make sure that attributes come in same way as they are in schema. My service is running as a route. Is there any component to validate XML response?

Thanks in advance

Labels (3)
1 Reply
Anonymous
Not applicable

Are you talking about elements or attributes. Elements are shown like this.....

 

<myElement>My element's value</myElement>

 

....attributes are shown here in bold....

 

<myElement attribute1="value1" attribute2="value2">My element's value</myElement>

 

The order of attributes never matter, the order of elements often do not matter either....so long as the nesting of elements is maintained.

 

I am guessing you are talking about elements here though. So the first question is, does the order of the elements really matter to the application you are using the XML with?