When a document comes from TN how would you determine if it is cXML 1.1 or cXML 1.2 so that you can map it to the appropriate structure.
In TN DocumentType section select the cXML document type what ever the version you are using and specify Identifying queries
(on the rightside)set
/cXML/@Version on the Query field and set value field to 1.1 or 1.2
I think this solves your requirement.
HTH.
What to do when TN invokes your service sending you the document and you have to determine in the service if the incoming document is cXML 1.1 or 1.2. We can have vendors sending us XMLs for both versions and we need to handle both in our service.
Thanks,
Are you receiving cXML message with cXML version=1.0 or 1.1 ??
So that after your service invokes then include a Branch step in your flow as a starting point and invoke the acutal mapping service.Is this make sense?