cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bls xml manipulation

Former Member
0 Likes
318

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 ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

Hi Antonio,

In order to do an XacuteQuery against your transaction, the resulting output needs to be in Illuminator Rowsets/Rowset/Row format, which means you would need to build an xMII XML format document using the xMII XML Output action blocks.

Regards,

Diana

Former Member
0 Likes

Hi Diana,

The Illuminator XML format restricts me having only two hierarchy levels of data . Anyway, your answer me correctly .

Kind Regards,

Antonio Rodriguez Ruvalcaba

Former Member
0 Likes

Hi Antonio,

I'm not sure how much experience you have with xMII, but if you have not done so, I would recommend signing up for training classes - I think you would be amazed at just how powerful this product is.

- Diana

Former Member
0 Likes

Hola Antonio,

Is your transaction output property of datatype xml?

Kind Regards,

Diana Hoppe

Former Member
0 Likes

Yes