Tree structure of portal application in NWDS

Hi all,
Im new to portal applications and I did not under stand the tree structure that appears after we start portal application in ep perspective in NWDS. Especially the PORTAL-INF and src.code in the tree structure .If any body has any relevant information or document about it please send me.

portal applications are same as the Web applications developed in Java, JSP ....
PORTAL-INF is same as the WEB-INF in normal web application structure.
in Web application we create .war file whereas here we create as .par file.
in web application we have web.xml inside WEB-INF folder where as here we have portalapp.xml.
src.core and src.api is used as the source code folder.
You can check this in "Java Build path" if u go to the project properties.
Hope this give u a small idea on portal files structure.
cheers.
Chinmaya
Reward points for hellpful answers.

Similar Messages

  • Consume an existing WebService over an SAP Portal Application

    Hi all,
    I would like to consume an existing  Web service, which has been implemented under AXIS 4 1 and deployed to a tomcat 4.1 installation.
    I've developed an SAP Portal application with NWDS (Dynpage-Structure), which has to call this web service. For this, I've generated a standalone proxy client over WSDL of this WebServie under WebServiceWizard of NWDS and called it from my Portal Application, without success :(. But when i call it (proxy) from a standalone java client (Class with main-Method), it function.
    Can anybody help me, for calling this WebService
    Regards
    Ahmet Büyükyilmaz

    Hi Ahmet,
    open a browser on your portal server (or try telnet) to check if you can access your axis server. Seems like you have some firewall or routing probs.
    Just enter your web service uri in address bar of the browser to see if you can get a connection. If you do not have a browser, try:
    'telnet <axis-server-name> 80'
    from command line. Does anybody listen?
    Is your web service designed to be used by anybody? Or do you have some kind of authorization issues?
    HTH,
    Carsten

  • Portal application connecting backend SAP R/3 system

    Hi All,
               I am developing one portal application through NWDS. It's JSPDYNPage component.The applications functionality is basicaly is to connect it to backend SAP R/3 system & fetch some data in aparticular table & display that data in a tableview format on one JSP& also when i click any row of the tableview then details of that row should get displayed on the next JSP. So i reached till develpoing a code that connnects to Backend SAP R/3.(Basicaly coding of connection part is done). Now i need to test this code, to check whether it is fine or not? NWDS doesnt give nay error, not compile also or not runtime error also. It simply shows the output as a blank page, where it is supposed to display one line of text in textview(i coded this in my JSP).But as i said it displays a blank page. i tried to debug the application , but debugging also not worked.I performed the debugging twice in right way. The code was not debugged, it run the same way as it normally runs when debugging is off & shown the blank page. I also have done all the the settings or prerequisites for debugging properly. I am stuck at this point now.search many documents , but no relevant help has been received. Can anyonehlep me with this. i am putting below the code for JSP, JSPDYNPAGE component as well as portalapp.xml. Can anyone guide me with this, whhere i am making mistake? what should i change in this?
    JSPDYNPAGE code
    package com.lti.portal;
    //import java.util.ArrayList;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    import com.sapportals.htmlb.event.*;
    import com.sapportals.htmlb.page.*;
    import com.sapportals.portal.htmlb.page.*;
    import com.sapportals.portal.prt.component.*;
    import java.util.ArrayList;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    import com.sun.corba.se.internal.core.Response;
    public class Connection_R3 extends PageProcessorComponent {
    public DynPage getPage(){
    return new Connection_R3DynPage();
    public static class Connection_R3DynPage extends JSPDynPage{
    private Conn_R3 myBean = null;
    public JCO.Client mConnection;
    public JCO.Repository mRepository;
    public ArrayList al = new ArrayList();
    public String output;
    public String Ans;
    public static String BEAN_KEY="myBean";
    public void doInitialization(){
    IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
    IPortalComponentContext context = request.getComponentContext();
    IPortalComponentProfile profile = context.getProfile();
    //create & initialize the bean.
    Conn_R3 test_bean= new Conn_R3();
    test_bean.setans("3");
    // put the bean into application context.
    context.putValue(BEAN_KEY,test_bean);
    conn();
    //IPortalComponentResponse res = (IPortalComponentResponse)this.getResponse();
    //for(int i=0;i<al.size();i++)
    //res.write(" "+al.get(i).toString());
    public void doProcessAfterInput() throws PageException {
    public void doProcessBeforeOutput() throws PageException {
    this.setJspName("Connection_R3.jsp");
    public ArrayList conn() {
    IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
    IPortalComponentContext context = request.getComponentContext();
    IPortalComponentProfile profile = context.getProfile();
    Conn_R3 sample_bean = new Conn_R3();
    sample_bean.setans("5");
    //context.putValue(BEAN_KEY, sample_bean);
    //r3-accessing
    //connect_to_r3();
    try {
    // Change the logon information to your own system/user
    mConnection = JCO.createClient("800", // SAP client
    "********", // userid
    "******", // password
    null, // language
    "*******", // application server host name
    "**"); // system number
    mConnection.connect();
    //System.out.println(mConnection.getAttributes());
    mRepository = new JCO.Repository("ABC", mConnection);
    } catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    JCO.Function function = null;
    JCO.Table codes = null;
    try {
    function = this.createFunction("ZSAMPLE");
    if (function == null) {
    System.out.println("ZSAMPLE" + " not found in SAP.");
    System.exit(1);
    String num1 = "7";
    String num2 = "9";
    //String ans;
    function.getImportParameterList().setValue(num1,"My_import");
    function.getImportParameterList().setValue(num2, "My_Import");
    mConnection.execute(function);
    Object name =function.getExportParameterList().getValue(Ans);
    output=name.toString();
    sample_bean.setans(output);
    //sample_bean.setans(output)
    //al.add(name);
    //store values into strings
    //pushing of values we get from r3 into awt
    } catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    disconnect_r3();
    return al;
    public void connect_to_r3() {
    public JCO.Function createFunction(String name) throws Exception {
    try {
    IFunctionTemplate ft =
    mRepository.getFunctionTemplate(name.toUpperCase());
    if (ft == null)
    return null;
    return ft.getFunction();
    } catch (Exception ex) {
    throw new Exception("Problem retrieving JCO.Function object.");
    public void disconnect_r3() {
    mConnection.disconnect();
    //**********************<b>Code for BEAN</b>****************************
    package com.lti.portal;
    import java.io.Serializable;
    public class Conn_R3 implements Serializable {
    public String answer;
    public void setans(String a)
    answer=a;
    public String getans()
    return answer;
    ///////////////////////<b>Code for JSP</b>*****************************
    ><%@ taglib uri= "tagLib" prefix= "hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.lti.portal.Conn_R3" />
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <hbj:form id="myFormId" >
    <hbj:textView
    id="Welcome_message"
    text="<%=myBean.getans()%>"
    design="STANDARD" >
    </hbj:textView>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    /////////////////////////////////<b>Portalapp.xml</b>*****************************************
    application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="Address_comp">
          <component-config>
            <property name="ClassName" value="com.lti.portal.Address_comp"/>
          </component-config>
          <component-profile>
          <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>

    Hi,
       Do onething, please refer this <a href="http://www.i-barile.it/SDN/JCoTutorial.pdf">JCo Tutorial</a> as well as <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">Link</a> also.
    Regards,
    Venkatesh. K
    /* Points are Welcome */

  • SAP Portal Application development & Deployment

    Hi Guys,
    I'm trying to find a way to customise the top navigation on the Portal (e.g. mahe a hover menu navigation).
    The way to do it is to develop a new portal application using NWDS.
    I'm struggling to follow any of the samples as they all refer to .PAR files, which is not supported anymore by NWDS 7.1.
    What is the right way (and steps) to deploy the SAP Portal application from NWDS to our SAP Portal.
    Thank you.

    Hi Pashaking
    Please check below docs might help
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066b302-09c8-2a10-a894-eb9fef30df85?QuickLink=index&overridelayout=true
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    Hope it will helps
    Regards
    Arun Jaiswal

  • Embedding a table in a tree structure in an in WebDynpro application

    Hi All,
    I need an application that displays a table dynamically in a tree structure as it's child node.
    Can any one suggest me how to approach ?

    Hi SMI SAP Project Team,
    Please check the code for loop and lead selection when you setting the values.
    for( f = 0; f < e; f++)
    Refer to below documents:
    initializing AbstractList Model in Custom Controller
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90?quicklink=index&overridelayout=true
    Hope it will helps
    Regards
    Arun

  • How to create a PortalSite map in a tree structure

    Hi,
    We are trying to reuse SAP Portal EP 7.3 standard functionalities related to create a Portal Site Map.
    I've seen the procedure to create a Workset map iview (http://help.sap.com/saphelp_nw73/helpdata/en/49/32a7a9e8c45aaae10000000a42189d/frameset.htm), but we are interested in generate this map contained in a tree structure, because currently the SAP EP 7.1 brings the menu and option format.
    I would like to know if this is possible using the standard functionalities or it is required to develop any application?
    Please if you could help me it would be really useful.
    Thanks in advance,

    Thanks for your help Srinivas,
    I was trying to know if it was possible to assign a style or layout to the site map iview created using the standard map iview delivered by SAP EP 7.3. I was looking for documentation but it is not enough at all and in my project we are still working with SAP EP 7.0
    Please, if anyone could know about the map site iview standard and the available styles or maybe it is not changeable.
    In that case, the only way it would be a development to get the tree structure.
    Thanks!!!!

  • Reg:Adobe Flex Application in NWDS 7.0

    Hi,
    I would like to create a Flex Application in NWDS 7.0.I tried to add Adobe Flex plugin to NWDS.It ended up with some warning.Still I am not finding any option to create flex project.
    My question is Flex plug-in works only with 7.1.Or can I really create flex project using NWDS 7.0.If yes what is the plug-in version should i use?
    Thanks
    Akshaya

    Hi Ayyappa,
    As I mentioned , I tried to add Adobe flex plugin 3.0 to NWDS.It came up with an error saying "Supported version of eclipse not found".
    So I  installed the eclipse 3.2 and added flex plug in to this eclipse,created the flex project .
    Added this project structure to the web module project in NWDS and packed it to Application Module project and deployed it to the portal.
    Created an URL iveiw in the portal.This is the way I am trying to integrate flex applications in portal.
    To integrate flash Islands in WebDynpro,I need NWDS7.1. But I am working on NWDS 7.0.
    Can I deploy the applications developed using NWDS 7.1 into Portal 7.0.Will that be compatible ?????
    I need suggestion on the same.Is there any other way that I can look into.
    Regards
    Akshaya

  • Tutorial on Portal application

    Hi all,
    I need to create a small portal application : 1 screen calling some BAPIs. I usually work with Web Dynpro for Java but here I am asked not to use this technology. I read the documentation but I couldn't find any tutorial on Portal development and the development process is still not clear to me (do I need to create EP project, J2EE project in NWDS ?). Does anyone have a link on this ? Just one simple how-to describing step by step the creation of one iView calling a BAPI would be perfect ! (like in the Web Dynpro tutorials https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d)
    Thanks in advance.
    Best Regards,
    Julien

    Also this has working example:
    Explode BOMs in Enterprise Portal using htmlb tree - Part 2 (JAVA)
    Regards,
    P.

  • Fetching data in R/3 via portal application(JSPDYNPage)

    Hello Everyone,
                           I want to fetch data in R/3 server via portal application(JSPDYNPAGE) & display that data as an output of the portal application in TABLEVIEW format. Can anyone guide me on this (I:e-How to connect to R/3 server via portal component & fetch data & display the same). any similar application developed for a reference will be of great help.
    Thanks,
    Chetan

    Hi Chetan,
    I hope you know how to create a JSP Dyn Page, anyway I will explain it briefly.
    Open NWDS->File->New->Create a portal application project->Specify the project name
    right click on the project->New->Create a new portal application object->Portal component->Select JSP dyn page-(By default it creates class and all)->this is available under description on the right column-
    Now goto the Java page->see the functions->attach zip and jar files(HTMLB plugin)
    ->Right click on the project->goto properties->Java build path->Add external jars->Select com.sap.portal.htmlbbridge.zip and htmlb.jar
    This is how JSP page is created.
    Now we want to do establish connection with R/3. That I will discuss in the next session.
    Award points if this was helpful......
    All the best for you
    Regards,
    Arun Jacob.

  • How to create Tree structure in Visual Composer

    Hi All,
         I need to develop tree structure in my VC application. Can any one of you please suggest me the steps to do it.Its very urgent please can any one help me out in this.
    Regards,
    Lakshmi

    Hi Nutan,
    if you want to solve it with webdynpro it depends on your skills in java and abap. There are books available to start with webdynpro and there are examples for building tree structures with Webdynpro.
    [Java Webdynpro|http://www.sappress.com/product.cfm?account=&product=H983]
    [ABAP Webdynpro|http://www.sappress.com/product.cfm?account=&product=H1916]
    If you want to do it in VC you have to write e.g. an ABAP rfc function module, which returns you the tree with the information about childnode, parentnode and so on, so that you can display it in the table. But if the users click on sort then the tree is "destroyed". You can also display only a few levels of your tree and when you select a certain node a drill down is done by calling a rfc which returns the child nodes of the corresponding node.
    But I think the solution with VC is not the best. Use webdynpro for this requirements.
    Best Regards,
    Marcel

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Error while creating OCA application in NWDS 7.1

    Dear Experts,
    I am creating mobile application for Handhelds (OCA) using mobile 7.1.
    I created the service component, ui component and application component. Added the dependencies, build the application, uploaded the 3 components to the server, assigned it to my device.
    But when I login into the mobile client in PDA, in application launcher screen, no application appears. In Device admin portal when i check, the status of MCD is installed.
    Also when i simply run the application from NWDS using the built in PDA simulator, the application doesnt show any data and on the NWDS console i get the following error
    2009-02-10 20:22:22 ...  (com.sap.tc.mobile.cfs.pers.PersistenceManager:release resultset) Thread: Finalizer Error: java.sql.SQLException: Result set is closed
    I am sure the coding part is not a problem. As before this application i created a similar application for Laptops and its working fine.
    Reply Awaited
    Regards
    Priya

    Hi Veera/Abhi
    I have installed MinDB and all the required files on the PDA. It is synchronizing with the middleware.
    On my NWDS PDA  Simulator , the application is appearing but when i click on the application there is no data and it is giving exception
    2009-02-11 13:02:40 ...  (com.sap.tc.mobile.cfs.pers.PersistenceManager:release resultset) Thread: Finalizer Error: java.sql.SQLException: Result set is closed
    Madhu--
    Please find my ans to the following points mentioned by you
    1) BASIS SWCV must be assigned in the Distribution Model Software Component Version tab of the device.
    It is assigned
    2) Activate the "DISTRIBUTE_USER_DETAILS" Rule in the admin.
    Rule is activated
    3) Activate the "DISTRIBUTE_USER_AUTHORIZATIONS" Rule in the admin.
    Rule is activated
    4) Make sure that you have installed the following components in the following sequence in the PDA
    - Creme
    - MinDB/DB2e
    - PDA_eswt_container
    - PDA Runtime.
    Client is  installed in this sequence only. I referrred to help.sap.com while installing
    the application should atleast work in the NWDS PDA simulator. My basic problem is it is not picking  up the data. giving the above mentioned error.
    Regards
    Priya

  • Consuming external Web Service in portal application:Error URL.getProtocol

    Hello!
    I implemented a portal application which consums a external Web Service with NWDS 7.2.
    The Webservice access works fine when I test it in a Java-Main Class.
    If I deploy the application in a portal then I get the error:
    java.lang.NullPointerException: while trying to invoke the method java.net.URL.getProtocol() of an object loaded from local variable 'tmpUrl'
    It seems that my service_client-class has the problem to call the wsdl if the application is in portal:
    static {
        java.net.URL url = null;
        try {
                   java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");
                  url = new java.net.URL(tmpUrl.getProtocol(), tmpUrl.getHost(), tmpUrl.getPort(), tmpUrl.getFile());
        } catch (java.net.MalformedURLException e) {
          e.printStackTrace();
    Can anybody help me?
    Thanks, Thomas

    Hello Thomas,
    I got the same error. In my case I used an Enterprise Application Project for the developement of my Portal Service. The portal service itself was calling an external webservice.
    The reason in my case lies behind the generation of the EAR-File with the NetWeaver Developer Studio). Inside the generated EAR-File the WSDL-File was always missing. In consequence "
    java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");" is always "NULL".
    and "tmpUrl.getProtocol()" leads to the NullPointerException.
    So I copied my wsdl-folder / package with the wsdl-file inside the {application}.ear / {application}.war / WEB-INF / private / lib / {application}.jar and everything works fine:-)
    Regards
    Steffen
    PS: Today I found a better way without copying the wsdl-file into the EAR-File. I just didn't use the Enterprise Application Project for the developement of portal services anymore. If you look inside the generated EAR-File, you can see, that you can develop the portal service also by using a simple Dynamic Web Project wrapped by an Enterprise Application Project:-)
    (Rem.: Don't miss the portalapp.xml deployment descriptor).
    If you deploy the Enterprise Project the WSDL-File is always inside the generated EAR-File :-)

  • Error after deploying JCA on EP6( Portal Applications with  RFC)

    <b><u><b>Error</b></u>
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>
    I<u><i><b> have written code in java file for connection as follows
    please help me.</b></i></u>
    package com.rr.JspPage;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    import com.sap.security.api.umap.NoLogonDataAvailableException;
    import com.sapportals.connector.ConnectorException;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.execution.structures.IRecordMetaData;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    @author laxmikant.pathak
    To change the template for this generated type comment go to
    Window>Preferences>Java>Code Generation>Code and Comments
    public class JspPage extends PageProcessorComponent {
      public DynPage getPage(){
        return new JspPageDynPage();
      public static class JspPageDynPage extends JSPDynPage{
        /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doInitialization()
         public void doInitialization()   {
              try {
                        IConnectorGatewayService cgService =(IConnectorGatewayService)
                        PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                        IPortalComponentRequest request=(IPortalComponentRequest) this.getRequest();
                        ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
                        IConnection connection = cgService.getConnection("P35",cp);
                        IInteraction ix = connection.createInteractionEx();
                        IInteractionSpec ixspec = ix.getInteractionSpec();
         //               Put Function Name into interaction Properties.
                       ixspec.setPropertyValue("Name","ZHRESS_ESEPARATION_DETAILS");
                       RecordFactory rf = ix.getRecordFactory();
         //               create input MappedRecord from
                       MappedRecord input;
                        input = rf.createMappedRecord("input");
                        input.put("YYMOD","DIS");
                        input.put("YYUSR","EMP");
                        MappedRecord output = (MappedRecord)ix.execute(ixspec, input);
                        IRecordSet rs = null;
                       Object result = output.get("T_P9100");
                        if (result instanceof IRecordSet)
                             rs = (IRecordSet) result;
                        IRecordMetaData rsmd = null;
                        try
                             rsmd = rs.retrieveMetaData();
                        } catch (Exception ex)
                             ex.getStackTrace() ;
         //                  Do something with the Metadata
                        finally
                             if (connection != null)
                                  try
                                       connection.close();
                                       //logMsg("* Iview: Closing connection ok.");
                                       connection = null;
                                  catch (Exception e)
                                       //logMsg("* Iview: Error closing connection.");
                   } catch (ConnectorException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoLogonDataAvailableException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (javax.resource.ResourceException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("JspPageFile.jsp");
    <b>My Jsp file</b>
    hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
        Test
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b><u>XML File</u></b>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
      </application-config>
      <components>
        <component name="JspPage">
          <component-config>
            <property name="ClassName" value="com.rr.JspPage.JspPage"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/JspPageFile.jsp"/>
            <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    <b>Error
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>

    Hi Laxmi,
    this is a portal application problem - nothing to do with this forum. Anyway - you can try by changing your component-config portion in portalapp.xml and see whether it works or not.
    Your current component config is like below
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="ComponentType" value="jspnative"/>
    <property name="JSP" value="pagelet/JspPageFile.jsp"/>
    <property name="ServicesReference" value="com.sap.portal.ivs.connectorservice"/>
    </component-config>
    Try replaing the same with below:
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
    </component-config>
    Check once and let me know...
    regards,
    Shubho

  • Event Handling in portal application

    Hi friends,
      In portal application i have defined two methods called "docontent" and "docompute".here iam giving the code.
    package com.seal;
    import com.sapportals.portal.prt.component.*;
    public class abstract1 extends AbstractPortalComponent
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    response.setContentType(PortalComponentContentType.HTML);
    IPortalComponentURI uri = equest.createPortalComponentURI);
    uri.setPortalRequestEventrequest.createRequestEven"compute"));response.write("<form action=\"" + uri.toString() +
    "\" method=\"post\">" + "<table>" + "<tr><td>" + "Enter your name" + "</td>" +"<td>" + "<input type=\"text\" me=\"expression\" value=\"" +name + "\">" + "</td></tr>" + "<tr><td></td><td>" +     "<input type=\"submit\" value = \"Tell" + "\">" +"</td></tr>" + "</table>" + "</form>");
    public void doCompute(IPortalComponentRequest request, IPortalRequestEvent event)
    System.out.println("doCompute");
    try {
    name = event.getData().getAttribute("expression");
    state = WELCOME_STATE;
    } catch (NullPointerException npe) {
    For the doCompute method am getting the following the
    error: no other errors am getting xcept this.   
    IportalRequestEvent cannt be resolved(or is not valid type) for the argument of the method docompute.
    Can anybody please help me how to solve it.
    Thanks and regards
    sireesha

    hi sireesha,
    glad to know that I have been of some help to you .
    When you do source->Organise Imports the NWDS automatically calls all the imports that are necessary for your code provided that these import packages are on your build path . Hope this answers your question.

Maybe you are looking for

  • 3G Ipod not recognized by itunes (Windows XP)

    Hi, I've had a 3G ipod for about three years and it worked fine. About a month ago I plugged it in (into the USB port) and iTunes did not recognize it at all. iTunes froze up and my iPod did not appear in the left hand column. My computer somewhat re

  • Adobe Encore CS3 compatiblity with Windows 8.1?

    Is Encore CS3 compatible?

  • Password not working, please help

    Hi there! I have a very big problem. I have one admin user on my mbp and only one password. It's always worked for installing apps and for coming back from screensaver. Yesterday I decided to turn "automatic login" off. When I turn my bmp on I'm aske

  • How to locate my stolen Ipad Air

    can you please help me to locate my Ipad Air even though its accessed to the internet or wifi? Thanks you!

  • Tomcat3.3, JSP, getOutputStream() has already been called

    In Tomcat 3.3a, I get an IllegalStateException.... getOutputStream() has already been called... error when running a JSP page that renders an image. <img src="image.jsp?image=name.gif"> I want to use JSP to keep everything JSP...and it works fine in