How to transport web xml content in portal

Hi Everyone,
I have created web xml content in my dev portal which has user messages.Now i wanr to transport all these to QA portal.i have transported all the content using KM content transport procedure. i even transported /etc/xmlforms.
now if i check in QA portal i can see all the message links but when i click these links,a window pops up with XML code of that particular form instead of that message.
Is there anything which i have forgotten or which needs to be done.
Please do the needful.
Thanks and Regards,
Atul Dumbre.

Hi Mikhail,
Thanx a ton for your reply.
My problem has been solved and now i can see all the web xml forom content in my QA Portal.
But now my problem is that when i edit or create new message in my QA Portal it doesnt reflect in my User message area or in the messages list.
Could you please help me out with that
Thanks and Regards,
Atul Dumbre
Edited by: AtulDumbre on Jun 8, 2011 7:47 AM

Similar Messages

  • How to generate web.xml automatically?

    Hi all!
    I am new to servlets. I have configured the tomcat 5.5.9 with eclipse 3.0 succussfully. It is generating the class files. But I want to know how to generate web.xml through it.
    Thanks in advance...
    Code Snooker

    AFAIK, there's no template for generating web.xml.
    Navigate to <TomcatInstallDir>/webapps/
    You would find lot of directories - each one being a web application.
    Navigate to any one, say ROOT and then to the WEB-INF directory
    under that.
    You would find a web.xml.
    Copy it into your <web-application-dir>/WEB-INF folder and make necessary changes
    cheers,
    ram.

  • How should my web.xml be ?

    Hi,
    I have a servlet application. In my application, I make a call to my servlet through my index.html as follows:
    <Form Action="/greeting/servlet/GreetingServlet" method="POST">
    I also pass the values "name" and "email" through index.html
    I have my servlet located at "D:\Amith\Servlet Applications\greeting\WEB-INF\classes"
    I have added following lines in my server.xml
    <Context path="/greeting" docBase="D:\Amith\Servlet Applications\greeting">
    </Context>
    The application runs fine with Tomcat 3.3.2 without web.xml
    But when i try to run the application with Tomcat 5.0.24, I get the error
    "HTTP Status 404 - /greeting/servlet/GreetingServlet"
    Can anyone help me with this. Should i have web.xml for this. If yes, how should my web.xml be ?
    Please help, I am unable to solve this problem from a very long time. I am really struck !!!
    Thanks,
    ammi

    <web-app xmlns = "http://java.sun.com/xml/ns/j2ee" version = "2.4">
    <servlet>
         <servlet-name>GreetingServlet</servlet-name>
         <servlet-class>project.image.DynamicImageServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>GreetingServlet</servlet-name>
         <url-pattern>/greeting/servlet/GreetingServlet</url-pattern>
    </servlet-mapping>
    </web-app>the servlet-class tag should contain the package where your servlet .class file is held. Just omit my one

  • How to deploy web.xml in OAF to server?

    Hello,
    Currently i used oracle 9i jeveloper to develop OAF page for EBS 11.5.10
    based on requirement, i need create a new JSP file and change default web.xml file in jeveloper. Who can help how to deploy new web.xml to server? Thank you very much!
    Added following code to web.xml
    ---web.xml------------
    <servlet>
    <servlet-name>barbecue</servlet-name>
    <servlet-class>net.sourceforge.barbecue.BarcodeServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>barbecue</servlet-name>
    <url-pattern>/CreateBarCode</url-pattern>
    </servlet-mapping>
    -----------------------------------

    Anyone know how to deploy web.xml in local jeveloper to server? thanks a lot!

  • How to remove actual XML content from Weather Web Service Client's standard output?

    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always see
    the actual XML content being sent and received from standard output, like
    "------------- RECEIVING XML -------------", and I can't find any related System.out.println
    statement in client source code, Please explain how to remove it, may there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

    Hi Naichen,
    To suppress showing the actual SOAP request and response going to standard out,
    change the following line in the Client.java:
    h.put("weblogic.soap.verbose", "true" );
    to read:
    h.put("weblogic.soap.verbose", "false" );
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    Hi,
    I tried web service example examples.webservices.rpc.weatherEJB.Weather
    with WLS6.1,
    it works fine, but on client side, ( either Client or DClient ), I always
    see
    the actual XML content being sent and received from standard output,
    like
    "------------- RECEIVING XML -------------", and I can't find any related
    System.out.println
    statement in client source code, Please explain how to remove it, may
    there is
    a configurable parameter for this? any help will be highly appreciated.
    Thanks
    Naichen

  • How to Refer WebI Report in SAP Portal

    Hi Experts,
    I want to show one of the report created in Web Intelligence rich client  in SAP portal. I have done the SSO part and imported the par files and changed the configuration in web.xml  as per the documentation.
    Now ! I have developed the report and it is available in my local machine in UserDocs folder. How can i refer this report in SAP portal now. What r the parameters i should provide ?
    I have created the BO Iview in portal by selecting the BO Iview template, but couldn't understand what parameters to provide and how to refer my report which is there in my local machine.
    regards,
    Suresh

    Hi Ingo,
    Please check the below details which i configured.
    First step : transporting "par" files and epa files into portal.
    imported   "com.businessobjects.pct.sap_pik.epa" file in portal
             deployed  "com.businessobjects.pct.masteriview.par"  in portal
             deployed "BusinessObjectsKM.par" in portal
    Second step Created System Object and its parameters:
    Host name of Crystal Enterprise Server : almboxi31.ho.almarai.com:8080
            Path of Crystal Enterprise Server           : /SAP
            Protocal of Crystol Enterprise Server     : http
    Third step creating Iview
    Iview Template                 : Integration Kit for SAP Iview
            Viewer Application page : reportView.do
            BusinessObjects Enterprise Viewer : html_frame
            Application Parameters      : cms_name=almboxi31.ho.almarai.com:6400
           BusinessObjects Enterprise Report ID : 1665
           BusinessObjects Enterprise Report Type: id
    Are these correct ?
    Since my sap domain and BO domain are different , i made session management alert to off. 
    anything else do we need to do ?
    Regards,
    Suresh

  • How to reupdate web.xml

              hi,
              I downloaded WLS 6.0, W2K for testing.
              Whenever I updated web.xml for my new servlets, I need to stop and restart weblogic
              server.
              Is there any way for weblogic to detect that web.xml had changed and updated accordingly
              or command line to trigger update in web.xml?
              thanks.
              - yoke
              

              An application or application component can be dynamically redeployed while the server is running. This may be useful if you want to update a deployed application or application component without stopping and restarting the WebLogic Administration Server. To dynamically redeploy a JAR, WAR or EAR file, simply copy the new version of the file over the existing file in the /applications directory.
              You can also dynamically redeploy applications or application components that have been deployed in exploded format. When an application has been deployed in exploded format, the Administration Server periodically looks for a file named REDEPLOY in the exploded application directory. If the timestamp on this file changes, the Administration Server redeploys the exploded directory.
              If you want to update files in an exploded application directory, do the following:
              1. When you first deploy the exploded application, create an empty file named REDEPLOY in the directory where the exploded application resides.
              2. To update the exploded application, copy the updated files over the existing files in that directory.
              3. After copying the new files, touch the REDEPLOY file in the exploded directory to alter its timestamp.
              When the Administration Server detects the changed timestamp, it redeploys the contents of the exploded directory.
              yoke <[email protected]> wrote:
              > thanks for the doc link.
              > In figure 6.1, it said that I should be able to see the "Configuration->application".
              > However, I had only see the following tabs under configuration:
              > General, Cluster, HTTP, SSL, Tuninh, Protocols, Compilers.
              > I don't have "application" tab, how can I bring out the application tab?
              > thanks.
              > - yoke
              > Dimitri Rakitine <[email protected]> wrote:
              >>http://e-docs.bea.com/wls/docs60/adminguide/appman.html#1027432
              >>
              >>yoke <[email protected]> wrote:
              >>
              >>> hi,
              >>
              >>> I downloaded WLS 6.0, W2K for testing.
              >>> Whenever I updated web.xml for my new servlets, I need to stop and
              >>restart weblogic
              >>> server.
              >>
              >>> Is there any way for weblogic to detect that web.xml had changed and
              >>updated accordingly
              >>> or command line to trigger update in web.xml?
              >>
              >>> thanks.
              >>
              >>> - yoke
              >>
              >>
              >>--
              >>Dimitri
              Dimitri
              

  • How Do I Set XML Content-type in Flex 3

    Hi,
    My Flex 3 project makes an ExternalInterface call to some Javascript. The Javascript is then turned into XML.
    But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type. As I understand it IE requires that the Content-type be set. Is this correct?
    My code looks like:
    myReturn =  '<myXMLReturn>' + myReturn + '</myXMLReturn>';
    myReturn = '<?xml version="1.0" encoding="UTF-8"?>' + myReturn;
    xmlReturn = new XML(myReturn);
    How would I set: header('Content-type: application/xml'); for an ExternalInterface call?
    Thank you.
    -Laxmidi

    Okay. I figured it out. I don't need to set the Content-type.
    I had a case sensitivity problem in parsing the xml. Thank you.
    -Laxmidi

  • How to read text file content in portal application?

    Hi,
    How do we read text file content in portal application?
    Can anyone forward the code to do do?
    Regards,
    Anagha

    Check the code below. This help you to know how to read the text file content line by line. You can display as you require.
    IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    IResourceContext resourceContext = new ResourceContext(user);
    String filePath = "/documents/....";
    RID rid = RID.getRID(filePath);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    InputStream inputStream = resource.getContent().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    String line = reader.readLine();
    while(line!=null) {
          line = reader.readLine();
         //You can append in string buffer to get file content as string object//
    Regards,
    Yoga

  • How to display the xml content into my datagrid

    Hi Experts,
                     i have created a webservice for sales quotation through DI-Server.iam able to add a new sales quotation through my coding & iam able to get the sales quotation based on the DOcEntry in an *XML file*.
              The xml file that i got using DOCENTRY is in this way:--
    <?xml version="1.0" encoding="utf-8" ?>
    - <BOM>
    - <BO>
    - <AdmInfo>
      <Object>oRecordset</Object>
      </AdmInfo>
    - <OQUT>
    - <row>
      <DocEntry>8</DocEntry>
      <DocNum>8</DocNum>
      <DocDate>20080715</DocDate>
      <DocDueDate>20080815</DocDueDate>
      <CardCode>C0003</CardCode>
      <CardName>HP India</CardName>
      <DocTotal>14500.000000</DocTotal>
      <ItemCode>A00006</ItemCode>
      <Dscription>HP Officejet 7310 All-in-One</Dscription>
      <Quantity>1.000000</Quantity>
       <Price>14500.000000</Price>
      <Currency>INR</Currency>
       <DiscPrcnt>10.000000</DiscPrcnt>
      <LineTotal>14500.000000</LineTotal>
       </row>
      </OQUT>
      </BO>
      </BOM>
    Now the problem is from this xml content i should display the values in my datagrid like:
    DocEntryCardCodeDocDueDateItemCodeDscriptionQtyTotal
         8--C000320081116--A00006-HP-off jet-2 ---                     1000
    can anybody suggest me some ideas that how to get the SPECIFIED values into my datagrid...........
    regards,
    shangai.

    hi vincent,
                    Thanks for your reply.iam unable to understand these lines in your code..iam working in vb.net
    public static DataSet GetDataSetFromXML(XmlNode XMLNode)
    grid.DataSource = GetDataSetFromXML(Result.SelectSingleNode(xpath_string));
    this is my coding....it's throwing an error when i declare like this
    Public Sub GetDataSetFromXML(ByVal XmlNode)
            Dim ds As New DataSet
            Dim reader As XmlNodeReader
            reader = New XmlNodeReader(XmlNode)
            ds.ReadXml(reader)
            reader.Close()
            'Return ds --->(error with syntax)
        End Sub
    DataGrid1.DataSource = GetDataSetFromXML(oXmlReply.SelectSingleNode("//DocDueDate"))
                DataGrid1.DataBind()
    regards,
    shangai

  • How to setup web.xml files in Tomcat 4.0.6

    Hi, I'm to new to Java Servlets. i am trying to run my first servlet but it's not showing up..can anyone help me out please!!!
    I created a folders like this:
    webapps/sumitapps/WEB-INF\classes\Forms\login.class
    under sumitapps: i'm puttin all of my .html files(Logins.html)
    under WEB-INF: i put web.xml file and classes folder
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>login</servlet-name>
    <servlet-class>Forms.login</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>login</servlet-name>
    <url-pattern>/Forms.login</url-pattern>
    </servlet-mapping>
    </web-app>
    <Context path="/sumitapps" docBase="webapps/sumitapps" crossContext="true" debug="0" reloadable="true" trusted="false" >
    </Context>
    under my classes folder i put folder Forms where i'm keeping all of my .class files. my class file name is login.class
    can anyone tell me why i cant run my servlets
    <FORM method="POST" action="Forms.login"
    name=userinfo onsubmit="return checkData()">
    please help me out here
    i can access my html page like this:
    http://lcoalhost:8080/sumitapps/Logins.html
    but when i enter userid and password it doesnt show anything..it takes me to http://localhost:8080/sumitapps/Forms.login
    and shows cannot be displayed

    have a look at www.moreservlets.com. There you can find a free pdf (part of the book, a whole chapter) that explains in deep the use of web.xml.

  • How to connect Webi Report into SAP Portal?

    Dear Gurus,
    i would like to connect Webi Report into SAP Portal.
    Could you please give me the steps to follow to acheive that requirement or send me some documents?
    Thanks

    Please check the wiki below.
    http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofBOEXI3.1intotheSAPEnterprisePortal+7.x

  • How to edit web.xml deployment descriptor from console in weblogic 8.1?

    In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
    console, but on weblogic 8.1 I can't find a way to do so.
    Is this function taken out? Why is it taken out? Do I have an alternative to edit
    it without unpacking and packing the EAR or WAR?
    Thanks in advance.
    Bill

    In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
    console, but on weblogic 8.1 I can't find a way to do so.
    Is this function taken out? Why is it taken out? Do I have an alternative to edit
    it without unpacking and packing the EAR or WAR?
    Thanks in advance.
    Bill

  • Re: how to recover web.xml after editing by word?

    Do you seriously think that there's a way to reconstruct the full XML from these tiny pieces of information? One can guess, but it builds down to re-writing the web.xml
    Your best bet is to get the last version of that file from your [version control system|http://en.wikipedia.org/wiki/Revision_control]. You surely use one, right? And if you don't, then you now know why you should be using one.

    xzeng wrote:
    Thanks. Fortunately I got a web.xml with similar format from other's folder.
    It is terrible. All the tabs in web.xml are missing and changed into microsoft word's tabs. Be careful.We are. We would never ever ever use Word as a text editor and we use a version control system.

  • How to read a file content from portal

    Hi experts,
    I have a file (xml or xlsx), which i have kept in D drive.
    then using GUI_UPLOAD, i have read file content into internal table. then i am proceeding furthur.
    but in real, my file will be in portal (means https:\\in.xyz.com\........\TEST.XML
    in this case i can not use GUI_UPLOAD.
    can any one suggest how can i achieve above. Thanks.
    Regards,
    Venkata Prasad

    Hi venkata
    try this code below
    tables: znks_exceldb.
    types: begin of wa_input,
           emp_id type string,
           name type string,
           middle type string,
           last_name type string,
           address type string,
           acc_num type string,
           mobile type string,
    end of wa_input.
    data: gt_intern type kcde_intern.
    data:gwa_intern type kcde_intern_struc.
    data gt_input type table of wa_input.
    data gwa_input like line of gt_input.
    data it_tab type table of znks_exceldb.
    data it_wa like line of it_tab.
    constants c_seprator type c value ','.
    parameters ex_file type localfile obligatory.
    at selection-screen on value-request for ex_file.
      call function 'F4_FILENAME'
    * EXPORTING
    *   PROGRAM_NAME        = SYST-CPROG
    *   DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
       importing
         file_name           = ex_file.
    start-of-selection.
      perform readfile using ex_file.
      perform insert.
      perform display.
    form readfile using ex_file type localfile.
      data:lv_filename type rlgrap-filename.
      data: lv_index type i.
      field-symbols: <> type any.
      lv_filename = ex_file.
      call function 'KCD_CSV_FILE_TO_INTERN_CONVERT'
        exporting
          i_filename      = lv_filename
          i_separator     = c_seprator
        tables
          e_intern        = gt_intern
        exceptions
          upload_csv      = 1
          upload_filetype = 2
          others          = 3.
      if sy-subrc <> 0.
    * Implement suitable error handling here
      endif.
      loop at gt_intern into gwa_intern.
        move gwa_intern-col to lv_index.
        assign component lv_index of structure gwa_input to <>.
        move:gwa_intern-value to <>.
        at end of row.
          append gwa_input  to gt_input.
          clear gwa_input.
        endat.
      endloop.
    endform.
    form insert.
      loop at gt_input into gwa_input.
        it_wa-emp_id = gwa_input-emp_id.
        it_wa-name = gwa_input-name.
        it_wa-middle = gwa_input-middle.
        it_wa-last_name = gwa_input-last_name.
        it_wa-address = gwa_input-address.
        it_wa-mobile = gwa_input-mobile.
        it_wa-acc_num = gwa_input-acc_num.
        append it_wa to it_tab.
      endloop.
      insert znks_exceldb from table it_tab accepting duplicate keys.
    endform.
    form display.
      loop at gt_input into gwa_input.
        write :/ gwa_input-emp_id,
                 gwa_input-name,
                 gwa_input-middle,
                 gwa_input-last_name,
                 gwa_input-address,
                  gwa_input-mobile,
                  gwa_input-acc_num .
      endloop.
    endform.
    Regards
    Niraj Sinha

Maybe you are looking for