cancel
Showing results for 
Search instead for 
Did you mean: 

How to call both xacute query and xml query inside a single applet

Former Member
0 Kudos
156

Hi,

I am very new to XMII. Trying with a simple exercises now.

1. I have a Business Logic Transaction which will call external application using web services then it will get an output as xml and storing it in C:\.

2. Then I created one xacute query which will call the transaction

3. Then I created a xml query that will read the xml in c:\ and I too created a visual display template(ichart) for it

4. Created a html file -- created a applet , called all the 3 inside it. NOt getting any graph in IE

5. But if I call only xml query and display query its working

<b>following are my HTML file:</b>

<html>

<head>

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>Order Percent Complete</title>

</head>

<body>

<p>

<APPLET NAME="MyApplet" WIDTH="640" HEIGHT="400" CODE="iChart" CODEBASE="/Illuminator/Classes" ARCHIVE="illum8.zip" MAYSCRIPT>

<PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTxnTemplate">

<PARAM NAME="QueryTemplate" VALUE="UserTemplates/POTemplate">

<PARAM NAME="DisplayTemplate" VALUE="UserTemplates/POVisual">

</APPLET>

</p>

</body>

</html>

6. In POTxnTemplate -- calling Transaction BL

In POTemplate -- fetching xml from c:\

In POVisual -- displaying the ichart (using POTemplate)

Can any one help me with this?

I am doing in the right path?

Thanks in Advance,

Murugappan.

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

You can only enter one query template into an applet. Use the xacute query template. In the transaction assign the output of the web services results to a transaction property of type xml making sure you select the "Output Parameter?" option. These results will need to be in xMII format. Then open the xacute query template and verify that the output parameter you created is selected as an Output on the transaction tab.

Former Member
0 Kudos

Thanks Jamie. This solved my problem

Answers (0)