Proble with payload-body.jsp customization

Dear Experts,
I have customized payload-body.jsp, here I am having problem with <select> and <date_picker> html component. After the selection of specified value, if I press default save button , will reset to Initial value. My xml payload contains muti-records. So when I click + sign in payload-body.jsp, another row ll gets add. At that time it ll be set to same vlaue of the previous row. Here I cannot understand the issue. Please suggest me.
Thanks & Regards
Rajesh

Sorry friends
I got the answer. The answer already was here on this forum. I am really sorry, first I should have searched and then should have posted......
have a nice day

Similar Messages

  • How BPEL find namespace alias to use in .bpel and payload-body.jsp?

    Hi,
    We are having many issues about the namespace alias for XML schema while designing BPEL proces and the payload-body.jsp. Could you please suggest us how to control the namespace alias for both cases?
    Thank you very much,
    Nidjarin

    I made a lot of further tests, and I can say the problem is related only to the database adapter polling mechanism.
    If I create an asynchronous process, with any kind of database activity (for example select) I can set the title normally.
    If I create a process which start with database table polling, then I cannot use the java embedding.
    try this:
    - create BPEL empty project
    - drop a database adapter service and follow the wizard:
    - select a connection (I tried both oracle or sqlserver connection)
    - select "poll for new or changed record"
    - select any table empty or with few record inside (1 or 2)
    - press next 4 times
    - chose delete record after read (press next)
    - chose order by "no ordering" in polling options (press next 2 times)
    - now drop a receive activity on the process, and connect with the polling partner link
    - drop a java embedding and write any valid java statement
    - deploy; if the table is empty, write a recod in the table
    - the process is instantiated, but the it fails in the --> receive <-- activity with "invalid namespace" error

  • Can I able to include image/.js file to payload-body.jsp

    Dear Experts,
    Could anyone please tell me that how can I refer a external javascript file from payload-body.jsp and where should I place the same. Also please tell the same to display an image. Please suggest me ASAP.
    Thanks,
    Rajesh

    Hi,
    so what source address of js file i have to give in jsp page.....in your case you can use below include command
    <jsp:include page="script/test.js" /> // here test.js is your .js file nameGenerally we need to place all jsp and js files under "jdevhome\jdev\myhtml\OA_HTML". In this case you can use
    <jsp:include page="test.js" /> // here test.js is your .js file nameor
    <%@include file="test.js" %>  // here test.js is your .js file nameregards,
    Anand

  • How to identify Human Task - Task Parameter in payload-body.jsp

    Trying to add BI Pub Link within the payload-body.jsp, however having trouble identifying the right BPEL API function to return back specific Task Parameter Value.
    I have a Task Parameter 'PurchaseOrderNumber' which maintains a value (PO Number) which I want to access and put in URL string
    i.e. http://BI_Publisher/Report.xdo?=<%getWhateverThisIs.TaskParameter%>
    Thanks.

    Hi:
    Take a look at this post: http://beatechnologies.wordpress.com/2011/08/24/
    Also here is the Oracle Doc: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10660/oracle/bpel/services/workflow/query/ITaskQueryService.html
    and:
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_worklistcust.htm#BHAHBHID
    Hope this helps.
    best
    rolando

  • Human task jsp customization assign calculated value problem...

    We customize human task jsp and add some field.
    We want assign a calculation result to a task variable...
    autogenerated HTML inbup box name is slns0_cl_task_sl_ns0_cl_payload_sl_ns1_cl_bim_Myprocessname_myparametername..
    is it possible to assign a value using this name ? is it correct way?
    is there any other way yo do it..
    Thanks...

    Thansk..
    I tried to use javascript. but I need ro add a combobox to the payload body jsp page.
    Because buid-in Oracle SOA procedures try to forward all parameters "object doesn't support this property error occurs..."
    So question is ...
    How can I add a combobox on payload body jsp pages ?
    Thaks..

  • Tags with empty body can't work in WLS 7.0SP5

    Hi, I'm now using WLS 7.0 SP5. In my JSPs, I have the following tag with empty body:
              <jsp:setProperty name="xxxForm" property="style123" value="abc"/>
              It doesn't work. The script works if I change that into:
              <jsp:setProperty name="xxxForm" property="style123" value="abc"></jsp:setProperty>
              However I have found that this problem should be fixed in WLS 7.0 SP1 already. (http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wls/S-13458.htm) Any hint about this strange problem? Thanks in advance!

    HI,
    I am using RangeTimeStep for displaying data in time range. I dont know understand whats wrong with this code as it displays graph with some other criteria that I donot specify in RangeTimeStep. The member of Day is like 02/16/2003 and member value is DAY_460. Although I passed both the values but still getting the same graph.
    Would you please tell me whats wrong in the code?
    Presentation graph1 = (Presentation)pageContext.findAttribute("ahb_country_pres1");
    ThinGraph bubbleGraph = (ThinGraph)graph1.getView();
    QueryClient query = (QueryClient) bubbleGraph.getDataSource();
    String strTimeDim = "MDM!D_RMI_RIM_OWNER.TIME";
    String strStandardHier = "MDM!D_RMI_RIM_OWNER.TIME.TIME_HIER";
    Vector vec = new Vector();
    vec.addElement("MDM!D_RMI_RIM_OWNER.TIME.TIME_HIER.L.DAY");
    Selection sel1 = query.findSelection(strTimeDim);
    RangeTimeStep rangeTimestep1 = new RangeTimeStep(strTimeDim,strStandardHier, vec, new Integer (2), RangeTimeStep.BEFORE,"DAY_460");
    rangeTimestep1.setAction(RangeTimeStep.KEEP);
    sel1.removeAllSteps();
    sel1.addStep (rangeTimestep1);
    query.applySelections(new Selection[]{sel1});
    query.refreshAll();
    Regards,
    Aamir

  • Error while testing Adapter through RWB with payload

    Hi all,
    While testing Adapter engine through RWB with payload, i get the below error
    Error while sending message: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=ec6clnt001;TS=com_avaya_java_bs;AN=StartNotification_MI_sync;ANS=http://www.tcs.com/sap/xi/AVAYAPoC;"
    Can any body please suggest the possible reason and solution for the same.
    Regrads,
    Kulwant

    Hi
    verify the receiver agreement and  also check it out whether receiver message interface is configured properly or not?
    or
    open ID and goto tools tab in that click on
    test configuration by providing your Business service and interface details along with the payload it displays the error message.
    regards
    Suryanarayana

  • Complete Task with Payload Problem  -- no Human Task Drop Handler

    I'm reading section 26.4.1 of Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1) E10224-01 where it refers to figure 26-5 Human Task Drop Handler for Creating the Task Display Form of section 26.4 Creating a Task Display Form.
    I've generated taskDetails1.jspx. I highlight Task as in the figure and right click in askDetails1.jspx (design tab) but I don't get a Create JSF page dialog as in the figure.
    I get a dialog with Insert Before Show Detail Spacer ... etc (no Create /Human Task/Complete Task with payload etc)
    Do I need to position within a particular element ? or is this a bug ? wrongly documented?

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • Urgent ! Problem when test Application Moudule with a customer JSP FIle!!

    I got these two errors:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool, ETicket_UserSystem_UserSystemAppModule, failed to checkout an application module instance.
    JBO-25002: Definition of ETicket_UserSystem_UserSystemAppModule of type......
    Here is my JSP file code:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <title>Business Components JSP Application</title>
    </HEAD>
    <%oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session, "UserSystemJSP_ETicket_UserSystem_UserSystemAppModule");
    %>
    <BODY>
    <jsp:useBean id="viewer" class="oracle.jbo.html.databeans.ViewCurrentRecord" scope="request">
    <%
    viewer.initialize(application, session, request, response, out, "UserSystemJSP_ETicket_UserSystem_UserSystemAppModule.UserRecordView");
    RowSet rs = viewer.getRowSet ();
    Row r = null;
    rs.setCurrentRow (rs.first ());
    r = rs.getCurrentRow ();
    while (rs.hasNext ()) {
    out.println (r.getAttribute ("loginname"));
    r = rs.next ();
    viewer.setReleaseApplicationResources(true);
    %>
    </jsp:useBean>
    </BODY>
    </HTML>
    Here is the properties file UserSystemJSP_ETicket_UserSystem_UserSystemAppModule.properties
    ApplicationModuleName=ETicket.UserSystem.UserSystemAppModule
    #ConfigName=ETicket.UserSystem.UserSystemAppModule.UserSystemAppModuleEJB
    #in 8i mode this is an IIOP connection name to travel user.
    #in LOCAL mode this is a JDBC COnnection Name to travel user.
    ConnectionName=etdbcon
    # used only if password not provided by connection definition in the config
    Password=etpg1
    #CSS File Name
    CSSURL=/webapp/cabo/images/cabo_styles.css
    #Root Image Directory
    ImageBase=/webapp/jsimages
    #only used in 8i mode
    JndiPath=test/etpg1/ejb/ETicket.UserSystem.UserSystemAppModule
    #Defines if application is stateless or not
    IsStateLessRuntime=false
    Here is the bc4j.xcfg file:
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="UserSystemAppModuleLocal">
    <ApplicationName>ETicket.UserSystem.UserSystemAppModule</ApplicationName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCName>etdbcon</JDBCName>
    <jbo.project>UserSystem</jbo.project>
    </AppModuleConfig>
    <AppModuleConfig name="UserSystemAppModuleEJB">
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCName>etdbcon</JDBCName>
    <IIOPName>iiopcon</IIOPName>
    <jbo.project>UserSystem</jbo.project>
    <ApplicationName>ETicket.UserSystem.UserSystemAppModule</ApplicationName>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    Any error in above files or other place??
    I only run it in JDeveloper, no deploy and test in Application Server.

    Akira,
    Here's what I would recommend:
    1. Generate a BC4J JSP web application based on one of your view objects. This will give you the 'factory' code that we use to connect to the app module and iterate through a rowset. If this JSP works, you can compare the code generated by our wizards with the one you have included.
    2. Your properties file looks like a hybrid of 3.1 and 3.2. In 3.2, the properties file contains just an entry for the ConfigName, and the password. The JSP then looks at the BC4J.xcfg at runtime for all the other connection information.
    The error you are reporting sounds connection related, so I would recommend cleaning up your properties file to be more 3.2-like. If this is an app you have upgraded from 3.1, then see the online help topic 'About Upgrading a JSP Project in 3.2'. This topic can be found under the Creating JSP Pages folder, and then under About JSP Applications.
    null

  • JSP Customization

    Hi,
    I am looking for any reference document /guide that details guidelines to follow for JSP page customization.
    Also, is it possible to have "About this page" link in customized JSP pages?
    Thanks in advance
    ~neeraj

    Hi,
    Being new at customization, any help is appreciated.
    Is there a way to change a form in Configurator?. Out of the box functionality of 'Preview Configuration' will be replaced with a custom jsp to reflect data of interest. How can this be done?
    For example in Quoting, 'qotSCopProduct.jsp' is used to display the Confirmation details. This jsp is model for customization. How to figure out who calls this jsp?
    Thanks in advance.

  • Problem with JavaBeans in JSP.IT'S URGENT!!!

    Hi, i have problems with JavaBeans in JSP.
    In a jsp file( locating in ROOT directory of tomcat 4.0.6 :jakarta-tomcat-4.0.6\webapps\root ) i have this code:
    <jsp:useBean id="paramBean" class="licentza.ParamBean" />
    <jsp:setProperty name="paramBean"
    property="nume"
              value='<%= request.getParameter("numeUser") %>' />
    where ParamBean it's a "bean" class locating in jakarta-tomcat-4.0.6\webapps\examples\web-inf\classes\licentza (licentza is the package i'm using).
    And i get this error:
    Generated servlet error:
    D:\jakarta-tomcat-4.0.6\work\Standalone\localhost\_\dora\intrare2$jsp.java:67: Class licentza.ParamBean not found.
    ParamBean paramBean = null;
    What is the problem?Thank you.

    Hi,
    Put the class file or the package under :jakarta-tomcat-4.0.6\webapps\root\WEB-INF\classes.
    Rajesh

  • Email Integration Scenario - Issue with email body content

    Hi All,
    We have an Email to File Scenario. PI is connected to Outlook server using Sender Mail Channel using POP3. We are able to fetch and display emails correctly for most of the received emails.
    However we notice that for Email sent from few Mail server like Yahoo mail, Gmail, Hotmail, we are not getting the Email content correctly.
    Issue is happening with Emails sent in HTML/Rich text format (containing Formatting and without any attachments). In the receiver system we see the email is converted to Plain text format. If the same email is sent with some attachment / Embedded Image, we get all the Formatting correctly in Receiver System.
    A closer look at Pimon we found the following:
    1. When Email is sent with Formatting (without any attachment/ image) in Pimon we see that it creates 2 Payloads (screenshot attached)
    2. The First Payload - MainDocument contains the Email content in XML format, but is missing the Email formatting data in it.
    3. The other Payload - ([email protected]) contains the actual Formatted Email Content.
    Not sure why the formatting data is missing from MainDocument. Instead its coming in other payload. Due to this we are not able to display correct data at receiver end as we parse the MainDocument as our Input Payload Stream
    Note: We cannot use payload swap bean, as it will swap the data for all the incoming emails which we don't want.
    Anyone faced similar issue? Steps to get proper formatting data in MainDocument..
    Suggestions / Inputs will be highly appreciated.
    Thanks,
    Azhar

    Azhar,
    We cann't influence the behavior of Gmail, Hotmail. But have to get HTML as main payload, so we have to swap payload (not always, in some cases based on a condition). Please try below Java mapping. In Operational Mapping set "Read Attachments".
    package javaapplication1;
    import java.io.*;
    import com.sap.aii.mapping.api.*;
    import java.util.Collection;
    public class NewClass6 extends AbstractTransformation {
        @Override
        public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput) throws StreamTransformationException {
            try {
                InputStream inputstream = transformationInput.getInputPayload().getInputStream();
                OutputStream outputstream = transformationOutput.getOutputPayload().getOutputStream();
                byte[] b = new byte[inputstream.available()];
                inputstream.read(b);
                //Loop over attachments and if attachment name starts with 'payload-' swap it with main payload. Edit below logic as needed.
                Collection<String> listAtt = transformationInput.getInputAttachments().getAllContentIds(true);
                for (String att : listAtt) {
                    if (att.startsWith("payload-")) {
                        b = transformationInput.getInputAttachments().getAttachment(att).getContent();
                outputstream.write(b);
            } catch (Exception exception) {
                getTrace().addDebugMessage(exception.getMessage());
                throw new StreamTransformationException(exception.toString());

  • Problem variable substiution with payload

    Hi all,
    I'm work with a file adapter in my system PI 7.0 SPS 16 and i try to implement a scenarii in abap/proxy to file.
    I have a problem when i try to configure variable subsitution with payload.
    My goal is to create my filename with the first article which is contained in my payload.
    my payload is:
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:mt_makt xmlns:n0="http://XXXXXXXXXX.fr/SW_XI-Mapping/Wenjing"   xmlns:prx="urn:sap.com:proxy:BR1:/1SAI/TAS69AEE1246C27E45CC7F0:700:2008/01/11">
    - <dt_makt>
      <matnr>_000000000000006041_</matnr>
      <maktx>Article A, C02, 04</maktx>
      </dt_makt>
    - <dt_makt>
      <matnr>000000000000006042</matnr>
      <maktx>Article A, C02, 05</maktx>
      </dt_makt>
    - <dt_makt>
      <matnr>000000000000006043</matnr>
      <maktx>Article A, C02, 06</maktx>
      </dt_makt>
    - <dt_makt>
      <matnr>000000000000006044</matnr>
      <maktx>Article A, C02, 07</maktx>
      </dt_makt>
    - <dt_makt>
      <matnr>000000000000006045</matnr>
      <maktx>Article A, C02, 08</maktx>
      </dt_makt>
    - <dt_makt>
      <matnr>000000000000006069</matnr>
      <maktx>Article A, C06, 04</maktx>
      </dt_makt>
      </n0:mt_makt>
    my configuration in Advanced:
    under Variable Name :    var2
    under Reference :           payload:mt_makt,1,dt_makt,1,matnr,1
    my configuration in Target
    Target directory : E:\XI\out\wjb
    File Name scheme : test%var2%
    When in send the message from my SAP ERP To SAP Pi, messages are processed with successfully (sxmb_moni) but no files was created.
    my log CC receiver :
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2
    do you know  what's wrong
    Thanks by advance
    NG
    Edited by: Nor Goudjil on Dec 18, 2008 4:23 PM

    Hi all & Happy new year,
    I am sorry to answer only now.
    I change var2 by var3 but I have already the same problem and in logs I still find references to var2 ! However I launched "sxi_cache".
    logs in cc after having to change var2 by var3
    1/9/09 6:43:39 PM ddde72f2-cfa6-fbf1-a301-001e4f275e0f
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var3: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var3
    When i click on ddde72f2-cfa6-fbf1-a301-001e4f275e0f
    La diffusion du message vers l'application via File_http://sap.com/xi/XI/System a échoué en raison de : com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var2
    Moreover the payload which you can see is an extract of "SXMB_MONI"
    --> Inbound Message (CENTRAL) --> Folder "Payloads"
    Thanks by advance
    NG

  • How to send a mail with HTML body from Oracle

    Hi Team,
    Can somebody guide me how to send a mail with HTML body from oracle.
    Here is the piece of code i am trying to send a mail.
    procedure SEND_MAIL is
    cursor c_1 is select * from table_name;
    l_mail_id varchar2(40);
    -- ls_mailhost VARCHAR2(64) := Mailhost;
    ls_from VARCHAR2(64) := ‘[email protected]
    ls_subject VARCHAR2(200);
    ls_to VARCHAR2(64);
    l_mail_conn UTL_SMTP.connection;
    ls_left_menu_name VARCHAR2(64);
    ll_emp_num number(8);
    begin
    for i in c_1 loop
    begin
    l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
    UTL_SMTP.HELO(l_mail_conn, 'IP');
    UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
    UTL_SMTP.RCPT(L_mail_conn, LS_TO);
    UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
    'To: ' ||ls_to || utl_tcp.crlf ||
    'Subject: ' ||ls_subject|| utl_tcp.crlf);
    UTL_SMTP.QUIT(l_mail_conn);
    exception
    when no_data_found then
    null;
    when others then
    RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
    end;
    end loop;
    end;
    Thnx

    Hi Nicolas!
    Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
    If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
    SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
    Hope this helps!
    Regards
    Geir

  • Urgent ! XML Output with header, body, trailer

    Gurus,
    I am trying to use Report to output an xml file with header, body and trailer regions. However, I find that the tool does not allow me to create a header region with info like <report_date>, <report_name>, <report_desc> etc.
    Moreover, the tool is not flexible that in the group level, it always automatically fills in the outer tag for me even if I intentionally leave it blank.
    So, except using the XML file output function, is there any other way outputing XML file using the tool? Otherwise, I may need to hard code a program to do so!
    Thanks for your advice!
    Shoshi

    Hi
    Reports XML file is driven by your queries and groups therein. This means that the groups (and break groups) are represented in XML form.
    It is not driven by the layout. So your header region does not appear.
    What I suggest is that you need to create a report level formula column in the Data Model. The formula returns date, name and description etc. Since this is a part of Data Model now, it will appear in the XML output.
    Regards
    Sripathy

Maybe you are looking for