Add schema details in Responder Correlation
hi,
We have multiple request which have same main tag but we need to identify request with schema details. As these requests have different schema details. Any way to add it in responder correlation ?
Comments
-
Responder correlation on "Request Body" allows one to use xpath to define the correlation. That is usually sufficient for differentiate schema details.
0 -
if we add the xpath for Responder correlation on "Request Body then it select local name as main xml header <Request....DataOrder>
but in actual XML it has schema also. That we are not able to select. As there are multiples request which has same header <Request....DataOrder>
but schemas are different. so how do we add those schema for identify the correct request.0 -
Can you give an example of how "in actual XML it has schema also" in your case?
0 -
<ns1:Request....DataOrder xmlns:ns1="urn.v4.abc.service.cm>
<ns1:Request....DataOrder xmlns:ns1="urn.v4.pqr.service.cm>
0 -
but schemas are different
I am inferring you mean that the namespaces are different. You can build XPaths that match only on local name or localname and namespace. For example:
/*:Request/*:DataOrder
vs/*:Request/*[local-name(.)="DataOrder" and namespace-uri(.)="urn.v4.pqr.service.cm"]
0