Yes, the identifying query is what we were after. That’s what is used when you hit the Test Query button. You’re using the presence of the OrderIssueDate to identify this as an Order? Seems a bit odd but may be okay.
The sample document you posted declares a default namespace of “Order”. Your query is using a namespace identified by prefix0. Associate prefix0 with the “Order” namespace by declaring it on the Namespaces tab and your query should work. Or, you can get rid of the namespace label in your query. Which approach to use depends on how many partners send this type of document and if they use different namespaces.
You might want to review the TN documentation for more info on setting up TN doc types and queries.
#webMethods#B2B-Integration#Integration-Server-and-ESB