Skip to Content
0
Former Member
Nov 29, 2006 at 05:01 PM

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

109 Views

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.