on 2007 Sep 04 3:01 PM
I am doing my first testing on xml manipulation . I began by assigning an xml value to an transaction output parameter and when calling this transaction there is no output .
¿ what may be the problem ?
Request clarification before answering.
Antonio,
In the Query Template editor, I assume you are selecting the output parameter from the Outputs list box on the Transaction tab.
Without knowing what your transaction looks like, it is difficult to know exactly what is happening. Are you using an Assignment action block? Are you sure you are getting output from whatever it is you are linking in to the output property? You can use the Tracer Action from the Logging Menu to verify that you are getting output prior to assigning it.
Have you tried just linking the xml output of something simple - like a tag query to the Simulator server, and then doing an XacuteQuery against it, to make sure that
you understand the concept?
Kind Regards,
Diana Hoppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, thanks for your help. My approach in learning xml manipulation is to start with a simple assignment of a local variable to a transaction output variable. I am doing the following in the xMII logic editor :
1.- I have created a local property with name X of type Xml with a value of :
<?xml version="1.0" encoding="UTF-8"?> <book> <title>My First XML</title> <prod id="33-657" media="paper"/><chapter>Introduction to XML <para>What is HTML</para> <para>What is XML</para> </chapter> <chapter>XML Syntax <para>Elements must have a closing tag</para> <para>Elements must be properly nested</para> </chapter> </book>
2.- I have created a transaction property with name X of type Xml with the Output Parameter checked
3.- My first sequence has an assignment action block which assigns the value of the local property X to the transaction property X . The link type is Assign XML
4.- I have a second sequence with a tracer action which gives me the desired output in the transaction property X when executing the transaction
5.- I have a third sequence with a XmlSaver action which gives me the desired output in a file when executing the transaction
6.- I am doing an XacuteQuery against this transaction using the X as an output and I get no results.
7.- Using the NONE- output , I get a TRANSACTION EXECUTED OK message
King Regards
Antonio Rodriguez Ruvalcaba
Hola Antonio,
Is your transaction output property of datatype xml?
Kind Regards,
Diana Hoppe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.