I need some help over Webmethods Trading Network related stuff.
Inorder to define a Document type in Trading Network using a sample xml file I imported the invoice.xml file (Sample xml) using file option available in the Document type identify panel.
I found that in the parsed invoice.xml each node is prefixed with “prefix0” in the Document type screen. Like prefix0:InvoiceType…ect…where as the tag in the xml does it contain this prefix0.
Hence the XQL generated in the identify panel to extract the value in the tag “InvoiceType” (for example - invoice.xml) is (this is generated automaticaly when we click the node )
where as the correct syntax of the XQL should be (without prefix0)
When I tried to test both the correct syntax XQL, as well as the prefixed one in the TN Console they are not producing the result and throwing a message
“This is not a valid query for this document”.
Hence we are unable to extract the info from the XML.
Can you please share your thought and clarrify what went wrong !!!
Thanks in advance.