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

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.

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.

Similar Messages

  • How to Run both UCM Server and Webcenter Portal Services on single Weblogic

    Hi,
    First i have installed Oracle UCM and configure it on Weblogic Server successfully. But after the installation of Webcenter Portal on same machine and Weblogic Server. UCM Server is not running it shows Forcefully shutting down error. Kindly help me i want to run both UCM and Webcenter Portal Servers on one Weblogic server.
    Regards
    Shaheer Badar
    www.infotechinspiration.blogspot.com

    Hi Shaeer,
    Make sure that you dont have same port numbers on both servers.
    If it then try to avoid them.
    Secondly also check nodemanager log server log to verify why it went to shutdown mode.
    Regards,
    Kal

  • How to get both OTF data and spool at a time

    Hi Experts,
        My requirement is to get both OTF data and spool.
    In 'OPEN_FORM' i tried passing itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    I was able to get OTF data but spool is not getting generated.
    IF i pass only itcpo- TDNEWID = 'X'. the spool is getting generated but not OTF data.
    when both the fields are set i.e. itcpo-TDGETOTF = 'X'. itcpo- TDNEWID = 'X'.
    the spool is generation is getting supressed.
    Similarly when i tried to get OTF data by passing itcpo-TDGETOTF = 'X'. to 'OPEN_FORM' as i need to convert it to PDF and send it to vendors as email ,
    The print preview in TCODE ME23n was not getting generated for 'MESSAGE' option 'External send'.
    Please suggest me how to get both OTF data and spool at a time.

    Hi Kartik,
    This one is similar to my question to print and email invoice at same time.  I pass itcpo-tdgetotf = 'X' in order to get otfdata and send email with the attachment of otfdata.
    Now I have data in otfdata, but when I call print_otf function, I clear out itcpo-tdgetotf, and passed
    itcpo-tddest = device_type but I still get error message said 'Handler not valid for open spool request'.
    Can you give me a working example that you have otfdata table and print data from that table.  I also post my question on other thread
    submit report and export to memory
    thanks

  • Combine query and xml recordset

    I'm trying to see what's the best way to combine a query and
    XML recordset.
    Database:
    TableA
    FieldA, FieldB, ...
    Joe, 1
    Bob, 2
    XML from Web Service
    <record id="1" att="Job A" .../>
    <record id="2" att="Job B" .../>
    Need to link TableA.fieldB to matching id attribute from the
    XML recordset.
    Right now, I load theXML recordset along side the query and
    use XPath to search the XML based on parameters from the query that
    I'm looping and output the results to screen.
    <cfloop ...>
    xmlStr = xmlSearch(xmlRecordset,"/root/record[id =
    #qry.fieldB#]");
    <tr><td>qry.fieldA</td><td>xmlStr</td></tr>
    </cfloop>
    Just wondering to see if it's good to do it like this.

    Might be faster to convert the xml to a query and then use
    query of queries with a join statement.

  • How to call the css file and its images from our application......

    hai,
    Im uploading a .css file and some images in Apex shared components ,now how to call the css file and images from my Application.... plz tell me detailed.....
    Edited by: anoo on Nov 3, 2008 12:51 AM

    Hi Anoo,
    Sorry, didn't see that you'd started a new thread, so have answered this in 'undefined' is null (or) not an object "
    Andy

  • Regarding Sender query and receiver query

    Hi Masters
          I have one sender query and receiver query. Both queries contain G/L account.
    First I got sender query report, in this report I drill down one free charactteristics field to get correponding field sales document in receiver report.
    Is it mandatory which field i drill down in sender report should be in receiver report?
    Could you please help ?
    Thanks in Advance
    Raja.S

    I would rewrite the first one to:
    Select t.id_entity,t.id_trade_ref,p.am_stock
    from trade t,posting p
    where t.id_trade_ref = '5V973781B'
    and p.id_trade_ref = t.id_trade_ref
    This way, you really make the join between the table.
    I think the join is better because it uses less code. I do not think you will notice much performance win between one or the other, especially because it concerns only a few rows.

  • Modes and Methods in Tag Query and SQL Query

    Hi,
    Can someone explain me about the modes available in <b>TAG Query and SQL Query.</b>
    TAG Query has modes such as <b>Current, CurrentWrite, GroupList, History, HistoryEvent, ModeList, Statistics and TagList</b>
    SQL Query i still have doubt on <b>FixedQuery with output , Modelist and TableList</b>
    I also need to know why methods are used?
    Thanks in advance
    Regards
    Muzammil

    I'll try to  explain to the best of my knowledge :
    <u><b>TagQuery</b></u>
    <b>Current</b> : Gives you the current value of the Tag you are reading.
    <b>CurrentWrite</b> : Let you write a Value as the Current Value of the Tag.
    <b>GroupList</b> : Generally Tags are grouped under different groups. Returns you the name of the Groups.
    <b>From the xMII Help Document :</b>
    <b>History</b> : History Mode returns interpolated data.  Interpolation can be accomplished by specifying either the # of rows desired or the retrieval resolution.  If the mode is "History" and a value is provided for the Resolution parameter (which is in seconds), the connector will retrieve evenly-spaced values starting at the beginning of the time interval, up to the maximum # of rows specified in the RowCount parameter.  If no value is provided for the Resolution parameter, the connector will return an evenly-spaced number of values based on the value of the RowCount parameter.
    For example, if the time interval is 1 hour, Resolution is 15, and RowCount is 240, the connector will return evenly spaced values each 15 seconds, up to 240 values (which would span the entire hour).
    If the time interval is 1 hour, Resolution is not provided or is set to zero, and RowCount is 120, the connector would return 120 evenly spaced values, at an effective interval of 30 seconds.
    <b>HistoryEvent Mode</b> : The connector can provide historical values "as they were stored" the database.  This mode provides no interpolation of values.
    <b>Statistics Mode</b> : When retrieving data for statistical calculations, the connector utilizes the same techniques as in the "HistoryEvent"  mode.  It is important to note that the first two returning columns in the HistoryEvent query must be the timestamp and the value, in that order.  The SAP xMII Statistical processor expects that order, or errors will occur.  This ensures precision of statistical measurements, particularly time-weighted average, by using the exact storage time and values from the historical database.  The SAP xMII system provides the statistical calculations.
    <b>Modelist</b> : Basically returns the modes of the Query Available. The Data returned is same as the data in the Modes list in the Quert Template Editor.
    <b>Taglist</b> : Returns all the Tags in the Datasource.
    <u><b>SQL Query</b></u>
    <b>Modelist</b> : Same as above.
    <b>TableList</b> : List of all the tables in the database to which the connector connects.
    Again from SAP xMII Help Documentation :
    <b>FixedQueryWithOutput</b> : This mode is used to execute an Oracle stored procedure or function that returns a REF CURSOR as output.  The position of the REF CURSOR is marked by a "?" in the query.  For example:
    <b>Create a table.</b>
    <i>create table usage (id int, name varchar(50));
    insert into usage (id, name) values (1, 'test1');
    insert into usage (id, name) values (2, 'test2');
    insert into usage (id, name) values (3, 'test3');
    insert into usage (id, name) values (4, 'test4');
    insert into usage (id, name) values (5, 'test5');
    insert into usage (id, name) values (6, 'test6');
    insert into usage (id, name) values (7, 'test7');
    insert into usage (id, name) values (8, 'test8');</i>
    <b>Define the stored procedure.</b>
    <i>DROP PACKAGE foopkg;
    CREATE PACKAGE foopkg IS
      TYPE cursortype is ref cursor;
      PROCEDURE test (mycursor in out cursortype);
    END foopkg;
    CREATE PACKAGE BODY foopkg IS
      PROCEDURE test (mycursor in out cursortype) AS
      BEGIN
         open mycursor for select * from usage;
      END;
    END foopkg;
    </i>
    Define a query template for calling the stored procedure.  Enter the following in the FixedQuery tab:
    <b>call foopkg.test(?)</b>
    This template returns all rows from the Usage table.

  • Sapquery , adhoc query and Infoset query

    any body having any material for ADHOC QUERY , SAP QUERY and Infoset query with detail explanation and steps for creation.
    plz forward it to me??????????

    hi,
       sap query r used to design reports to see the data according to our selections in this daa is fetched from diff tables its  much easier to desing reports using this
                 infoset query is somthign used with BI ints used to read data form PSA some temp storage loc
               if i am wrong someone correct me
    reward if useful
    ravi

  • Ad hoc query and Sap query

    Hi all
    What are Ad hod query and sap query? Why we use these two?
    thanks and regards
    Seenu

    in order to get the reports as per the client requiremnt
    we use the queries
    and the the data from these queries will be taken form PNP logical data based tables
    EX: in the standrad report for Absences
    the client may ask for
    PERNR   NAME    position   Department  Absence type start date Endate
    in the standrad report u can get the PERNR and Absence type and start date and end date
    but u cannot get position and department
    so we use  Queries we select the feidls from various reports and get a farmot as per the client reqiremnt
    Check SQ01  02  03 tcoeds
    u can alsoc check SQVI

  • Detail differentiation between add query,combined query and sub query

    HI
    I would like to know the detail differentiation between add query,combined query and sub query with  universe
    correct me if I a wrong
    Add query : adding of different query from different universe and also with in same universe.
    Combined query : combining query using operators(Union,intersection,minus)with in same universe.
    Sub query :getting results from the sub query and the result serves as the data for main  query within same universe.

    Hi,
    I would advise you to check the product documentation under http://help.sap.com/
    regards
    Steph

  • How to create a binding through code for both a table and a query component

    Hi,
    I have a unique use case where I need to dynamically assign the dataBindings to a query Component and its resultant table component in a page. What I mean is,
    1. I have a jsff page with a query and table (no bindings associated)
    2. I know the name of the AM and the VO
    3. I need to through java code create a DataCntrol bindin for
    a. <searchRegion/> for query component
    b. <iterator ... /> and <bindings... /> for the table
    4. The VO and AM is dynamic and not known at design time.
    Is there anyway to achieve this? Please let me know if you need further classification on my question.
    Appreciate your input!
    Thanks
    Pallavi

    I think this is the start point to start with
    [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/003-advanced-el-tips-169117.pdf] Advanced Expression Language Techniques

  • How to enable both WS Security and MTOM

    I am trying to call a web service running in JBoss. The web service is enabled with both ws
    security and MTOM as per the requirement. When i am trying to call the web method from my
    java client, i am getting the below exception
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Endpoint
    {http://wsg.hpos.om.hp.com/}HPOSGatewayPort does not contain operation meta data for:
    {http://www.w3.org/2001/04/xmlenc#}EncryptedData
    at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException
    (SOAPFaultHelperJAXWS.java:72)
    at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException
    (SOAP11BindingJAXWS.java:109)
    at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage
    (CommonSOAPBinding.java:579)
    at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)
    at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:300)
    at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:166)
    at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152)
    at $Proxy17.getName(Unknown Source)
    at wsclient.TestHPOSClient.main(TestHPOSClient.java:106)
    my client code is:
    URL endpoint_new = new URL("http://15.70.176.190:9000/HPOSGateway/HPOSGateway?wsdl");
    QName qname = new QName("http://wsg.hpos.om.hp.com/", "HPOSGatewayService");
    HPOSGateway port = new HPOSGatewayService(endpoint_new,qname).getHPOSGatewayPort();
    BindingProvider bp=(BindingProvider)port;
    SOAPBinding binding = (SOAPBinding)bp.getBinding();
    binding.setMTOMEnabled(true);
    Map<String,Object> map = bp.getRequestContext();
    map.put(BindingProvider.USERNAME_PROPERTY,"administrator");
    map.put(BindingProvider.PASSWORD_PROPERTY,"da1sy");
    URL securityURL = new File("c://jboss-wsse-client.xml").toURL();
    ((StubExt)port).setSecurityConfig(securityURL.toExternalForm());
    ((StubExt)port).setConfigName("Standard WSSecurity Client");
    map.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
    "http://15.70.176.190:9000/HPOSGateway/HPOSGateway");
    System.setProperty("org.jboss.ws.wsse.keyStore", "c:\\wsse.keystore");
    System.setProperty("org.jboss.ws.wsse.trustStore", "c:\\wsse.truststore");
    System.setProperty("org.jboss.ws.wsse.keyStorePassword", "jbossws");
    System.setProperty("org.jboss.ws.wsse.trustStorePassword", "jbossws");
    System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
    System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
    System.out.println(port.getName("Welcome to this testing part."));
    ,, my jboss.wsse.client.xml is...
    <?xml version="1.0" encoding="UTF-8" ?>
    <jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-
    security/schema/jboss-ws-security_1_0.xsd">
    <config>
    <encrypt type="x509v3" alias="wsse" />
    <requires>
    <encryption />
    </requires>
    </config>
    </jboss-ws-security>
    and my jboss-wsse-server.xml is ...
    <?xml version="1.0" encoding="UTF-8"?>
    <jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-
    security/schema/jboss-ws-security_1_0.xsd">
    <key-store-file>WEB-INF/wsse.keystore</key-store-file>
    <key-store-password>jbossws</key-store-password>
    <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
    <trust-store-password>jbossws</trust-store-password>
    <config>
    <encrypt type="x509v3" alias="wsse"/>
    <requires>
    <encryption/>
    </requires>
    </config>
    </jboss-ws-security>
    i have my web service annotations like below.
    @WebService(name="HPOSGateway",targetNamespace="http://wsg.hpos.om.hp.com/")
    @EndpointConfig(configName = "Standard WSSecurity Endpoint")
    @BindingType(javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
    @HandlerChain(name = "HPOSGateway_handlerChain", file = "HPOSGateway_handler.xml")
    public class HPOSGateway{
    Can any one help me what is the problem and where i need to change? Please it is very
    urgent.
    Regards
    Ramchand

    Welcome to the forum!
    Even if it were physically possible, you wouldn't be able to use both Ethernet ports at the same time, because the motherboard doesn't support more than one connection at the time.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • How to get both, the ResultSet and Output (return value) from Oracle Stored Procedure

    Hi! I am doing a conversion from MSSQL to Oracle with C++ and MFC ODBC. Any comment is appreciated!! I have Oracle 8i and Oracle ODBC 8.1.6 installed.
    My question is how to retrieve the return value AND ALSO the resultSet at the same time by using Oracle function without modifying my souce codes (except puttting mypackage. string infron of my procedure name, see below).
    -- My source code in C++ with MSSQL ....
    sqlStr.Format("{? = call ListOfCustomers(%i)}", nNameID);
    RcOpen = CustomerList.Open(CRecordset::forwardOnly, sqlStr, CRecordset::readOnly );
    Where CustoemrList is a Crecordset object...
    IN DoFieldExchange(CFieldExchange* pFX) I have ...
    //{{AFX_FIELD_MAP(CQOSDB_Group)
    pFX->SetFieldType(CFieldExchange::outputColumn);
    RFX_Long(pFX, T("Name"), mCustoemrName);
    //}}AFX_FIELD_MAP
    // output parameter
    pFX->SetFieldType( CFieldExchange::outputParam );
    RFX_Int( pFX, T("IndexCount"), mCustomerNumber);
    -- m_CustomerNumber is where i store the return value!!!
    -- In Oracle Version, i have similar codes with ...
    sqlStr.Format("{? = call mypackage.ListOfCustomers(%i)}", nNameID);
    RcOpen = CustomerList.Open(CRecordset::forwardOnly, sqlStr, CRecordset::readOnly );
    -- I have oracle package/Body codes as following...
    create or replace package mypackage
    as
    type group_rct is ref cursor;
    Function listgroups(
    nameID NUMBER ,
    RC1 IN OUT Mypackage.group_rct ) return int;
    end;
    Create or replace package body mypackage
    as
    Function listgroups(
    NameID NUMBER ,
    RC1 IN OUT Mypackage.group_rct )return int
    IS
    BEGIN
    OPEN RC1 FOR SELECT Name
    from Customer
    WHERE ID = NameIDEND ListGroups;
    END
    return 7;
    END listgroups;
    END MyPackage;
    Ive simplified my codes a bit....
    null

    yes, it is exactly what i want to do and I am using Oracle ODBC driver.
    I tried using procedure with 1 OUT var fo numeric value and the other IN OUT ref cursor var instead of function, but error occurs when I called it from the application. It give me a memory ecxception error!!
    sqlStr.Format("{? = call ListOfCustomers(%i)}", nNameID);
    RcOpen = CustomerList.Open(CRecordset::forwardOnly, sqlStr, CRecordset::readOnly );
    it seems to me that the ? marker var is making all the trouble... can you please give me any more comment on this?? thanks!
    null

  • How to call webservices in BSP and ABAP

    I am new to use webservices.Please help me to call a ABAP Webservice in ABAP program and How to call a other Webservice like Java Webservice in ABAP.  Please give me steps to follow.
    Thanks,
    Suneetha.

    May be this prog. will give u the required info.
    Use a free web service in an ABAP program  which validates * an email-id.
    REPORT zvalidate_email.
    PARAMETERS: p_mail(100) LOWER CASE.                 " E-Mail id to be verified
    DATA: http_client TYPE REF TO if_http_client .
    DATA: w_string TYPE string ,
          w_result TYPE string ,
          r_str    TYPE string .
    DATA: result_tab TYPE TABLE OF string.
    START-OF-SELECTION .
      CLEAR w_string .
      CONCATENATE
      'http://www.webservicex.net/ValidateEmail.asmx/IsValidEmail?Email=' p_mail
    INTO
      w_string .
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = w_string
        IMPORTING
          client             = http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
      CALL METHOD http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3.
      CLEAR w_result .
      w_result = http_client->response->get_cdata( ).
      REFRESH result_tab .
      SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .
      READ TABLE result_tab INTO r_str INDEX 2.
      IF r_str+44(1) = 't'.
        WRITE:/ 'Valid email address'.
      ELSE.
        WRITE:/ 'Invalid email address'.
      ENDIF.

  • How to call PL/SQL function and pass parameter to ODI variable?

    Can I call PL/SQL function and assign a return value to an ODI variable? Also can I assign ODI variable to IN paramter and assign OUT parameter to ODI variable? What ODI doc has that information?
    Thanks

    Hi,
    Refer this http://odiexperts.com/how-to-use-plsql-procedures-and-functions-in-odi
    Thanks,
    Sutirtha

Maybe you are looking for

  • Submit button not working on ipad

    We have an interactive form and a submit button where it posts the copy of the PDf file to the server(URL). It works fine on Desktop; however when I open the file on iPad, and click on the buttons, they do not trigger any event(it does not work). Is

  • Sound Distortion problems w/ lower frequency tones/instuments

    I've been ending up with a lot of distortion in tracks when I bounce them over to Itunes. Primarily w/ lower frequency notes on bass and various pads - it's frustrating to have to adjust all the levels to lose the distortion. I obviously don't want t

  • ESS in WebDynpro abap

    hi friends, i am working with WebDynpro-Abap,ABAP i want to learn ESS & MSS i had searched  in SDN i find no of documents but i can't decide which is right and better one. i don't know about those topics can any one suggest 1.what is ESS & MSS? 2.Wha

  • Hi i am experiencing the below problem. Any help please?

    View Display Error Odbc driver returned an error (SQLExecDirectW).    Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P  State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Orac

  • Pages per sheet layout option defaults to letter paper format

    Hello, I'm trying to print multiple pages to a single page using the Layout->"Pages per sheet" option in the printing dialogue (for instance in Preview). It does not matter what paper size I chose (A4 usually) or what paper size my original document