Getting VALID_GUEST icxSession using Ebusiness Suite SDK session management

Hi all
I have the following use case. My first question would be - is the ebusiness SDK appropriate for this use case in the first place?
I am trying to provide order invoices to customers on the web. I have an OAF page we use internally to view the pdfs. The plan is to use this page basically as a web service that provides the pdf to my application (sending users to the actual page is of course not desirable). So I am building a mid-tier RESTful web service that will hit the appropriate OAF page url, and take the input and pass it to an external app.
Of course, to access the OAF page, I need a valid icxSession. Previously, I was able to get a valid session by calling some of the icx functions through a PL SQL call. Then I extract and pass the $TWO_TASK cookie, and use it in my call to the OAF page. I then pass along the pdf I get from the OAF page as a Response. I had this working. But I understand the icx PL SQL functions are (or will soon be) deprecated, so I am trying to avoid using them if possible. And so, now I have been trying to use the Ebusiness SDK.
Is this a valid use of the SDK? I know the icx PL SQL functions are being deprecated and all, but how valid would using them be as a backup plan?
Here is my experience so far with the SDK.
I have registered the nodes, setup profile options, created the AppDataSource, and everything else in the steps found in the pdf manual (titled Oracle E-Business Suite Software Development Kit for Java). I have integrated some code into my RESTful service to use the fndext.jar(I am using Jersey by the way). Right now, I can instantiate the EBiz object with the APPL_SERVER_ID from my desktop dbc file, create the AppsRequestWrapper and Session. However, I am getting a session as a guest, not a VALID session as the new user I created with the UMX|APPS_SCHEMA_CONNECT role. I believe I have my app and the EBS instance on the same domain, so I do not think that is the problem. Could there be other reasons for this problem? Some steps to troubleshoot this would be wonderful - note I am developing the service in Eclipse, and not JDeveloper though.
So of course with a guest session, I cannot access the page. However, I have found that is I use Session.convertGuest() and pass in the user name of the user with the UMX|APPS_SCHEMA_CONNECT role, that I can now get the icx cookie value, and successfully use it to get the pdf data as I was before. So it is working like this, I am just not sure it is good practice. I expected to not need to use convertGuest at all - I thought I would have a VALID session immediately. Can someone confirm this for me - should I indeed have a VALID session as soon as I instantiate the EBiz object and create the session? Or is a VALID_GUEST session the intended initial session?
My last question is about the HttpServletRequest and HttpServletResponse objects I pass in to instantiate AppsRequestWrapper. I have not been able to find an example of this used in a RESTful web service. So to get these objects, I am using the following:
private @Context HttpServletRequest request;
private @Context HttpServletResponse response;
Does this seem correct, or should I be doing this some other way?
Thanks very much
edit - one other thing. In the documentation, it talks about editing your hosts file:
"1. Open C:\WINDOWS\system32\drivers\etc\hosts file on notepad. Then replace the
line 127.0.0.1 localhost with #127.0.0.1 localhost 127.0.0.1 myapp.us.oracle.com"
I am not sure how to decipher this. It seems to be telling me to replace
127.0.0.1 localhost
with
#127.0.0.1 localhost 127.0.0.1 mydomain.com
All on the same line... I don't know everything about the hosts file and how it works, but wouldn't that just be a commented out line?
Are the instructions perhaps trying to say to replace
127.0.0.1 localhost
with two lines:
#127.0.0.1 localhost
127.0.0.1 mydomain.com
That seems to make more sense to me, but I wanted to clarify since it is not clear in the pdf.
Edited by: mkohanek on Mar 14, 2013 11:33 AM
Edited by: mkohanek on Mar 14, 2013 12:24 PM

Hi,
Regarding the host file change in the documentation: The EBS SDK routines require that your external application, which is typically on a separate machine from the EBS installation, must be on the same domain (such as oracle.com) as the EBS installation. In development, we are often working from machines (like a laptop) that are not on the same domain as the EBS instances we are using, so for testing purposes we often need to make our "external application" machines LOOK like they are in the same domain. This is ONLY for testing purposes.
Thanks,
Sara

Similar Messages

  • Ebusiness Suite SDK for Java session management

    Hi, I am trying to try sample java application mentioned in Oracle® E-Business Suite Software Development Kit for Java Release 11i and 12 Part No. E28169-02
    Current version i am trying is Jdeveloper 11.1.1.4.0 and Ebiz suite 12.1.3
    able to create Apps Data source with out any issue.
    when Home.jsp is accessed through application menu, user name and all session related information is showing as NULL.
    how to resolve this issue.

    Hi Shay,
    I gone through the webinar.
    Here is more explanation of my issue.
    I created Apps Data source earlier. That time i registered external node in ebusiness suite with node_name as ip_address of weblogic server.
    But that time session details came as Null on sample Java application.
    Then i realized that may be the issue and corrected registration of external node and corrected ebiz profile options accordingly.
    When i tried to create Apps data source with fresh dbc file, i got into invalid username/pwd issue.
    As per following forum discussion topic, hyphen and dots in host name will cause issue with Apps data source creation, which is confirmed by couple of discussion participants and Juan also.
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2489849&start=30&tstart=0
    My weblogic host name is like WL-SOADEV-01.domainname.com
    what should be my further actions to resolve this issue.
    Thanks
    Maheedhar.J

  • How to get latest instance using BO Enerprise SDK?

    Post Author: sureshpolishetty
    CA Forum: .NET
    How to get the lastest instance of a report stored in crystal enterprise server (XIR2) using BO Enterprise sdk and .NET?.
    Can anybody help me with the query(using CI_INFOOBJECTS table)?
    Thanks

    Post Author: Argan
    CA Forum: .NET
    Select SI_LAST_SUCCESSFUL_INSTANCE_ID from ci_infoobjects where si_name = 'Charting'
    Jason

  • Hyperion Planning and eBusiness Suite ODI integration

    Hi,
    I have to integrate eBusiness Suite and Hyperion Planning, mostly exporting data from eBusiness Suite to load into Hyperion Planning. I'm allready using eBusiness Suite connectors.
    I'd like to know if there is some start point to understand eBS model besides http://etrm.oracle.com. I found that the technical reference is not of much help to understand where I can find the proper info that I need or what kind of info provides each column/table.
    Thanks!

    Hi Pratik, thank you for your comment. Both links are very helpful. Although I think I wasn't precise enough on my initial post. Im trying to extract info from several modules of eBS (GL, PA, PO, INV, AP and others) to a single table and my approach for the extract is using one source set for each eBS module on ODI interface (with the corresponding tables from each module on each source set).
    The main info I need on this approach is how to avoid exporting duplicate info, because I know that some info is present on several modules.
    I hope I was clear on my explanation, do you have any advice on where can I get that info?. Thank you

  • E75 update using ovi suite always errors 12017

    Any idea why I can't get my e75 to update I always get error 12017 using ovi suite on vista or windows 7

    I am using an N97.
    Just updated my Ovi Suite to Version 3.0.0.284 today. The *#0000# --> Check For Updates command from the handset states "no updates available". Yet when connected with USB cable via Ovi Suite, I am informed that my handset needs to be updated from its current firmware version of 20.0.027.218.04 to version 22.0.110 (quite a few versions different, eh??).
    My first gripe already is the inconsistency between what the handset reports and what OVI Suite reports.
    Second of all, trying to update the device then via OVI Suite also gives the dreaded Error Code: 12017.
    I too was a loyal Nokia fan for many years (10+), but my next handset in August this year will most probably be a Samsung.
    Being a systems developer myself, I simply cannot comprehend how absolute utter **bleep** software such as a) Symbian and b) Ovi can be distributed by a reputable company such as Nokia who have all the resources (financially and otherwise) at their disposal to make their handsets a success. Is no-one monitoring the quality of their programmer's efforts, allowing non-QA'd software to spread its wings and enter the wide world to come and make our lives miserable?
    Damn Nokia.
    Regards,
    J-L

  • EBusiness Suite and EMC Documentum (ApplicationXtender) Integration

    Can anyone provide me details on how to integrate EMC Documentum (ApplicationXtender) with Oracle Ebusiness Suite for document management solution?
    Would appreciate your quick reply.
    Regards,
    Suman

    Hi,
    I would suggest you contact the vendor for the needed steps/documentation.
    You may review links and see if it helps.
    Oracle® Secure Enterprise Search Administrator's Guide
    http://download-west.oracle.com/docs/cd/B19306_01/search.102/b32259/toc.htm
    Disaster Recovery for Oracle E-Business Suite - Solutions - EMC
    http://www.emc.com/solutions/samples/oracle/disaster-recovery-oracle-ebusiness-suite.htm
    Regards,
    Hussein

  • Re: (forte-users) Session management for page builder(fwd)

    Jaco,
    Hope this helps,
    John
    John Soper, Information Systems Development, ITS, The University of Melbourne
    email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
    Date: Mon, 10 Jan 2000 16:34:31 +1100
    From: Lyle Winton <L.Wintonits.unimelb.edu.au>
    To: John Soper <j.soperits.unimelb.edu.au>
    Subject: Re: (forte-users) Session management for page builder (fwd)
    Why not construct an intermediate page after the
    login page that has SESSION_UNSPECIFIED and
    a refresh META tag. The page can then refresh
    to either the login failed or login succeeded pages
    depending on how the login went! Looks like...
    1) Login page (SESSION_UNSPECIFIED)
    2A) Refresh page (SESSION_UNSPECIFIED)
    < HTML >
    < HEAD >
    < META http-equiv="refresh"
    content="0;URL=<a href=
    "http://www.blah.com/forte.cgi?PageName=3">http://www.blah.com/forte.cgi?PageName=3</a>" >
    < /HEAD >
    < BODY >
    Login succeeded. Please wait...
    < /BODY >
    < /HTML >
    2B) Refresh page (SESSION_UNSPECIFIED)
    < HTML >
    < BODY >
    Login failed.
    < /BODY >
    < /HTML >
    3) We're finally in. (SESSION_REQUIRED)
    I'm not sure if this works on internet exploder.
    Lyle.
    John Soper wrote:
    Lyle,
    (Post from forte mailing group)
    Does this make sense to you?
    John
    John Soper, Information Systems Development, ITS, The University of Melbourne
    email: j.soperits.unimelb.edu.au >>>> Tel: 9344 5612---------- Forwarded message ----------
    Date: Thu, 30 Dec 1999 07:54:24 +0200
    From: "Jaco Erasmus (home)" <jacoerasmweb.co.za>
    To: kamranaminyahoo.com
    Subject: (forte-users) Session management for page builder
    Hi everybody,
    We have a lot of legacy code making use of the page builder service to
    produce web pages. These pages were originally written without session
    management. I'm now busy adding session management to them, but there is
    one problem with this approach and I will appreciate if someone can shed
    some light on it. Here it is:
    Page one is submitted.
    Some validation (authentication) takes place and depending on the outcome,
    either page 2A (SESSION_REQUIRED) or 2B (error page with
    SESSION_UNSPECIFIED) must be displayed. In order to implement this, I
    needed a place to make a decision. The way I've done it, is to pass a
    'virtual page' (SESSION_UNSPECIFIED) to the page builder service. The
    validation is done here and request.PageName is then replaced with the
    PageName of pages 2A or 2B. The HandleRequest() method is then called
    again. The problem is that the ValidateSession() method does not get
    invoked again, thus allowing 2A through without a session. How do I make
    sure that the ValidateSession() method get invoked again?
    The approach making use of templates look to me as if it has all the means
    to do this (redirect tag), but I don't want to rewrite everything if I
    don't have to. Is there a way that a pagebuilder page can be specified by
    the redirect tag? This will definitely help, but so far I've only managed
    to call templates from the redirect tag.
    Is the template approach better suited for session management? It is
    definetely better documented...
    Regards.
    Jaco
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

    Hi,
    i hope this helps
    http://help.sap.com/saphelp_nw70/helpdata/EN/7e/aa610cc1dd8f4388b1df02fc362f0f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/69/c250754ba111d189750000e8322d00/frameset.htm
    regards,
    Anil.

  • Unable to initialize session manager

    Hi, We are on BOXI R2 SP3 on IIS and we are using SDK to open reports. We ran 1200 users performance testing and we got just 15 failures with the message.
    Error in RetrieveReport Internal Error:Unable to Initialize session manager
    When I open CCM using Program filesetc then I use to get same error message :"Unable to Initialize session manager". When I search for the ccm shortcut and launch that then it works fine. Now its totally missing from Program Files>> Business Objects options.
    Any idea what is the cause? Not sure if this error is related.

    This could be because previously only 512 MB was assigned to each sessions. We increased this to 1024 and we are not seeing this error message. There is a registry entry "WINDOWS"  in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems.
    In WINDOWS Key the value is "WIndows Shared Section=1024,3072,512" We made it to "WIndows Shared Section=1024,3072,1024"
    Thanks,

  • Solaris 10 gnome session manager crashes on login

    There are two Solaris 10 servers at work that I cannot log into. At the login screen I choose Options --> Session --> Java Desktop System, Release 3
    and then try to log in. I get the following error message:
    "The GNOME session manager (process XXXXX) has crashed due to a fatal error. (Segmentation Fault). When you close this dialog, all applications will close and your session will exit. Please save all your files before closing this dialog."
    I was able to find one post on this error using google. It said that the user solved this problem by editing the LD_LIBRARY_PATH variable by moving /usr/local/lib to the beginning of the line. This didn't fix my problem. I logged in via ssh and double checked that the LD_LIBRARY_PATH change had saved.
    Other people can log into the server just fine. Just not me. I even completely wiped my home directory. Anybody know where I can find a fix for this?

    Just discovered that if one of the working users logs completely out, they cannot log back in. So this error affects everybody.

  • ITS iView and Session Management in Federated Portal Network

    Hi,
    We use an ITS iView for an HR application in the Portal. When used in federation the session management doesn not work correctly. We fill in a selection screen in the begin of the application and then run the report. When we click the back button in the Portal and then reload the app, the selection of the previous session is used, in stead of showing a new selection screen.
    This only occurs when used in Federated Portal Network. SAP OSS already pointed out that the USR_ABORT command is not given in the consumer Portal. How can we make sure that this command is given, so that the session is correctly closed? How can we set these session management properties and options?
    Best regards,
    Jan Laros

    Solved it. It is done in the federation configuration. In SAP  Note 880482 - Central Note: Federated Portal Network (SAP NetWeaver 7.0) the problem is identified, specific for SPS13. The two properties of the producer: External Hostname and External Port were not updated properly and needed to be changed manually.

  • Error using load balancer in ebusiness suite R12

    Hi
    Has any one used Cisco 11503 load balancer in their ebusiness implementation
    we have upgraded a customer instance from 11i10cu2 to 12.0.6. we have configured the R12 instance for load balancer as per metalink note 380489.1
    when we access the ebusiness suite, we hit the issue as mentioned below:
    You cannot complete this task because one of the following events caused a loss of page data. Possible Causes:
    You have left your login session idle past the timeout period. A system failure has occurred. The application server is incorrectly configured and does not send a session cookie to the client browser. If you were testing in JDeveloper: JDeveloper OC4J process did not fully shut down before restarting the application. You closed one of the Internet Explorer browser windows while the request is being processed in another Internet Explorer window. Closing an Internet Explorer window causes OC4J to expire a user session. OC4J XML files in your JDeveloper user home system directory have been modified or corrupted.
    as per many metalink notes, this may occur due to load balancer ..example note : 755825.1
    we have then removed load balancer setting from the applications context file (xml file) and issue doesnt occur.
    so issue seems to be with load balancer setting, however we couldnt find any doc which mentions setting for Cisco 11503 load balancer
    we saw notes for Bigip and cisco ACE load balancer in metalink 601694.1
    Customer is also unable to help here .. as to what setting needs to be changed
    Can someone kindly advise

    Have you opened a case with Cisco to see if they can help ? Has persistence been enabled on the load balancer ? Is there some kind of timeout enabled on the balancer ? I do not know much about load balancers, but the settings should be somewhat similar across all of them. See if these docs help
    601694.1 - How To Check Session Persistence On BigIP F5 And Cisco Ace Load Balancer Appliances
    390173.1 - How to prevent Self-Service session expiry when Using Radware's APSolute Insite Software Loadbalancing Software
    HTH
    Srini

  • How to login the Ebusiness suit use the code

    Hello,every one.I wanna login into the Ebusiness suit use the java code .
    <%@ page contentType="text/html;charset=GB18030"%>
    <%@ page import=" oracle.apps.fnd.common.*" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GB18030">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <%
    WebAppsContext wac = new WebAppsContext("xxxx.xxx.com","8000","/oraprodsys/prod/prodappl/fnd/11.5.0/secure/bxerp4_prod.dbc");
    boolean return_value=wac.createSession(5013);
    response.sendRedirect("http://xxx.xxx.com:8000/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE");
    %>
    <%=return_value%>
    <%=wac.getSessionCookieName()%>
    </body>
    </html>
    I found the return_value is true and the CookieName is not null.
    But the login page still appear. please help me thank you

    For example, in 10G, when you double click on an Actor, you get a really useful set of fields to fill in. In 11G, you get xml boilerplate that I don't know how to use, and has none of the fields on the 10G properties panel.
    Why did this change?

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Integrating Oracle eBusiness Suite with banking services using Oracle SOA

    Hi ,
    I am working on a project for integrating Oracle eBusiness Suite with banking services using Oracle SOA. We have implemented Oracle SOA and trying to call bank's services using SOA.
    The bank has provided its web services over http which accepts XML data as string through HTTPS post invocation and provides response accordingly in string XML Data.
    For each service, specific format of request and response message has been provided.
    I am trying to call their web services using HTTP binding adapter.
    I would like to know whether my approach of calling bank's web service using HTTP binding adapter is correct or not.
    Looking ahead for your valuable insight and advice.
    Thanks

    Hi,
    Thank you for your reply.
    Is the usage of B2B not applicable for this project ?
    Thanks

  • Are Forms and Reports used in eBusiness Suite?

    I am new to eBusiness Suite. I have a myth about whether eBusiness Suite is all written by Oracle Forms and Reports. If yes, are these Forms and Reports source code supplied to the customer for customisation?
    Any help is welcome.

    Hi,
    The EBusiness Suite combination of forms/reports/jsp.
    the forms/reports are module specific. Each module having its own forms and reports. With standard installation of Ebusiness suite you will get standard forms and reports. on demand requirement the reports/forms will change in display.
    the binary forms with extention of .fmb,
    reports with extention of .rdf
    regards,
    phani.k

Maybe you are looking for

  • How can I create a 5 minute window?

    What I am trying to do is make a 5 minute window of events that happened last in my application. For some reason, I cannot get the "5 minutes"  to be just that. Here is what I want to do: I want to have events from the event structure written to a fi

  • What dvi to vga connector do I need for a MacBook Pro A1286?

    I bought a mini DVI to VGA for my 15 inch MacbookPro (Model 1286) but the mini-DVI connector is too big. I need a connector HALF that size. Is there one I can use, find, purchase?

  • Global Policy Link Does Not Open A New Browser Window

    Hi All, On 11.5.10.2 version Global Policy Link which is located at the top of most iExpenses pages is supposed to open a dynamic web page (Core policy manuals) on a new browser when someone clicks on it. Currently this link, when clicked on it, brin

  • End of a session

    Hi, I want to redirect the user of my page to the index.jsp page when the session ends. How can i do ?

  • Update Infotype 1001

    hi all, I have to update  the SLAS of the object ID. I am using Fm " RH_UPDATE_INFty".  but it is not updating the SCLAS Code is given below REPORT  ZTEST_RH_UPDATE_INFTY. DATA:     lt_relation TYPE TABLE OF p1001,     ls_relation TYPE          p1001