Getting error in implementing Train.

Hi,
I am just trying my hand in implementing simple train.
What I am doing is -
1) I have created one train region
2) Added two links in that with destination url mentioned.
3) Created two pages which extends this train region(mentioned these pages in the destination url of train links).
4) Now when I am running the 1st page I am getting
following error..
This page uses a train but does not contain a Next/Back Locator element (OANavigationBarBean). According to the UI Standards a train should always be implemented in conjunction with the Next/Back Locator element.
Now when I added navigationbar in the page that error is removed but when I clicked on Next button(which comes automatically when navigationbar is added) control is not progressing..it is staying on the same page...
Can some one help me out n tell what I am missing.
Thanks & Regards,

Hi,
Thnx for the help.I was following the steps as mentioned in the tutorial but that is a bit hard to understand
viz what exactly is to be mention in the first step and last step of navigationbar region.Also not clear abt the code that is to be put in page controller and in the controller of the train region.
Does any one have some other document to refer.
Thanks

Similar Messages

  • Getting error while implementing the Export to Excel in VC

    Hi
    By refering the following link, i have implemented  Export To Excell functionality in VC.
    When i copied the following formula in the respective formula window, then it is giving the following error. can any body awareof what is the problem.
    copied formula :
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
    ex?QUERY=" & STORE@REPTNAME &
    "&BI_COMMAND_1-
    BI_COMMAND_TYPE=EXPORT&BI_COMMAND
    1-EXPORTFORMAT=XLS&BI_COMMAND_1-
    null="
    Occurred Error:
    Field "REPTNAME" does not exist in DataStore parameters.
    Referred link to implement
    2) Another one that's in the Visual Composer WIKI:
    https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC
    Regards
    Vijay

    Hi Anukur,
    Thanks for the reply,
    I have copied same formula which is given in that doc. now i have added one field
    REPTNAME. Now i have come from that problem. Formula showin as valid. when i click on check button.
    Now when i compile , i havnt got any any but when click on deploy i am getting the following error.
    Error in compiling Flex application: Error 1002: String literal was not properly terminated
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:265)
    Error 1033: ')' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:266)
    Error 1205: The statement 'dd_ons' is incomplete.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:266)
    Error 1025: Left side of assignment operator must be variable or property.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:268)
    Error 1033: ':' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:269)
    Error 1025: Left side of assignment operator must be variable or property.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:270)
    Error 1033: ';' expected
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:271)
    Error 1205: The statement '' is incomplete.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:269)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:271)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:272)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:273)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:281)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:293)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:298)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:299)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:301)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:323)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:336)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:337)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:338)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:340)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:347)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:370)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:393)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:425)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:470)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:479)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:489)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:509)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:521)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:535)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:543)
    Error 1128: Attribute used outside class.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:559)
    Error 1030: Statement block must be terminated by '}'
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:19)
    Error 1000: Syntax error.
          (D:\usr\sap\EPD\JC01\j2ee\cluster\server0\GUIMachine_Business_Packages\NewTestModel_28609\FLEX_COMPILATION_FOLEDR\AADMV.mxml:570)
    Failed to compile AADMV.mxml
    Can u tell what is the problem here
    Regards
    Vijay

  • Getting error "LifeCycle implementation could not be loaded. JBIFW2004"

    I deployed a BC, getting following error in the server.log file :
    [#|2006-01-04T19:17:31.144-0800|SEVERE|sun-appserver-pe8.1_02|com.sun.jbi.framework|_ThreadID=10;|JBIFW2003: LifeCycle implementation could not be loaded. JBIFW2004: Required class ms.sun.jbi.binding.file.FileBindingComponent was not found.|#]
    Can you please help me about how to resolve this issue?
    Another Question:
    Can two BC can have same "endpoint-name" value declared in their endpoints.xml on same domain?

    Thanks,
    I followed the instructions, and getting follow relavent records in server.log
    [#|2006-01-05T09:55:38.913-0800|FINEST|sun-appserver-pe8.1_02|com.sun.jbi.framework|_ThreadID=10;|JBIFW0206: Custom ClassLoader - loadClass: ms.jbi.binding.file.FileBindingComponent|#]
    [#|2006-01-05T09:55:38.913-0800|FINEST|sun-appserver-pe8.1_02|com.sun.jbi.framework|_ThreadID=10;|JBIFW0206: Custom ClassLoader - loadClass: ms.jbi.binding.file.FileBindingComponent|#]
    [#|2006-01-05T09:55:38.923-0800|SEVERE|sun-appserver-pe8.1_02|com.sun.jbi.framework|_ThreadID=10;|JBIFW2003: LifeCycle implementation could not be loaded. JBIFW2004: Required class ms.jbi.binding.file.FileBindingComponent was not found.|#]

  • Proxies just and getting error No implementing class

    Below are the steps I am seeing of a once functioning proxy any help will be greatly appreciated
    When I send a test message from runtime workbench, it shows up in sxmb_moni as a green flag, clicking in the message I see the following error
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface SI_9002_SAP_FI_Send</Trace>
      <Trace level="1" type="T">select interface namespace http://sempra.com/sapfi/AccountingData</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      </SAP:Trace>
    From SXMB_MONI I click into the queue and unlock to force a send, after doing that I recheck SXMB_MONI and the flag is red for failed with the following message
    No implementing class registered for the interface
    (ABAP interface, request message ..........)
    I then check to ensure the proxies are still active along with the class and they are. I also ready about checking the rfc H connection via sm59 and doing the connection test I received a 500 empty HTTP Response which is good?
    So my question, my proxies did work but all of the sudden are failing? Has anyone seen this issue before and if so any idea on how to fix it?
    Cheers
    Devlin

    <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
    <Trace level="1" type="T">Hence set action to DEL</Trace>
    Check these:
    Re: Moni Issue
    no interface found
    Regards,
    Abhishek.

  • After implementing Note 992032 getting errors in Bex workbook

    Hi All,
    After Implementing the note 992032 (You must first implement Notes 932065, 935140, 948389, 964580 and 969846, which provide information about using transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement some notes) getting error messages in BEx workbook when try to filter on any InfoObject but when I run query I'm getting data but not able to filter, we are using BI 7 on patch 11. When implementing the note number 964580 it's giving error and this particular note number is not yet implemented.
    Getting error messages like:
    1. Error reading the data of InfoProvider 0FIAR_O03
    2. An error occurred in the program:
    3. ORA-20000: Insufficient privileges ORA-06512: at "SYS.DBMS_STATS", line 2150 ORA-06512: at "SYS.DBMS_STATS", line 14112 ORA-06512: at line 1
    4. System error in program CL_RSR_WWW_RENDERER and form GET_FILTER_VALUES_CHA:03 (see long text)
    Before implementing 992032 everything worked well.
    Could anyone please help!
    King Regards
    Suman

    We are getting similar errors after applying BW SP11 yesterday on our dev BW system.  I've opened a message with SAP support .  If anyone gets a solution for this please post it.
    Regards,
    Ron.

  • Getting error while posting GR using IBD from BAPI_GOODSMVT_CREATE

    Hi Experts,
    While posting GR from IBD using BAPI_GOODSMVT_CREATE with all necessary values like plant,material,mvttype and serial numbers etc...
    getting error from BAPI return "1  E VLA 315 Item 000010 requires serial numbers; use the inbound delivery dialog".
    I have tried with same IBD number from Tx: VL32N able to post Goods receipt successfully with above data,but whereas tried to post same IBD with Tx:MIGO getting same bapi error as above mentioned.
    I have tried with solutions some of the blogs from SCN but no luck
    is it necessary to implement this note in my system?
    Error message VLA315 during GR for inbound deliv. using MIGO
    Can you please give me suggestions what i have missed in my code/Configurations.
    Thanks,
    Syam

    is it necessary to implement this note in my system?
    Error message VLA315 during GR for inbound deliv. using MIGO
    Yes. Installing notes using Tx SNOTE is very easy. If you find a note that is relevant for your system, just install it.

  • Getting error while passing implicit request object from JSP to JavaBean

    Hi,
    I am getting error while passing implicit object ie( request object)
    from within JSP to JavaBean.
    Following is source for JSP, JavaBean and Error message I am getting.
    vaLookup.jsp Source
    <jsp:useBean id="db" class="advisorinsight.javabeans.DisplayPages"
    scope="request">
    <jsp:setProperty name="db" property="request" value="<%= request %>"
    />
    </jsp:useBean>
    <jsp:getProperty name="db" property="totalrecords" />
    JAVABEAN DisplayPages.java source
    package javabeans;
    import java.io.Serializable;
    import javax.servlet.http.HttpServletRequest;
    public final class DisplayPages implements Serializable {
    private String totalrecords;
    private HttpServletRequest request;
    public void setRequest(HttpServletRequest req){
    this.request = req;
    public java.lang.String getTotalrecords()
    this.totalrecords =
    this.request.getParameter("totalrecords");
    return this.totalrecords;
    public DisplayPages(){
    totalrecords = "";
    request = null;
    error after executing vaLookup.jsp
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service JavaExtData successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service LockManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service RLOPManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:7] info: ENGINE-ready: ready: 10819
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:46:0] info: JSPRunnerSticky: init
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:51:7] error: Exception: SERVLET-compile_failed:
    Failed in compiling template: /va/valookup.jsp, javac error:
    c:\iplanet\ias6\ias\APPS\variabl
    S\va\valookup.java:76: Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    Exception Stack Trace:
    java.lang.Exception: javac error:
    c:\iplanet\ias6\ias\APPS\variableannuity\va\WEB-INF\compiled_jsp\jsp\APPS\va\valookup.java:76:
    Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown
    Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown
    Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    The only thing that I see that looks funny to me is when you pass the request object into the method using <%=request%>, Im not sure whats going to happen here because that is suppose to print the results. Have you tried simply using <%request%>?

  • Getting error during write back operation in OBIEE

    Hi Experts
    I have implemented the Write back operation in OBIEE . My xml code is
    <?xml version="1.0" encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="NEW">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>UPDATE ACCT_DIM SET HIPC_FLAG='@{c5}' WHERE ACCT_SR_KEY=@{c0} </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    But i am getting error when i will click on Write Back Button.
    An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists, contact your system administrator.
    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: 27024] The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL "Connection Pool"
    Please suggest me how to remove this error.
    Thanks In advance
    Rehards
    Sunil

    Hi experts
    This is my xml code but i am not able to update records in my database. is there any changes required in this xml.
    <?xml version="1.0" encoding="utf-8"?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="new">
    <XML>
    <writeBack connectionPool="Connection Pool">
    <insert> </insert>
    <update>UPDATE ACCT_DIM SET HIPC_FLAG='@{c4}' WHERE ACCT_SR_KEY=@{c0} </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    My table name in database is ACCT_DIM and i am updating HIPC_FLAG in my table.
    I am getting error:
    An error occurred while writing to the server. Please check to make sure you have entered appropriate values. If the problem persists, contact your system administrator.
    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: 27024 The EXECUTE PHYSICAL statement must specify a physical SQL statement to execute. (HY000)
    SQL Issued: EXECUTE PHYSICAL CONNECTION POOL "Connection Pool"
    Thanks in advance
    Regards
    Sunil

  • Getting Error in java mapping: Parsing empty source. Root element expected!

    Hi Experts,
       I am using java mapping for schema validation of input message. I have followed all the standard procedures and implemented the java class in the interface mapping.
    My interface mapping is like this:
    OrderData --->Java Class ---SchemaValidate
                         Mesg Map ---OrderData_to_BAP --->BAPI Msg
    So first I want to validate the schema of the input message. If the input message is invalid then XI should throw an exception. Then I use the actual message mapping to map the input order data to the BAPI input parameters.
    In the java code I am using xerces parser.
    The java code works fine when I run it as a standalone application.
    The interface mapping also works fine if I don't include the java mapping. Ofcourse schema validation does not happen.
    But when I test the interface mapping by including the java mapping then I am getting the error:
    Call method execute of the application Java mapping SchemaValidate
    Java mapping SchemaValidate completed. (execute() of SchemaValidate
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Parsing an empty source. Root element expected!
    What am I doing wrong? Why it is not getting the root element?
    My Java code is as follows:
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.helpers.*;
    import org.xml.sax.*;
    import org.apache.xerces.jaxp.*;
    Sample mapper for SAP-XI
    @author Gopal
    public class SchemaValidate implements StreamTransformation {
        //Constants when using XML Schema for SAX parsing.
         static final String JAXP_SCHEMA_LANGUAGE =
         "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
         static final String W3C_XML_SCHEMA =
         "http://www.w3.org/2001/XMLSchema";
         static final String JAXP_SCHEMA_SOURCE =
         "http://java.sun.com/xml/jaxp/properties/schemaSource";
    Injection of mapping parameters
    from integration engine
    @param map Map with configuration data
        public void setParameter(Map map) {
    Mapping implementation
    @param inputStream Input data from integration engine
    @param outputStream Output data to integration engine
        public void execute(InputStream inputStream,
                            OutputStream outputStream)
          throws StreamTransformationException {
            try {
                  // obtain an object of class javax.xml.parsers.SAXParser,
                  SAXParserFactory spf = SAXParserFactoryImpl.newInstance();
                  spf.setNamespaceAware(true);
                  spf.setValidating(true);
                  SAXParser sp = spf.newSAXParser();
                  // setup the schema file
                  sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
                  sp.setProperty(JAXP_SCHEMA_SOURCE, new File("IOReqMsgSchema.xsd"));
                  //parse the input xml using the given schema
                  sp.parse(inputStream, new ParseErrorHandler());
            catch(SAXException se) {
              se.printStackTrace();
            catch ( Exception e ) {
              throw new StreamTransformationException( e.getMessage() );
    My input message is :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:OrderCreate_request xmlns:ns0="mynamespace">
       <ORDER>HTEST1234567</ORDER>
       <ORDER_TYPE>z001</ORDER_TYPE>
       <ORDER_NAME>Test Order</ORDER_NAME>
       <CO_AREA>INTC</CO_AREA>
       <CCTR_POSTED>1234567890888888888</CCTR_POSTED>
       <CURRENCY>USD</CURRENCY>
       <PERSON_RESP>12345679</PERSON_RESP>
    </ns0:OrderCreate_request>
    Kindly help! please this is urgent!!!!!!
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Feb 28, 2008 9:34 AM

    Hi Stefan,
       I did the code changes to return output stream and the java code works perfectly in standalone mode in my PC.
       But when I use the same in the Java mapping with XI then It throws an error "Getting Error in java mapping: Parsing empty source. Root element expected!".
    My XI J2EE server has JDK1.4.3.11.
    Is there any limitation of using SAX parser in XI? If Yes, then which parser should be used for schema validation in XI?
    I have included the XSD file for schema validation along with class files in the .jar file. This jar file is then imported in XI repository. Is the XI engine not able to read the XSD file?
    Do I have to handle reading XSD file differently? Any suggession how?
    Is this parser error due to some security access?
    Kindly help me! I have been struggling with this problem since 2 weeks. I will be greatfull to you if you can help me.
    Thanks
    Gopal

  • Getting Error in SSO with OWA scenario.

    Hi All,
    I am trying the SSO with OWA with EP 6.0 SP13. I am refering the document " Integration Of OutLook Web Access  into SAP Enterprise Portal "
    I am getting following error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Unknown Logon Method 'null' for system 'SSO_OWA'.
    See the details for the exception ID in the log file.
    I do not find any option which allows me to specify the Login Method While creating a system, in SP13.
    What should I do to get the successful implementation?
    Thanks in Advance.
    Pradnya

    Hi Pradnya
    There are three methods for creating a new system
    <b>1. Use the XML profile in a deployed PARfile</b>
    The new system inherits all the global properties defined in the PAR file component. It inherits property names, meta attributes and any default property values.
    <b>2. Use an existing template.</b>
    If the template was created directly from the PAR file, the new system is identical to the one generated by the first method. If the template has undergone changes, the system inherits the changes made to the property attributes in the template.
    <b>3. Copy an existing system</b>
    The procedure you use to create a system is not application-sensitive.
    You run the same wizard for creating the system for any of the applications to which the portal provides connectors, or for which you have created and deployed a PAR file. The differences reside in the XML profiles, whose properties are determined by the application being defined, as each application has some unique connectivity requirements.
    For further details, please go through the following link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/ec/0fe43d19734b5ae10000000a11405a/content.htm
    Hope that was helpful.
    Warm Regards
    Priya
    P.S: Please consider rewarding points if your problem is solved.

  • I am trying to use overdrive and keep getting error 2004.

    I keep getting error 2004 on overdrive.  How do I   reset my adobe?

    Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html
    They can reset your authorizations, and then you must reauthorize any devices you still need.
    (Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
    Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
    in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
    If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations  (E_ACT_TOO_MANY_ACTIVATIONS) .  Thanks to AJP_Bear for that tip.

  • Errors on IMAQ Train SVM due to invalid number of labels in weighted cost

    I get errors when I try to train texture using 'IMAQ Train SVM' due to invalid number of labels in weighted cost. I could not find much information about weighted cost for the 'Model Options' input. What type of label needs to be supplied and how many? I could not find any related information in NIVisionConcepts document. Are there any other references?
    Thanks,
    -ygno

    Hi ygno,
    According to this help document you need an array of labels and weight. Make sure you initialize the array when you use the VI and have the appropriate amount of elements in the array.
    Paolo F.
    National Instruments
    Applications Engineer

  • Getting error for classpath setting during compilation

    Hi,
    I tried sampel code of SchematronValidation bpel sample code from oracle site.But while compiling the code,I am getting following error:
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Plz help me on this to resolve!!!
    Regards,
    Deb
    Edited by: DevD on Jun 30, 2011 2:40 PM

    Hi Yatan,
    Thanks for your inputs.
    I have added BPM-Workflow class file in project properties.Now SOA-BUILD successful,but while deploying to server I am getting error:
    Error during deployment: Deployment Failed: Error occurred during deployment of component: SchematronValdiationProcess to service engine: implementation.bpel, for composite: SchematronValidation: ORABPEL-01005
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SchematronValdiationProcess" of composite "default/SchematronValidation!1.0*soa_1272dcc8-82cf-4306-b31f-7aacd0be61cb"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    [05:10:15 PM] Check server log for more details.
    [05:10:15 PM] Error deploying archive sca_SchematronValidation_rev1.0.jar to partition "default" on server soa_server1 [10.185.51.136:8001]
    [05:10:15 PM] #### Deployment incomplete. ####
    [05:10:15 PM] Error deploying archive file:/C:/JDeveloper/mywork/GM_POC/SchematronValidation/deploy/sca_SchematronValidation_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Plese help me on this!
    Regards,
    Deb

  • Getting error code sec_error_inadequate_cert_type

    Hi, when I trying to open the application url: https://ibox2.qa.wddl.il/ianalystmanager-platform-qa1/. I am getting error message: Secure Connection Failed
    An error occurred during a connection to ibox2.qa.wddl.il.
    Certificate type not approved for application.
    (Error code: sec_error_inadequate_cert_type)
    I have no issue open it in chrome, and via safari, I am allowed to select trust a certificate and continue to open. But via firefox (version 13.0.1), there is no button or checkbox what so ever.
    Could you please help?
    Thanks!

    We have a webservice client trying to connect to Sun One webserver using https. we have a certificate in pfx format and converted the same in to java keystore and configured ssl on both the client and the server side. Now when the client makes a SSL call we get the following error
    On SunOne Webserver side (Server Side)
    15/Mar/2007:17:57:05] failure (11671): Error receiving request from xxx.xxx.xxx.xx (SEC_ERROR_INADEQUATE_CERT_TYPE - Certificate type not approved for application.)
    From Client Side
    Server write key:
    0000: CF 9C 53 43 E7 62 21 61 D6 AA BD 6B C8 0F AE 6E ..SC.b!a...k...n
    ... no IV for cipher
    JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
    *** CertificateVerify
    main, WRITE: TLSv1 Handshake, length = 134
    main, WRITE: TLSv1 Change Cipher Spec, length = 1
    JsseJCE: Using JSSE internal implementation for cipher RC4
    *** Finished
    verify_data: { 30, 154, 149, 239, 161, 151, 84, 255, 29, 180, 155, 24 }
    main, WRITE: TLSv1 Handshake, length = 32
    waiting for close_notify or alert: state 1
    main, READ: TLSv1 Alert, length = 2
    main, RECV TLSv1 ALERT: fatal, certificate_unknown
    main, called closeSocket()
    Exception while waiting for close javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
    main, handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
    Any help is much appreciated.

  • Getting error in activating transformation in BI content

    Hi Experts,
    When I am activating this transformation CUBE 0PA_C01 -> CUBE 0TMC_C02 in bi content, I am getting error "Endroutine: Syntax error in routine".
    I checked the end routine and checked it and received following msg:
    E:The data object "LS_RESULT" has no component called "POT_VL_K", but there is a component called "POT_VL_C"
    Since this is standard routine I cannot edit it.
    Any suggestions..
    Thanks,
    Ravi

    Hi,
    But I am getting other errors while activating other transformations also which are as follows:
    1. Transformation- TRCS 0PA_TMC_11 -> ODSO 0TMC_DS11
        error message: Error in end routine
           E:The data object "LS_RESULT" does not have a component called "NOM_STATUS".
    2. Transformation- ODSO 0TMC_DS11 -> CUBE 0TMC_C01
    Error while activating transformation Message no. RSTRAN510
    3. In another transformation. The following infobject is kef figure.
    Error:
    InfoObject 0ACTION_CNT (version A) is not compounded
    P.S: The solution provided by you in previous message needs to modify routine. But since this is standard routine how can i do it? Did you implement on your side?
    Full points if issue is resolved.
    Thanks,
    Ravi

Maybe you are looking for