Sample Partner Application in PDK is not getting configured

Hi,
I'm trying since the past few days to install and configure the Sample Partner Application from PDK without any success mostly due to the poor documentation provided with it.
I have followed the instructions given in the install.txt and the other partner app html doc step by step.
Is there anything else that need to be done other than this?
And if anyone has successfully installed and configured this sample app then can he/she send me the correct instructions to do so.
any suggestions?
Thanks,
Manoj

Hi,
Try
OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:' || l_number);Br,Jari

Similar Messages

  • Fail to integrate the 'Flights' sample partner application

    Hi, I have been following the pdk document with path below trying to integrate the 'Flights' partner application:
    Local_Disk\pdk\pdk\jpdk\v2\doc\partnerApp\integrating.partner.v2.html
    However, my integration is not successful. In fact, I found step 2 very confusing. My questions are:
    1) As I know, there is user interface provided for step 2, why bother listing such a command line?
    2) Would you please advice me for detailed configuration parameters for step 2 (UI is more preferred) given that my local OC4J, which have the 'flight' application installed and run, is a separate machine from the application server (including the web server and portal server) and infrasture server.
    3) I encounter 'Unauthenticated user' error when I examine my local application.log if i run the flight application portlet. Would it be a hint to solve my situation?
    Background info:
    1) My application is deployed in my local OC4J which is installed from the JDeveloper (9.0.2)
    2) The portal server and my local OC4J (as mentioned in point 1) are in separate machine and ip.
    3)portal version (9.0.2 version 4); pdk Dec version.
    Thanks for any help and replies.

    REPOST ...

  • Business service NOT getting configured from jca file in Windows 7

    I am faced with a problem in Windows 7.
    In one machine with Win XP as OS, when I create a business service from a JCA(.jca) file, the Endpoint URI gets configured automatically with jca://<jndi name>/... and having protocol as jca.
    But, when I do the same in Windows 7, the endpoint URI is not getting configured neither do I find a jca option in protocol so that I can configure it manually.
    The probable reason I sense, is that some files(may be jar or others) are not getting the acccess required by OEPE.
    Any suggestions, which jars or files are required for the configuration to be correct??? I mean for the JCA protocol to come up ??

    I could create a JCA business service on windows 7 64bit without any issues. Can you follow below points and let us know the result -
    1. Make sure that you are running eclipse as administrator. right click on "eclipse.exe" and select "Run as administrator"
    2. Make sure that file $OEPE_Installation_Dir\dropins\oracle.osb.ide.link has a valid OSB home entry like below -
    path=E:/ofmw11g/mw/Oracle_OSB13. Make sure that below directory exists -
    $OSB_home\eclipse\plugins\com.bea.alsb.transports.jca_1.1.0
    For e.g. - my setup have E:\ofmw11g\mw\Oracle_OSB1\eclipse\plugins\com.bea.alsb.transports.jca_1.1.0
    Regards,
    Anuj

  • IDoc output type not getting configured in IDoc-File scenario

    Hello
    I am having IDoc to file scenario where I want to post Delivery Document to legacy system. For this I have configured following EDI configuration for Delivery through NACE transaction
    1] Created output type
    2] Created partner function as EDI LS for this output type
    3] Configured RSNASTED as Processing Routines for output type
    4] Included this output type in the Header output procedure
    5] Configured XI system as the partner in partner profile with appropriate Message control
    Still when I attempt to include this output type in the Delivery it gives me "Output for partner could not be configured". The detail message says "In Customizing, the 'CannotBeChanged' indicator has been set for output type".
    I checked in SPRO but could not find such flag.
    Does anyone had came across such output type configuration.
    Thanks in advance.
    I know this question might be not appropriate in XI forum as it comes under EDI but it has become necessary for XI profs -:)
    Regards
    Rajeev

    Hi,
    Please check the following
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Copy NEU to ZNEU or YNEU
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type ZNEU or YNEU.
    G.Ganesh Kumar

  • Copying or exporting an application - bug?  LOVs not getting set in reports

    Hi all, I apologize if this has been on here before, I thought I may have seen something about it before, but my search turned up empty.
    When I copy an application, or export/import it -- it seems all the LOV based items in my reports (IR or otherwise I think) don't get set. For example if I have a query returning a data value back as 1 or 2, and I have an LOV to translate that to 1 = Male, 2 = Female -- and I have it set to display the value of the LOV for the value -- that is seemingly getting lost in the copy.
    It's extremely painful to have to go to my new copied app and set everything manually again. And this is horrendous for an import/export from dev/test/production moving.
    Any thoughts/ideas how to resolve? Is it an APEX bug?
    Thanks
    David

    I just upgrade to 4.0.2 in hopes it would solve my problem, but unfortunately it doesn't. What could it be about my app? Again, here's what is happening: it seems that anywhere I'm using a "display based on LOV" column in a report (maybe just on IRs, can't find any on non IR reports) -- when I either export/import my app, or simply copy it in the same workspace, the Named LOV attribute is not set in the copy/import -- so the reports don't show my display values.
    Could it be something about my LOVs? Maybe I should try to recreate some of them?
    I wonder is there somewhere in the export file that I could look to see what's missing/going on? Weird thing is that when I ran a copy of my app, there was at least ONE report column that as showing correctly, but when I go and edit that column, I can see the LOV is NOT selected, and I can't save it without selecting one! So it's very strange, and unfortunately 4.0.2 doesn't solve it.
    I'll have to try to create a new lov and do a test. But this is a big deal because I can't move my app to from DEV to TEST or PROD if I have to go into it afterwards and change all the LOV based columns. I suppose a work-around would be to change all my queries to get the display value themselves instead of relying on the LOVs....I wonder if that would be more or less efficient?
    No one else has seen this issue?
    Thanks
    David

  • Application process code is not getting the value

    Hi
    I have implemented search functionality on page 0 (One Textbox and one ImageButton).
    on clicking on image button
    I am calling a application process to redirect a page on the basis of entered value.
    I am using following code in application process:
    DECLARE
    l_number NUMBER;
    rec_count NUMBER;
    BEGIN
    l_number := TO_NUMBER(:P0_SEARCH);
    SELECT COUNT(*) INTO rec_count FROM CASE_DATA WHERE CASE_NUMBER = l_number;
    if rec_count >= 1 then
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:l_number');
    End if;
    exception
    when others then
    NULL;
    END;
    :P0_SEARCH is the name of search textbox that is on page 0.
    when i clicking on image button then this value of l_number is not passed to the
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:l_number');
    its giving an error
    ORA-01722: invalid number
    and in url its showing
    http://apex.oracle.com/pls/otn/f?p=31774:42:16398188927210884::NO::P42_CASE_NUMBER:l_number
    but its working if i am putting the static value as
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:22');
    its redirecting the right page as
    http://apex.oracle.com/pls/otn/f?p=31774:42:16398188927210884::NO::P42_CASE_NUMBER:l4
    So, please help me how to pass the value to redirect.
    Thanks
    -PM

    Hi,
    Try
    OWA_UTIL.REDIRECT_URL('f?p=&APP_ID.:42:&SESSION.::&DEBUG.::P42_CASE_NUMBER:' || l_number);Br,Jari

  • Trying to load the sample plugin snippetRunner but it's not getting loaded

    I tried to load the sample pluggin SniipetRunner and open Indesign.
    Indesign opened successfully and is showing other plug-ins in the plug-in drop down but now SnippetRunner
    any idea?

    I had the same problem. The SnippetRunner can be found under "Window" in the top menu bar. A screenshot can be seen here: http://stackoverflow.com/questions/23214516/indesign-sdk-sample-plugin-not-working/2323971 5#23239715

  • Not getting planning Applications when Log on Work space

    Hi Dear Experts,
    when log on Workspace to access Planning:
    its show showing
    Navigate ->Administration->User management
    instead if Select Navigate > Applications > Planning
    and iam not getting planning Applications when Log on Work space
    I have Just Installed Essbase and Planning into my machine .. and i have opened work space area and
    and i tried to create first application by using the following URL
    http://localhost:8300/HyperionPlanning/AppWizard.jsp
    iam getting not able create first application..
    can you please guide me how can i work with planing applications..
    thanks in advance
    Kishore

    Hi Kishore.
    From config utility, did you create an instance before trying to access.
    I mean "product instance registration" and "data source configuration"
    You can find it in the installation doc
    Sandeep Reddy Enti
    HCC
    http://analytiks.blogspot.com

  • Error on registering Flights of Fancy application(Partner Application, JPDK) provide

    Hi
    When i try to add a provider for Flights of Fancy application i am getting this error
    An error occurred when attempting to call the providers register function. (WWC-43134)
    The following error occurred during the call to Web provider: Unable to initialize new provider instance: oracle.portal.provider.v1.ProviderException: Portlet PartnerFlightPortlet: Required Renderer not set. (WWC-43147)
    i am able to access the URL (http://myhost/servlet/flightsprov) without any problem and is displaying the following information
    Congratulations! You have successfully reached your Provider's Test Page.
    Checking for components:
    Oracle XML parser: detected
    Oracle JSP: detected
    Recognizing initArgs: Usual initArgs are provider_root and sessiontimeout.
    dbhost: myhost
    partnerAppCookieDomain: mydomain.com.qa
    dbsid: mysid
    onCancelUrl: http://myhost
    partnerAppCookieDesc: SSO application cookie
    partnerAppCookieScope: /
    dbSchema: mypartner
    requestedUrl: http://myhost/servlet/flights
    provider_root: D:\port\partner
    dbport: 1521
    dbPassword: mypartner1
    partnerAppCookieName: SSO_PAPP_SERVLET_ID
    sessiontimeout: 1800000
    listenerToken: myhost:80
    ANd i make sure several times that i am using the same URL for Portal registration page.
    In the jserv.log file i am getting the following information
    [08/04/2001 13:08:24:642 GMT+03:00] flightsprov/javax.servlet.ServletException: Unable to initialize new provider instance: oracle.portal.provider.v1.ProviderException: Portlet PartnerFlightPortlet: Required Renderer not set.
    at oracle.portal.provider.v1.http.HttpProvider.getProvider(HttpProvider.java:339)
    at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:246)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
    at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    Can anybody help me in solving this problem
    thanks in advance
    Abdulla
    null

    You're not missing anything - it sounds like it's working perfectly.
    If a provider is affiliated with a partner application, the provider is automatically authenticated when you authenticate to the portal - because it is also a partner application. You only need to authenticate yourself once.
    Now, when you go to the partner application, the application session cookie that was created by the provider is passed to the partner application & so you are not challenged.
    Now, if you close your browser and access the partner application first, the login server will challenge you. When you subsequently go to the portal, you will not be challenged - the portal contacts the login server behind the scenes, determines you have already authenticated yourself and proceeds as if you had logged in.
    When you visit the partner provider portlet, it will detect the cookie created by the partner application and use that to tie into the same session.
    This is the whole point of single sign on.

  • Data is not getting updated in CRM

    HI experts,
    I am updating the new address and postal codes in ISU.And now if I check these address for buisness partner in CRM. Its not getting updated.
    why this is happening?
    Is there any BDOC used in this case then how we can check that BDOC?
    Thanks,
    Jassi

    Hello
    I am sure that the problem occurs due to this.
    You need to know the error message. To do this:
    1) Choose any red document from transaction SMW01
    2) Click on button "Show BDoc message errors/receivers" (9th button from the left)
    3) In the opening window there is a button "Errors". There is where you can find the error message.
    I hope it helps. Please, provide points if helpful.
    Joaquin

  • Second htmldb as partner application in sso

    Hello ,
    I have 2 databases (say A and B) running each their own htmldb instance.
    I have 1 sso server where already 1 htmldb partner application is defined of DB A.
    Now i want to define the second instance of the htmldb on DB B also as partner application on my sso server.
    In the installation guide, i read the following for value of app_name when running regapp.sql
    'You must use HTML_DB as the app_name', but i already have one defined of DB A. Can I use another name or should i use the same name ? Or is it impossible to define 2 htmldb partner applications on 1 SSO.
    Grtz,
    Chris.

    When defining my app_name with the regapp.sql, i have used
    HTML_DB_TEST:servername:443 as listener_token.
    As i already have a HTML_DB:servername:443.
    I also used HTML_DB_TEST in the definition of the partner application.
    Now I'm getting : Expecting p_company or wwv_flow_company cookie to contain security group id of application owner. when trying to run my application.
    Could this be related, and if so, how can i define a second htmldb application as a partner application in sso ?
    Chris.

  • Page items not getting set upon login in APEX 4.0.2

    We just upgraded our APEX in development from 4.0.1 to 4.0.2.00.07. While testing found that in APEX developer, unless we press one of the buttons (Debug/View Debus/Show Edit Links) in the tool bar on the login page, the application/page items are not getting set to display the conditional items (page regions/buttons/Tabs etc,.) Could this be some setting within APEX Developer?
    But the display is fine when the application is run directly in a browser, as an end user.
    Is anybody else having this issue? We are holding off our production upgrade because of this issue.
    Any help is appreciated.
    Thanks
    Radhika

    Hi,
    Could you please explain what you mean by
    Running 4.0.2 version...need to know how to remove the pop-up login and go straight to welcome/splash page?Do you mean application builder or your application login page ?
    If you mean application builder, you can not remove login page. You need always login to builder.
    If you mean your own application then change authentication scheme
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/sec.htm#sthref2297
    Regards,
    Jari

  • Communication Channel not getting any adapter

    I am getting this error when i goto the ID and refresh the cache, but when i goto the SXI_CACHE it shows me the green light.
    Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time. Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine. This is usually structured as follows: af.<SAP System ID>.<Name of application server>
    I am not getting any adapter in Communication Channel also getting java.LangNullPointer Error.
    can somebody please help me as quickly as possible.
    If possible can somebody please reply me the post installation of XI with complete screen shots.
    on muiqbal2008 at gmail dot com

    Thanks for the information sarvesh, i won't add the email from next time.
    ok i am getting these erros.
    1) in ID when i am trying to refresh the Cache.
    com.sap.aii.ib.server.abapcache.CacheRefreshException: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.01.sapserver, string], target element type: SAP_BusinessSystem)
         at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:488)
         at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:140)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:370)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:294)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    com.sap.aii.ib.bom.landscape.SLDElementNotFoundException: Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.01.sapserver, string], target element type: SAP_BusinessSystem)
         at com.sap.aii.ib.server.sldquery.SLDQuery.dammiIlMioCentralAdapterFramework(SLDQuery.java:77)
         at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:202)
         at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:140)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:370)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:294)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThd.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    2) I am getting this error when i am trying to refresh the cache
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://sapserver:50100/CPACache/refresh?mode=full'. L...
    CPA cache refresh (mode=full) successfully executed in 2297 milliseconds.
    ^
    Although if i check the cache via SXI_CACHE it shows me the green light.

  • New Server - Not Getting Event.Data back

    Its a weird problem i'm having. I've setup a brand new server (Original was a shared hosting setup from godaddy).
    I'm using my same application
    And i'm not getting event.data info back (in XML form)
    Here's an example:
    private function onUploadCompleteData(event:DataEvent):void {
    updateStatus(event.data, _numCurrentUpload - 1);
    var x:XML = new XML(event.data.toString()); <---- NOT FIRING
    Application.application.upAvatar = "/profile/" + x.name;
    Does anyone have any ideas? I was thinking it could be a misconfiguration with my apache settings.
    I'm using:
    Ubuntu
    Apache2
    PHP5
    CURL
    Thanks..

    hi,
    have you placed a fault event handler on your request to see what error if any is being returned ?
    David.

  • Getting Logged on User'Information in an Oracle-Form SSO Partner Application

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced.

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced. If you're writing your own partner application, then you are correct to get the user information from the output variables
    from the parse_url_cookie procedure. You should then set the information you want to keep track of in the cookie, or combination
    of cookie and persistent storage in the database. Take care of the security implications while doing this.
    On subsequent calls to your application, the user info should be obtained from the cookie and the database, if you
    are using a combination of the cookie and database storage to keep your info.
    The owa_cookie.get routine is used to read the cookie, which is generated with owa_cookie.send.
    These routines work fine, when invoked correctly.
    If you are having trouble with them, you're probably not using the calls properly.
    The following code provides an example of how to use the owa_cookie calls...
    create or replace package testcookie
    is
        procedure show (p_name IN VARCHAR2);
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
    end testcookie;
    show error package testcookie
    create or replace package body testcookie is
        procedure show (p_name IN VARCHAR2) is
            v_cookie owa_cookie.cookie;
        begin
            v_cookie := owa_cookie.get(upper(p_name));
            htp.htmlopen;
            htp.bodyopen;
            htp.print(v_cookie.vals(1));
            htp.bodyclose;
            htp.htmlclose;
        exception
            when others then
                htp.htmlopen;
                htp.bodyopen;
                htp.print('NO COOKIE FOUND.');
                htp.print(SQLERRM);
                htp.bodyclose;
                htp.htmlclose;
        end;
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
        is
            v_cookie owa_cookie.cookie;
            l_agent varchar2(30);
            l_expires varchar2(30);
            l_path varchar2(100);
        begin
            if p_expires is null then
                l_expires := null;
            else
               l_expires := to_date(p_expires, 'MMDDYYYY');
            end if;
            if p_path = 'ALL' then
                l_path := '/';
            else
                l_path := null;
            end if;
            owa_util.mime_header('text/html', FALSE);
            l_agent := owa_util.get_owa_service_path;
            l_agent := substr(l_agent, 1, length(l_agent) - 1 ) ;
            owa_cookie.send(
                name    => upper(p_name),
                value   => p_value,
                expires => l_expires,
                path    => l_path
            owa_util.http_header_close;
            htp.htmlopen;
            htp.headopen;
            htp.headclose;
            htp.bodyopen;
            htp.print ('Cookie set.');
            htp.bodyclose;
            htp.htmlclose;
        end;
    end testcookie;
    show error package body testcookie;
    grant execute on testcookie to public;If you load this into a schema which a DAD can access, then you can invoke the show and send procedures to view and
    generate cookies.
    To generate a cookie, issue the following from your browser ...
    http://server.domain.com/pls/dad/schema.testcookies.send?p_name=test&p_value=hello
    To view the cookie:
    http://server.domain.com/pls/dad/schema.testcookies.show?p_name=test

Maybe you are looking for