Urgent-Issue with Technical Content.

Hi experts,
we have activated the technical content.Now we are Initilize and run deltas with Process Chain.
Under one of the Infosource loading the datatarget(0BWTC_C02),i have the following standard delivered infopackages
1) Delta - OLAP Transaction Data
2) OLAP Transaction Data Initialization
3) OLAP Transaction Data: Delta Initialization
4) Transaction Data OLAP - Delta
5) Transaction Data OLAP - Delta Initialization
I have checked all these infopackages,i dont see any difference when i tried to compare the selection conditions and datatargets.
Now my question is
1) How do i select which infopackage should be in the process chains?
2) Also do we need to create and delete indexes for the technical content cubes too?
Please advise
thanks in advance
kiran

Hi sunil,
I appreciate your reply.
Issue 1:My question was as i have 5 Standard infopackages with no differences.If you see my first posting.How should i consider which infopackage to choose for in my Process Chain?
Ex: As i see 3 Init Infopackages witht he same name.How should choose which onfopackage to include for the process chain?
Also i see 2 delta infopackages witht almost the similar name.How should i consider which infopackage to include for the process chain.
Issue 2: I do understand that indexes are deleted before loading data for better loading performance and then indexes are created for reporting perfomances.
But my question was do we have to create/delete indexes for Technical content too.What is the recommended solution?What are the Pros and Cons?
Hope i am clear with my questions this time.
thanks in advance
kiran

Similar Messages

  • Urgent issue with Intrastat

    Hi All, we  have  very  urgent issue  with  intrastat report ''VE01''.
    There  is  many documents  with error Log-''The statistical value of the document item is zero.''.
    The pricing  settings looks OK and its impossible  to
    correct  those  documents with error.
    Any Idee how I could  correct them for  them  to  get  the  green status?
    Points  will be added  if  helpful
    Thanks and regards
    Luis

    Hello Luis,
    please check the VBRP-BRTWR. If this fiels is zero then you get an entry in the incompletion log.
    the message could be also occur if the GRWR is zero.
    Please check your pricing setting.
    Hope this will help to solve the problem.
    I f you are satisfied with the answer, please don't forget to give Reward Points.
    regards
    Claudia

  • URGENT: Issue with hierarchy level keys and report drill down

    Hi,
    BASIC STRUCTURE:
    I have created a subject area with 3 facts (FACT_A, FACT_B, FACT_C) and 4 dimesnions (TIME_DIM,DIM_2,DIM_3,DIM_4). Each fact table also has additional aggregate tables aggregated along levels of the time dimension. Also our timw dimension has aggregated dimension tables like TIME_DIM_WEEK, TIME_DIM_MONTH, TIME_DIM_QUARTER and TIME_DIm_YEAR.
    GOAL:
    All 3 facts have the same measures M_1 and M_2 in them but may not have data for the same dimension values selected.
    For example
    For month JAN 2000 FACT_A.M1=100$ and no data exists for JAN 2000 in FACT_B and FACT_C. Then in the report
    for JAN2000 it should show FACT_A.M1= $100, FACT_B.M1 = 0 and FACT_C.M1 =0. In this case I should be able to drill down to the lowest level.
    ISSUE:
    The time dimension TIME_DIM has the following levels - Total -> Year -> Quarter -> Month -> Week -> Day
    However I am having an issue with drill down in the reports whenever I pull metrics from more than 1 fact at a time. I have defined the level keys but not sure if I need to do anything in addition since I am using aggregates.
    I have to fix this issue quickly. Please help me.

    Alastair,
    All the fact tables have aggregated facts as sources.
    I have checked the levels set for each of the sources to the time dimesnion table in BMM and they look okay. So the Time dim table in BMM has 4 source tables
    Time_Day (level set to day, table key is "day"),
    Time_month (level set to month, table key is "Fiscal_Month_Code"),
    Time_Quarter(level set to quarter, table key is "Fiscal_Quarter_Code") and
    Time_Year(level set to year, table key is :Fiscal_Year_Code").
    Note: No time week aggregate added as logical source.
    Again the time dim hierarchy based off of this table has levels: Total -> Year ->quarter -> Month -> week -> day
    The levels keys set for each level are
    Year -> Primary key is Year_Name (YYYY)(Checked as chronological key) and another key is Year_Num (YYYY)(Checked as chronological key)
    Quarter->Primary Key is Quarter_Name (YYYY Qn), another key is Quarter_Number (Format n where n can assum values 1,2,3,4). Both keys are set as chronological keys
    Month -> Primary key is Month_Name (MON YYYY), another key is Month_Num (Format n where n can assume values from 1 to 12) Both keys are set as chronological keys
    Week -> Primary Key is week name (YYYY Wk nn, where nn can have values from 1 to 53), another key is week num (nn, where nn can have values from 1 to 53)
    Day -> primary key set to day (date format)
    Issue1: When I try to drill to lower levels it throws out an error saying report cannot find any data because filters may be too restrictive even though I see data at higher level
    For ex: If I drill down to Year: 2010 and Qtr: 2010 Q2 and M1:$100 when I click on Qtr to drll to month level it throws me the error
    Issue2: when I add year and qtr colums to the report I see data as below which is incorrect
    Year_Name Qtr_Name data:FACTA_M1 Data: FactB_M1
    2009 2009 Q1 $10 $5
    2009 2009 Q2 $20 $80
    2009 2009 Q3 $20
    2009 2009 Q4 $30
    2010 2010 Q1 $100
    2010 Q2 $101
    2010 Q3 $102 $230
    2010 Q4 $103
    2011 Q1 $10
    In the above example year_name is not showing up for 2010 Q2 and after. However if I change the primary key for level 'Quarter' by having key consist of year name and quarter name instead of just quarter name the issue doesnt occur and drill down works great. The only issue is when I drill from qtr it first shows year name and quarter name instead of showing the next level which would be month name.
    Sorry about the long message but I thought you might notice something in how I have set up the keys.
    Thanks

  • Urgent : Issue with deleting Line Item in ME22N

    Hi all,
    I have an issue with deleting line item in ME22N for some Purchase Orders.
    When I try to delete the line item, a warning message comes up saying that " Quantity invoiced or delivered is less than the quantity ordered". And I am unable to proceed further and save the PO. Could anyone let me know as why this is happening?
    Thanks in advance.
    Regards,
    Adapala.

    Hi
    there is no need of group key.
    if any of these 3 are done, payment will be done in total.
    1.In setup all company codes for payment transactions , DESELECT seperate payment per business area check box
    2.In setup paying company codes for payment transactions , DESELECT seperate payment for each reference check box.
    3.In the Vendor Master got to payment transactions tab and below the payment method , there will be individual payment checkbox. DESELECT that check box.
    try again with first two with DESELECT options , i will check out with DME.
    Cheers

  • Issue with Adobe Content Viewer

    Don't know if anyone else has this issue. Am using CS5.5 and just installed Air 2.6 (to see if that solves it) I am new to the DPS, but know my way round InDesign, I am experimenting with the creation of pages. They upload fine into the Folio builder but when I click on Preview in the Folio Builder window i get the below screen and nothing else after it Launches.
    I am taking files intended for Print and copying them into the new pages. However I have converted all the artwork to RGB, the images are jpegs. Is there any chance there could be an issue with that somehow?
    Am I doing anything wrong in the creation of the files? I have followed the instructions and yet I still get this even with the tutorial assets.
    Any ideas?
    Thanks
    Ian

    Hi, Ian:
    Have you got it to work now? If you'd like, you can share the folio with me ([email protected]) and I can give it a try.
    Thanks!
    Jianlan

  • URGENT: issues with jump to targets

    Hey Guys,
    We have recently updated our BW system from 3.1c to 7.0. And now I am having problems with some of my queries. The major problem is for some of the queries I have jumps to other reports and when I try to execute these jumps I get an error saying "Variable I_CALDAY is incorrectly defined ". I have this issue with few queries all in one infoprovider.
    Guys, Any help in regard will be highly appreciated.
    Thanks and Regards,
    Meher

    Problem solved:
    We had to check the box which says "ready for input". This solved the issue as of now.

  • VERY URGENT: Issue with Reconciliation against SAP Enterprise Portal

    Hi,
    We are using IDM7.0 and we have SAP Enterprise Portal as a resource. The users in portal are from Active Directory.
    When I am doing full reconciliation against portal, it is processing only certain accounts. The reconcilaition policy is to link accounts. It is not linking teh accounts. Moreover, these accounts are not found in UNMATCHED accounts also. I don't have any account exclusion rules or something.
    I wrote a small code snippet, which does just a single account reconciliation of a particular user id. In this case the portal account is being reconciled and linked properly.
    Any ideas what the issue might be?
    And I have another question too.. in the schema attributes of the out-of-box SAP Portal resource adapter, I don't see any ammping entry for "accountId". Usually for other resource adapters there would be entry for accountId (e.g in AD, mapping is: accountId <---> sAMAccountName). In case of portal, do we need to explicitly set this mapping? If so what would be the right hand side name in the schema? Does the right hand side name changes from one deployment to the other? If so how to determine what attribute maps to accountId in our portal? Might this lack of accountId is causing the issue with the reconciliation?
    Any leads would be highly appreciated.
    Thanks,
    kIDMan.

    Thanks for the reply. I have already set up correlation rule, account linking options for different situations like FOUND, UNASSIGNED, UNMATACHED etc. If my linking configurtaion is not correct then the fetched accounts should be atleast in the account index with situation as UNMATCHED. But that is not the case.
    I am not sure if I made my problem difinition clear earlier. The problem I mentioned is not with "linking" of the accounts. The problem is IDM is detecting only some accounts. Among those set of accounts which IDM was able to fetch from portal during reconcilaition, it was able to successfully link the matching accounts to identities in IDM.
    My question is, why IDM is fetching only certain accounts and not all accounts from portal resource.
    As I mentioned earlier, when I run my code snippet to reconcile a single account, it reconciles successfully and links to user identity in IDM (if a matching idenity exists based on my correlation rule). But why the reconcilaition at the resource level is not able to fetch and reconcile teh same account.
    Regarding the accountId attribute in the attribute schema, neither the SUN documentation nor the resource adapter configuration tells about the name of the attribute on the portal side that it should match to.
    Thanks,
    kIDMan.

  • Major service issues with technical helpdesk / sti...

    Hi does anyone know how to go about making a formal compliant, I am being passed from pillar to post through the technical helpdesk - I've wasted four hours of my time this week on the phone and still no further forward - and to top it all the technical helpdesk just to get rid of me at 10:30 last night gave me a phone number of the wholesale team at the local exchange which is no longer in use.  the service has been so utterly appalling and I'm still without internet access which has been the case since Tuesday due to a network issue outside of the home.
    I have lost faith in the service and I need urgent help to get this resolved, then I will think about if BT really want my business.
    Thanks!

    What is the network issue, I assume that its something to do with Openreach?
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Urgent :- Issue with deploying application in Oracle Application server

    Hello All,
    Hope all of you are doing good ! I am facing an issue relating to deploying applications using the Enterprise manager. When i deploy the war file using Deploy WAR file option in the OEM, i get the following error -
    Failed to deploy web application "gCube". Failed to deploy web application "gCube". . The configuration files for this OracleAS 10G instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    Root Cause: invalid stream header
    Resolution: . invalid stream header
    Please could you throw some light on this issue and also provide a resolution to fix this issue at the earliest ?
    Your help in this , will be greatly appreciated.
    Thanks and Regards,
    Ramanan.

    Hello All,
    Could anyone assist me with a fix for the problem ?
    Would appreciate it greatly.
    Thanks.

  • Apple should start to listen to customer issues with disappearing content.

    There are many threads with users experiencing missing downloads of tv shows. There is clearly something going on apples side here and really disappointed that no one has come forward and stated that we are aware of an issue and hope to have it fixed asap. Considering how many people purchase products for apple tv the response should by apple should be better. tech support telling people such as myself to do a complete restore of apple tv is not acceptable which i did just in case. the issue still remains. i advise people to hold off purchasing content for tv shows until an answer is provided. wasted enought time on this matter and still a fan of apple but patience is wearing thin. i realize that this forum is not answered by apple but feel that apple does read these posts and would love to keep the revenue coming in for itunes as it avoids piracy among other things.
    Message was edited by: goofy69

    Winston Churchill wrote:
    I've never had any content disappear,
    I had it happen once, around the time we first got itunes store access in UK on AppleTV - everything inexplicably deleted from AppleTv not just some things.
    Fortunately the purchase I'd made a few hours before had synced to iTunes.
    I really feel there are a couple of weaknesses with the model for media purchase on AppleTV:
    1 - Things inexplicably disappear for some users - it MAY be user error in some instances - but if that's the case there is clearly no safety net warning in either iTunes or on the TV that the user is doing something that might cause the problem otherwise they'd remember.
    If you've purchased content and it disappears before it's synced back to iTunes or been watched, you're going to take some persuading to part with your cash again in this manner.
    2 - 'Reverse syncs' of purchases need to be avilable manually for AppleTV, possibly by a drag and drop within iTunes to override instances when the user has set up the wrong type of library, or the sync library fails to reverse sync content. Without being to move content back from AppleTV the user cannot use on other devices or make backups - a very unsatisfactory user experience, even if it only affects a few.
    Movies/video with DRM are protected anyway, so what's the problem?
    For iTunes plus material all that would be needed would be for the user perhaps to confirm their iTunes store credentials to allow the reverse transfer to happen to prevent opportunistic copies being made by nefarious individuals or those who have come into possession of stolen or 2nd hand AppleTVs.
    I have found to date that iTunes Store invariably are quite helpful with any purchases that develop issues, but it is not guaranteed they'd allow redownloads etc, and it takes so little to put consumers off a service when it doesn't live up to expectations.

  • "Application failed code sign verification" - Issue with loading Content ViewerApp to iTunes Connect

    Hi There
    I have built content via InDesign CS5.5, created folio using Foliio Builder and downloaded and built and iPad app via the Viewer Builder.  All the Certificate and provisioning info has been entered correctly and the Viewer Builder does not report any errors. The VB then creates the two version (Development & Distribution) of apps.
    The app works fine on the iPad when testing the Developer Viewer (ipa). However, when I try to submit the Distribution app (distribution-viewer.zip) to the iTunes Connect store, I am encountering the following error:
    Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
    Any ideas guys on why i'm encountering this issue. I've been battling this for 2 whole days.  Responses would be greatly appreciated as I am now a day behind the clock
    Note: I have created the app definition in the iTunes Connect for this app.
    regards
    David

    Thanks Ali
    I am certain I had selected the distribution certs as I have them named very explictly. I have rebuilt the app....numerous times ensure the right cert.
    Anyways, I solved the issue by revoking my certs / MP and creating / exporting them and then building the app. When submitted now, it went thru.
    Given this was the first app, I had the luxury of revoking my certs / mp. What would happen if this was not the first...
    David

  • Urgent: Issue with the size of an xls file generated from a rtf template

    Hi all,
    I have a template.rtf
    In BI, when I get the file in excel format and save it, the size of the report is 32 MB. When I just "save as" the same report, without changing anything, the size of the report is 8 MB.
    Do you know how to get directly the report with the size 8 MB or would you have some guidelines to avoid this issue.
    Thank you in advance,
    Sonia.

    Thank you Kurz for your answer. I'm going to try to be more precise.
    Actually I'm not in EBS. I generate the output (xls format) direclty from BIP.
    The DB of my application can't be requested directly, then I use HTTP request.
    From BIP, I launch the report choosing excel as output - the template is an rtf template.
    I have been requested to open or save the xls file that I save (32 MB).
    I open the excel file, save it again and the size of the file is now 8 MB.
    Regards,
    Sonia.

  • Complex Urgent Issue with insertRowAtRangeIndex

    Hi,
    I have an advanced table based on a VO and EO. I have a footer on that table which has an Add Row button. That Add Row button calls a method in the AM which basically inserts a new row into the VO and hence it appears in the table. The code for that method in the AM is pasted below.
    Now this table and Add Row button etc. were already existing. My job was to add a new detail table to this table. I followed the instructions in the dev guide and was able to successfully add a detail table to this table. I also had to initialize some rows in the detail table when the user clicks the above add rows button.
    In the below code, getBtvlPosSupplierPlantAddressesVO is my VO for the main table.
    getAsiSupplierAddressOpCosVO2 is my VO for the detail table. "AsiSupplierAddressOpCosVO2" is the View Instance which is connected to BtvlPosSupplierPlantAddressesVO through a View Link.
    getAsiPosSupplierOpCosVO1 is my VO from where I get the data to initialize the rows in AsiSupplierAddressOpCosVO2.
    I am getting the following error on the statement - plantAddressVO.insertRowAtRangeIndex(plantAddressVO.getFetchedRowCount(), plantAddressVORow);
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value 3 for rangeIndex passed to method ViewRowSetIteratorImpl.insertRowAtRangeIndex. Explanation: index outside range
    Now the main table property of "Records Displayed" is 2, hence I am getting the above error when I am trying to add THIRD row using the Add Rows button.
    If I change the "Records Displayed" property to 5, then I will get this error when I try to add Row number 6.
    PLEASE PLEASE HELP. I HAVE NO CLUE WHY THIS IS HAPPENING. I AM TIRED OF DEBUGGING!
    **********Extra Info - May not be relevant to the Issue ****************
    For new rows in AsiSupplierAddressOpCosVO2, I have put status as STATUS_NEW because the detail table has a checkbox and if I don't do STATUS_NEW for the rows, then only the rows for which user clicks on the checkbox will be stored in the DB. I wanted all rows to be stored, for consistency purpose.
    **********Extra Info - May not be relevant to the Issue ****************
    public void addPlant(Number suppRegId)
    BtvlPosSupplierAddressesVOImpl plantAddressVO = getBtvlPosSupplierPlantAddressesVO();
    plantAddressVO.setMaxFetchSize(0);
    BtvlPosSupplierAddressesVORowImpl plantAddressVORow = (BtvlPosSupplierAddressesVORowImpl)plantAddressVO.createRow();
    plantAddressVORow.setAddressId(getOADBTransaction().getSequenceValue("btvl.btvl_pos_supp_address_id_SEQ"));
    plantAddressVORow.setAddressType("PLANT");
    plantAddressVORow.setSupplierRegId(suppRegId);
    plantAddressVO.insertRowAtRangeIndex(plantAddressVO.getFetchedRowCount(), plantAddressVORow);
    AsiSupplierAddressOpCosVOImpl addressOpCosVO = (AsiSupplierAddressOpCosVOImpl)this.getAsiSupplierAddressOpCosVO2();
    addressOpCosVO.executeQuery();
    AsiPosSupplierOpCosVOImpl suppOpCosVO = (AsiPosSupplierOpCosVOImpl)this.getAsiPosSupplierOpCosVO1();
    int rowCount = suppOpCosVO.getRowCount();
    RowSetIterator SupplOpCoListIter = suppOpCosVO.createRowSetIterator("SupplOpCoListIter");
    AsiPosSupplierOpCosVORowImpl OpCoRow = null;
    if(rowCount > 0)
    SupplOpCoListIter.setRangeStart(0);
    SupplOpCoListIter.setRangeSize(rowCount);
    for(int i = 0; i < rowCount; i++)
    OpCoRow = (AsiPosSupplierOpCosVORowImpl)SupplOpCoListIter.getRowAtRangeIndex(i);
    AsiSupplierAddressOpCosVORowImpl addressOpCoRow = (AsiSupplierAddressOpCosVORowImpl)addressOpCosVO.createRow();
    addressOpCoRow.setSuppAddrOpcoId(getOADBTransaction().getSequenceValue("BTVL.ASI_SUPP_ADDR_OPCO_ID_S"));
    addressOpCoRow.setAddressId(plantAddressVORow.getAddressId());
    String OpCoCode = OpCoRow.getSupplierOpcoCode();
    String OpCoName = OpCoRow.getSupplierOpcoName();
    addressOpCoRow.setSupplierOpcoCode(OpCoCode);
    addressOpCoRow.setSupplierOpcoName(OpCoName);
    addressOpCoRow.setNewRowState(Row.STATUS_NEW);
    addressOpCosVO.insertRow(addressOpCoRow);
    SupplOpCoListIter.closeRowSetIterator();
    plantAddressVORow.setNewRowState(Row.STATUS_INITIALIZED);
    }

    Hi
    Since you have added the detail table as routine customization than you also initialize the row as routine customization, as you said that the getAsiSupplierAddressOpCosVO2 is the VO for detail table than the row this VO is required to initialize, as Sumit advised already, you should go with addition of new code rather modifiying/using the existing code , you can give a try to below code after modifying it according to ur requirement
    OAViewObject vo = (OAViewObject)findViewObject("AsiSupplierAddressOpCosVO2");
    if(!vo.isPreparedForExecution())
    vo.clearCache();
    vo.executeQuery();
    vo.last();
    vo.next();
    Row row = vo.createRow();
    vo.insertRow(row);
    row.setNewRowState((byte)-1);
    // than here you can set the default values
    like row.setAttribute("ViewAttribute",vaue);
    Thanks
    Pratap

  • Urgent: Issue with Java Embedding Activity

    Hi All,
    I wrote below code in Java Embedding activity and tried to pass an input paramter to String SR, but i am getting SCAC-50012 Error, some one please help me in this issue
    IAgileSession m_session = null;
    IAdmin admin = null;
    IAgileClass cls = null;
    String username="XXXX";
    String password="XXXXX";
    String URL="XXXXXXX";
    String sr=getVariableData("inputVariable","payload","/client:process/client:input");
    try {
    HashMap params = new HashMap();
    params.put(AgileSessionFactory.USERNAME, username);
    params.put(AgileSessionFactory.PASSWORD, password);
    AgileSessionFactory instance = AgileSessionFactory.getInstance(URL);
    m_session = instance.createSession(params);
    admin = m_session.getAdminInstance();
    cls = admin.getAgileClass( "ProblemReport" );
    IServiceRequest psr = (IServiceRequest)m_session.createObject( "ProblemReport", sr);
    psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_DESCRIPTION, "KB-Test-20121299");
    } catch (APIException e) {
    e.printStackTrace();
    } finally {
    m_session.close();
    Also, I imported all Jar and class files into BPEL.

    Hi,
    Now the it is compiling perfectly, but when i am passing input parameter in em it is failing at bpel process.
    This is the bpel code
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Tue Dec 11 13:59:57 EST 2012
    Author: *********************
    Type: BPEL 1.1 Process
    Purpose: One Way BPEL Process
    -->
    <process name="BPELProcess1"
    targetNamespace="http://xmlns.oracle.com/AgileTest/Testing123/BPELProcess1"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:client="http://xmlns.oracle.com/AgileTest/Testing123/BPELProcess1"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpel2="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="bpelprocess1_client" partnerLinkType="client:BPELProcess1" myRole="BPELProcess1Provider"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess1.wsdl) -->
    <receive name="receiveInput" partnerLink="bpelprocess1_client" portType="client:BPELProcess1" operation="process" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign1">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/client:process/client:input"/>
    <to variable="inputVariable" part="payload"
    query="/client:process/client:input"/>
    </copy>
    </assign>
    <bpelx:exec import="org.w3c.dom.Element"/>
    <bpelx:exec import="com.agile.api.APIException"/>
    <bpelx:exec import="com.agile.api.AgileSessionFactory"/>
    <bpelx:exec import="com.agile.api.IAdmin"/>
    <bpelx:exec import="com.agile.api.IAgileClass"/>
    <bpelx:exec import="oracle.xml.parser.v2.*"/>
    <bpelx:exec import="com.agile.api.IAgileSession"/>
    <bpelx:exec import="com.agile.api.IServiceRequest"/>
    <bpelx:exec import="com.agile.api.ServiceRequestConstants"/>
    <bpelx:exec import="java.util.HashMap"/>
    <bpelx:exec import="testing123.JavaAPITesting.*"/>
    <bpelx:exec import="oracle.soa.common.util.Base64Encoder"/>
    <bpelx:exec import="java.util.*"/>
    <bpelx:exec import="java.lang.*"/>
    <bpelx:exec import="java.math.*"/>
    <bpelx:exec name="Java_Embedding1" version="1.5" language="java">
    <![CDATA[IAgileSession m_session = null;  
                IAdmin admin = null;  
                IAgileClass cls = null;   
                String username="****";
                String password="*******";
                String URL="*****************************************";
                String sr=(String)getVariableData("inputVariable","payload","/client:process/client:input"); 
                try { 
                        HashMap params = new HashMap(); 
                        params.put(AgileSessionFactory.USERNAME, username);
                        params.put(AgileSessionFactory.PASSWORD, password);
                        AgileSessionFactory instance = AgileSessionFactory.getInstance(URL);
                        m_session = instance.createSession(params); 
                        admin = m_session.getAdminInstance(); 
                        cls = admin.getAgileClass( "ProblemReport" ); 
                        IServiceRequest psr = (IServiceRequest)m_session.createObject( "ProblemReport", sr); 
                        psr.setValue(ServiceRequestConstants.ATT_COVER_PAGE_DESCRIPTION, "KB-Test-20121299"); 
                } catch (APIException e) { 
    e.printStackTrace();
    } finally { 
    m_session.close();
    }]]>
    </bpelx:exec>
    </sequence>
    </process>

  • Urgent:Issue with HashMap while creating session in Java Embedding Activity

    Hi,
    I am unable to createsession() with the values from HashMap. following is the code in JEA
    IAgileSession m_session=null;
              IAdmin admin = null;
              IAgileClass cls = null;
              IAutoNumber[] numSources;
              String nextAutoNumber = null;
    try {
                   HashMap params = new HashMap();
                   params.put(AgileSessionFactory.USERNAME, "*********");
                   params.put(AgileSessionFactory.PASSWORD, "*******");
    int s= params.size();
    String y= (String)params.get(AgileSessionFactory.USERNAME);
    String z= (String)params.get(AgileSessionFactory.PASSWORD);
    addAuditTrailEntry("UserName " +y);  
    addAuditTrailEntry("Password " +z);  
    addAuditTrailEntry("Size is " +s);   
                   AgileSessionFactory instance = AgileSessionFactory.getInstance("******************************");
    addAuditTrailEntry("After instance object" +instance);
    m_session = instance.createSession(params);
    addAuditTrailEntry("" +m_session);
    addAuditTrailEntry("After instance object_Session");
                   admin = m_session.getAdminInstance();
                   cls = admin.getAgileClass( "ProblemReport" );
                   IServiceRequest psr = (IServiceRequest)m_session.createObject( "ProblemReport", "PR-9989909");     
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   m_session.close();
    In the above code it is working perfectly up to AgilSessionFactory instance, but after that when I am printing m_session ( i.e. addAuditTrailEntry("" +m_session);) it is returning null values instead of some session ID. I am also able to print AgilesessionFactoy instance ID correctly inside JEA, but only problem is with m_session. I tried with the same code in java client and it is working perfectly. Please some one help me in this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    I am unable to createsession() with the values from HashMap. following is the code in JEA
    IAgileSession m_session=null;
              IAdmin admin = null;
              IAgileClass cls = null;
              IAutoNumber[] numSources;
              String nextAutoNumber = null;
    try {
                   HashMap params = new HashMap();
                   params.put(AgileSessionFactory.USERNAME, "*********");
                   params.put(AgileSessionFactory.PASSWORD, "*******");
    int s= params.size();
    String y= (String)params.get(AgileSessionFactory.USERNAME);
    String z= (String)params.get(AgileSessionFactory.PASSWORD);
    addAuditTrailEntry("UserName " +y);  
    addAuditTrailEntry("Password " +z);  
    addAuditTrailEntry("Size is " +s);   
                   AgileSessionFactory instance = AgileSessionFactory.getInstance("******************************");
    addAuditTrailEntry("After instance object" +instance);
    m_session = instance.createSession(params);
    addAuditTrailEntry("" +m_session);
    addAuditTrailEntry("After instance object_Session");
                   admin = m_session.getAdminInstance();
                   cls = admin.getAgileClass( "ProblemReport" );
                   IServiceRequest psr = (IServiceRequest)m_session.createObject( "ProblemReport", "PR-9989909");     
              } catch (Exception e) {
                   e.printStackTrace();
              } finally {
                   m_session.close();
    In the above code it is working perfectly up to AgilSessionFactory instance, but after that when I am printing m_session ( i.e. addAuditTrailEntry("" +m_session);) it is returning null values instead of some session ID. I am also able to print AgilesessionFactoy instance ID correctly inside JEA, but only problem is with m_session. I tried with the same code in java client and it is working perfectly. Please some one help me in this issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for