APEX Integration with EBusiness 12.1.3
I am trying to connect to an APEX app thru EBS and skip the logon page. I have followed Rod West's document http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf ] ). I've also been searching thru postings reading any info provided by others who have had trouble getting this working but have not seen the error I'm getting.
FYI - using Apex 3.2 (I know it's old!) EBS R12 12.1.3; APEX is on another domain and in another schema.
I am getting very close because if I hardcode the username in the Onload process, it works great - creates new password, skips 2nd logon page, etc. Where I'm having the problem is with wfa_sec.getsession. I've tried wrapping it in another package and anything else I can think of and always get the error below:
ORA-20002: 3403: Internal: error while getting session information. -6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "SYS.HTP", line 1515 ORA-06512: at "SYS.HTP", line 1735 ORA-06512: at "APPS.ORACLEAPPS", line 1111 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "APPS.ICX_SEC", line 2387 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SYS.OWA_UTIL", line 356 ORA-06512: at "SYS.HTP", line 1368 ORA-06512: at "SYS.HTP", line 1443 ORA-06512
So then I created a simple procedure to run thru EBS as a concurrent program to just call the same package
create or replace package sko_session_pkg as
procedure getsession
(errbuf out varchar2, retcode out varchar2);
end sko_session_pkg;
create or replace package body sko_session_pkg AS
PROCEDURE getsession (errbuf out varchar2, retcode out varchar2) IS
p_user varchar2(320) := NULL;
begin
wfa_sec.getsession(p_user);
end getsession;
end sko_session_pkg;
When I run this procedure I get the same error:
**Starts**12-JUL-2012 19:10:22
ORACLE error 20002 in FDPSTP
Cause: FDPSTP failed due to ORA-20002: 3403: Internal: error while getting session information. -6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.HTP", line 1515
ORA-06512
Output file size:
0
Has anyone encountered this error when accessing wfa_sec.getsession?
Any help would be greatly appreciated and thanks in advance!
Sandie
Rod,
I thought I should attempt to get your LaunchApex.jsp provided in Figure 9 from your document working before I added additional code to call the get_apex_url.
LaunchApex.jsp compiled successfully and the apps server was bounced but getting Page Not Found error. Without the get_apex_url code in LaunchApex.jsp, I was expecting it to just bring up the APEX login screen (like the GWY.jsp does). FYI - I'm calling this from EBS responsibility/menu pointing to Function 'APEX_LOGIN'; type=SSWA jsp function; HTML Call=LaunchApex.jsp?&application=614&page=3140
The url that shows when I get the page not found is
http://....../OA_HTML/RF.jsp?function_id=51525&resp_id=64694&resp_appl_id=0&security_group_id=0&lang_code=US¶ms=JGFTjw4wmhX6TenmVQJ4IGGtVKZXnnU1EV.XsJrX5us&oas=xn4Xk7Bp9SgoTpjrieP_Zw..
Where is the RF.jsp coming from???? There's a call in the jsp to validate the session so thought maybe it wasn't able to do that and is just returning.
If I type url
http://..../OA_HTML/LaunchApex.jsp? I get same 'Page Not Found'.
Thx for all of your help!
Sandie
Similar Messages
-
Apex integrating with ebusiness suite 11.5.10
Hello,
We are using apex 3.2.0.00.27 and trying to integrate with ebusiness suite 11.5.10. Our apex is located on a stand alone separate server than our ebusiness suite installation.
We are trying to follow the Cabot document found at
http://www.stuffspec.com/Read/_sp.d3d3Lm9yYWNsZS5jb20-sp..sltechnetwork.sl_developer-tools.sl_apex.sl_apex-ebs-wp-cabot-consulting-169064.pdf
but are having troubles just trying to get the ebusiness set up part done.
We are having troubles on page 5 of 8 where it talks about creating the plsql form function with the following attributes.
When we set the Properties/Type to be SSWA plsql function, it does not want to accept it and will not save as SSWA plsql function.
I have searched and read and followed so many links my head is spining. Has anyone else had this type of issue, and could tell us what we are doing wrong? Does the Cabot approach work for everyone, or is there another method that will work better?
Any help would be appreciated.
Thank you,
MarkMarkPP posted the original thread on my behalf. I have looked through the threads that you suggested and unfortunately they have not shed any light on the subject.
We are using a stand alone apex server. We have a 11.5.10.2 e-bus suite which we use SSO for the hrSelfService. We are trying to add the new apex application to the hrselfservice menu. I following the Cabot white paper and I have created the procedure apex_launch as follows. I have some questions about it that are inline:
PROCEDURE APPS.apex_launch (
application IN NUMBER
, page IN NUMBER DEFAULT 1
, request IN VARCHAR2 DEFAULT NULL
, item_names IN VARCHAR2 DEFAULT NULL
, item_values IN VARCHAR2 DEFAULT NULL)
Is
Begin
OWA_UTIL.mime_header('text/html', false); ---- Is the url correct? Since my apex server is separate, do I need the APPS_FRAMEWORK_AGENT???
OWA_UTIL.redirect_url( ---- Do i need to create a DAD for pls/apex?
'https://ourserver.school.edu/pls/apex/f?p='||
application||':'||page||'::'||request||':::'||
item_names||':'||item_values);
End apex_launch;
I created the form function with the following attributes:
Properties/Type -> SSWA plsql function
Web HTML/HTML Call -> apex_launch
Form/Parameter -> application=310
I am able to save the plsql form function with no errors. However, when i go back in to look at the form function: property type, it is set to "database provider portlet". (I have opened an SR on this issue and as yet, i don't have a solution.)
I then add the new form function to the hr self service menu. When I go into self service, the new function does not display.
If I change the property to SSWA plsql function that opens a new window (Kiosk mode) and save the form function and don't change anything else, when I go into self service the new function displays. However ,when I click on it, it opens another e-bus suite logon page. After entering the username/password it just brings up the ebus suite application, not the apex application.
Can anybody help me? thanks. -
APEX integration with EBS R12.1.1 - no SSO
I am trying to complete APEX integration with EBS R12.1.1 in simplest way. I have a non authenticated report page that I need to link to through a menu and function on one of the existing forms.
Rod West document
http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf
offers the jsp approach which I like to implement however the jsp will not compile correctly and I am not sure why - I have already fond one error with the code as listed in the document:
ojspCompile.pl compile -s 'LaunchApex.jsp ' retry ---> will not work
ojspCompile.pl compile -s 'LaunchApex.jsp' retry --> will work
compile will fail starting at this point of the code:
PARALLEL COMPILATION: 1
[10389] !!COMPILATION ERROR(0) LaunchApex.jsp:
_LaunchApex.java:70: illegal start of type
if (ctx==null) {
^
has anyone tried this approach and got the jsp to compile with no errors or can you see what is it?
thanks in advance.Hello Mini:
thanks for the info and I have followed the steps as listed. I am not sure what line is the bad code you listed is on - here is the copy of the jsp I am working with and maybe you can point to a specfic line(s) that need to be changed from what to what.
<%@ page contentType="text/html;charset=UTF-8" %><%--
/* LaunchApex.jsp */
--%><%@ page
import="java.io.*"
import="java.net.*"
import="java.sql.*"
import="javax.servlet.http.*"
import="java.util.Enumeration"
import="java.util.Properties"
import="java.lang.Math"
import="oracle.apps.fnd.common.VersionInfo"
import="oracle.apps.fnd.functionSecurity.Function"
import="oracle.apps.fnd.functionSecurity.RunFunction"
import="oracle.apps.fnd.common.WebAppsContext"
import="oracle.apps.fnd.common.AppsEnvironmentStore"
import="oracle.apps.fnd.common.WebRequestUtil"
import="oracle.apps.fnd.common.ResourceStore"
import="oracle.apps.fnd.security.CSS"
import="oracle.apps.fnd.common.Message"
import="oracle.jdbc.OracleConnection"
import="oracle.jdbc.OraclePreparedStatement"
import="oracle.jdbc.OracleResultSet" %><%!
// Session has to be validated first
WebAppsContext ctx = WebRequestUtil.validateContext(request, response);
if (ctx==null) {
return; }
String cookieName = ctx.getSessionCookieName();
boolean validSession = ctx.validateSession(cookieName);
WebRequestUtil.setClientEncoding(response, ctx);
%>
<html>
<head>
<title>Launch Apex</title>
<!-- LaunchApex.jsp -->
</head>
<body>
<%
String p_application = request.getParameter("application");
p_application = ( p_application==null ? "NONE" : p_application);
String p_page = request.getParameter("page");
p_page = ( p_page==null ? "1" : p_page);
String p_item_names = request.getParameter("item_names");
p_item_names = ( p_item_names==null ? "" : p_item_names);
String p_item_values = request.getParameter("item_values");
p_item_values = ( p_item_values==null ? "" : p_item_values);
AppsEnvironmentStore m_env = (AppsEnvironmentStore) ctx.getEnvStore();
try {
String l_launcher = ctx.getProfileStore().getProfile("APEX_HTTP_SERVER");
l_launcher = l_launcher + "/pls/apex/f?p=" + p_application + ":" + p_page;
l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
if (ctx!=null) ctx.freeWebAppsContext();
response.sendRedirect(l_launcher);
} //try
catch (Exception e) {
out.println("Exception found : <pre>");
e.printStackTrace(new PrintWriter(out));
out.println("</pre>");
} //catch
%>
</body>
</html>
********* -
Apex Integration with EBS R12 - javax.servlet.ServletException
Morning,
We are in the process of upgrading from 11i to R12 and we have found that our method of launching Apex in 11i no longer works in R12. We are trying to follow the following instructions: http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf and have created a .jsp file and compiled as per the document. When we try to launch the function from apps though we get:
An exception occured.
URL=XXX/OA_HTML/XXFND_LaunchApex.jsp?transactionid=1236782452&language_code=US&CallFromForm='Y'&p_application=112&p_page=101&oas=DScF2XdCwRRnxFePUKHOnQ..
javax.servlet.ServletException: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: _XXFND__LaunchApex
Dependent class: oracle.jsp.runtimev2.JspPageInfo
Loader: oc4j:10.1.3
Code-Source: XXX/apps/tech_st/10.1.3/j2ee/home/lib/ojsp.jar
Configuration: in META-INF/boot.xml in XXX/apps/tech_st/10.1.3/j2ee/home/oc4j.jar
This load was initiated at oacore.web.html.jsp1603821464:0.0.0 using the loadClass() method.
The missing class is not available from any code-source or loader in the system.I've XXX'ed out our domain. Has anyone else has this, or can anyone who has successfully integrated apex with EBS R12 let me know what they did?
ThanksHi,
If the jsp compiled successfully then you may need to bounce your web server before the jsp can be used. See MOS Note 458338.1 for more details.
Actually, now that Oracle have updated their FND Gateway for Apex integration there are only a few situations (such as if you want to pass parameters from the form function to Apex) where you need to use a custom jsp to launch Apex. In most cases you can use the Oracle supplied GWY.jsp to launch your Apex Page. To use this jsp you must apply the EBS R12 patch 12316083 (and patch 12726556 if you are launching from the forms navigator). How to use the GWY.jsp is described in "Extending Oracle E-Business Suite Release 12 using Oracle Application Express" white paper.
Rod West -
Help needed in Apex Integration with EBS
Hi All,
Currently, when trying to integrate with EBS these are the steps I followed.
1) Created apex generate hash and apex launch procedure in APPS DB.
2) Created Profile in Application Developer Responsibility.
3) Saved above profile in system administrator -->Profile -> System and set the site level as http://<hostname>:<Apex port>/pls/apex
4) Created a function in system administrator , type as SSWA plsql function and called the launch procedure and passed parameters as my apex application and page id.
5) Created a Web PL/SQL entry under System Administrator Responsibility -> Security -> Web PL/SQL for the launch procedure.
6) Created menu, responsibility and assigned to the user.
For the APEX application , currently I have not given any login page. The login is through EBS only. I have given logout URL in apex application to EBS Login page. Now my problem is , when I click Logout the session of EBS does not get invalidated. How can I achieve this ?
Secondly, When I give the APEX application URL directly in the browser it will open without asking for the EBS login credential. But I do not want this to happen. I need it to be authenticated through EBS login credential.
Any suggestions would be welcome.
Thanks
AlakaHi Scott,
I tried the solution given in this URL.
http://oracledbas.blogspot.com/2008/11/oracle-application-express.html
It is not working for me.. I tried in the forum also.
While creating authentication scheme I gave Oracle EBS Login Page as Session Not Valid URL. But every time I login to EBS and click responsibility then menu which has APEX screen, it is not validating username and password and it redirects to EBS login page which i gave in "session not valid URL" (it is going to a loop.)
Now my problem is when I login to EBS and click responsibility then my APEX screen should validate the EBS login and directly it should open. It should not ask for any other (APEX login)login page. If I paste the APEX application URL in any browser it should ask for EBS login page.
When I logout it should invalidate the session of EBS.
Thanks
Alaka -
APEX integration with BI Publisher
I am attempting to integrate our APEX applications to BI Publisher and replace our Oracle Reports.
We are using
APEX 4.0 .2.00.07
BI Publisher Release 10.1.3.4
IE 7.0.5730.13
I setup a simple report query in APEX shared components. The report query has only one source query. I pressed the test report button and the default BIP report came up successfully.
I then created an rtf document using Word 2003 and the BIP plug-ins. All I did was create two fields on the rtf and saved the report on my desktop as a .rtf.
I then created a report layout in APEX and imported the .rft report layout successfully.
I pointed my report query to the new .rtf layout and pressed the test report button and it work successfully.
I then created a button as “redirect to URL’ on an APEX page and created the http: url with the suggested print URL in the report query.
I ran my APEX application and went to the page with the report button. I clicked the button and the report came up fine.
I had another colleague sign into the APEX application and when he pressed the report button on the page all he got was a black browser window. We tested with other colleagues and got mixed results. Some got the report to appear others just a blank page.
We tried the query in both inline and attachment view with the same results.
What was interesting is that everyone was able to run the report within the report query clicking the “Test Report” button.
We are out of ideas on how to resolve this issue.
Can anyone help?
Thanks,
FrankFrank,
I had the exact problem when I uploaded and replaced (with the same name) an existing rtf template.
Try the following:
Rename the template and generate a new url to use in the button click.
HTH
Pradeep -
APEX integration with EBS 11i10: view concurrent request output
Hi All:
ENV: APEX 4.0
EBS: 11i10
DB: 10r2
APEX is installed in the same database as EBS 11i10
1. I have developed a APEX application that is can be launched from EBS as a form function. Also, the APEX will not ask any credential when user launch it from EBS, since user is already authenticated. Also, APEX will also display FND username, responsibility for user who has login - <<This is already implemented>>
2. by Default, APEX will display a page, where user can browser and import a csv file into a predefined custom table <<This is already implemented>>
3. After csv file is imported into cusotm table, user will click "Submit" button to process the data. APEX will submit a concurrent request (eventually, the concurrent program will call Oracle API to process data). A concurrent request is will display on the apex page. << This is WIP and I don't forsee any issue to implement this, since many have done this before>>
4. User will write down the request id from step 3 and go to another apex page. In this page, user will enter request id and click "View Output", which should retrieve the concurrent output for that request id and display the output in a new browser. I don't want user go back to EBS to view the concurrent output. << This is my question for this thread>>
My question for step 4: is there a seeded EBS API (FND_???) that I can call by passing a request id and API should display the concurrent request output in a browser automatically? Assuming, I will use fnd_global.apps_initialize() API in this page to set EBS env properly.
My question may not be a direct APEX question; however, I hope someone can offer some help to me. I have done numerous research on this and still haven't find this API.
Thanks!
KevinHi Kevin,
I am having an issue implementing the Call from an EBS menu entry to the APEX Page.
I created the menu entry as a SSWA Function that use the apex_launch procedure to call the APEX page but when the user clicks on the option menu, the EBS login page appears.
Can you share with me how can I fix this?
Thanks
AEstrada. -
Here are the setups that I did in EBS.
Created function TEST with Type : SSWA plsql function that opens a new window (Kiosk Mode)
Parameters : application=105&page=1&request=null&item_names=null&item_values=null
WEB HTML Call : apex_launch
Assigned this function to Menu and then assigned Menu to responsibility.
My Apex and EBS are on seperate servers.
When I click Menu from responsibility it opens up EBS login Page.
Here are my settings in Oracle database.
CREATE OR REPLACE PROCEDURE apex_launch (application IN NUMBER
, page IN NUMBER DEFAULT 1
, request IN VARCHAR2 DEFAULT NULL
, item_names IN VARCHAR2 DEFAULT NULL
, item_values IN VARCHAR2 DEFAULT NULL)
AS
BEGIN
OWA_UTIL.mime_header('text/html', FALSE);
OWA_COOKIE.send(name => 'APEX_APPS_105',
value=>FND_GLOBAL.user_name||':'||apps.apex_generate_hash(FND_GLOBAL.user_name),
expires => sysdate + 365,
domain=>'.silganplastics.com'
OWA_UTIL.redirect_url(
'http://cfdsun113.silganplastics.com:8090'||'/apex/f?p='||
application||':'||page||'::'||request||':::'||
item_names||':'||item_values);
--:FSP_AFTER_LOGIN_URL := 'http://cfdsun113:8090/pls/apex/f?p=105:1:' || :APP_SESSION;
END apex_launch;
create or replace FUNCTION apex_authorise (
p_username IN VARCHAR2
, p_password IN VARCHAR2) RETURN BOOLEAN
AS
BEGIN
IF apex_validate_hash (p_username, p_password) THEN RETURN TRUE; END IF;
RETURN (FND_WEB_SEC.validate_login (p_username, p_password) = 'Y');
END apex_authorise;
create or replace FUNCTION apex_validate_hash (
p_string IN VARCHAR2
, p_hash IN VARCHAR2
, p_delay IN NUMBER DEFAULT 5) RETURN BOOLEAN
IS
BEGIN
FOR i IN 0..p_delay LOOP
IF p_hash = apex_generate_hash (p_string, i) THEN RETURN TRUE; END IF;
END LOOP;
RETURN FALSE;
END apex_validate_hash;
CREATE OR REPLACE FUNCTION APPS.apex_generate_hash (
p_string IN VARCHAR2
, p_offset IN NUMBER DEFAULT 0) RETURN VARCHAR2
IS
G_KEY RAW(32) := UTL_I18N.STRING_TO_RAW( 'abfhhhhhhhhhuiooooo', 'AL32UTF8' );
BEGIN
IF p_string IS NULL THEN RETURN NULL; END IF;
RETURN RAWTOHEX(UTL_RAW.cast_to_raw(
DBMS_OBFUSCATION_TOOLKIT.MD5(input_string=>p_string||':'||
TO_CHAR(SYSDATE-(p_offset/24*60*60),'YYYYMMDD HH24MISS')||g_key)));
END apex_generate_hash;
Settings on APEX side
On Load Before Header process on login page.
DECLARE
c owa_cookie.cookie;
a wwv_flow_global.vc_arr2;
BEGIN
c := owa_cookie.GET('APEX_APPS_105');
a := htmldb_util.string_to_table(c.vals(1));
:p101_username := a(1);
:p101_password := a(2);
IF :p101_password IS NOT NULL THEN
wwv_flow_custom_auth_std.login(p_uname => :p101_username,
p_password => :p101_password,
p_session_id => v('APP_SESSION'),
p_flow_page => :app_id || ':1');
END IF;
EXCEPTION
WHEN others THEN
NULL;
END;
Created Authentication scheme with
function
FUNCTION apex_authorise (
p_username IN VARCHAR2
, p_password IN VARCHAR2) RETURN BOOLEAN
AS
BEGIN
RETURN (FND_WEB_SEC.validate_login
(p_username, p_password) = 'Y');
END apex_authorise;
END IF;
END;
Logout URL
wwv_flow_custom_auth_std.logout?p_this_flow=&APP_ID.&p_next_flow_page_sess=&APP_ID.:105:&SESSION.:LOGOUT
and sessionnotvalid page as LoginPage.
After all these settings when I login from EBS I get login page for applications and nothing happens. I don't think it's making any calls to apex_launch procedure.
Anyone if implemented this please guide step by step. Want to know where I am going wrong. Is then any logging to be turned on EBS side to know where the program fails.
Thanks in advance,
SumanHi Rod,
I am able to redirect the to the apex page. Now the concern is that it is asking for the user name and password. If I type my EBS user name and password it works.
But the main concept is that it should not ask for user name and password. Those values should be passed through cookies. Can you please help me with the same
Here is the code what i have place. Am I going wrong in some setup?
/* Formatted on 3/8/2010 10:41:05 AM (QP5 v5.126.903.23003) */
CREATE OR REPLACE PROCEDURE apex_launch (
application IN NUMBER Default 101,
page IN NUMBER DEFAULT 1,
request IN VARCHAR2 DEFAULT NULL,
item_names IN VARCHAR2 DEFAULT NULL,
item_values IN VARCHAR2 DEFAULT NULL
AS
l_value varchar2(100);
l_valid_session varchar2(100);
BEGIN
D OWA_UTIL.mime_header ('text/html', FALSE);
OWA_COOKIE.send (
name => 'APEX_APPS_'||application,
VALUE => icx_sec.g_user_id--FND_GLOBAL.user_name
|| ':'
|| apex_generate_hash (FND_GLOBAL.user_name),
PATH => '/'
l_value:=FND_PROFILE.VALUE ('STR_APEX_LOGIN')
|| '/f?p='
|| application
|| ':'
|| page
|| '::'
|| request
|| ':::'
|| item_names
|| ':'
|| item_values;
OWA_UTIL.redirect_url(l_value);
END apex_launch;
Error when i tested that procedure
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 325
ORA-06512: at "SYS.HTP", line 852
ORA-06512: at "SYS.OWA_UTIL", line 396
ORA-06512: at "APPS.APEX_LAUNCH", line 43
ORA-06512: at line 15
This is what i m passing in my header in apex.
DECLARE
c OWA_COOKIE.cookie;
a wwv_flow_global.vc_arr2;
P101_USERNAME varchar2(100);
P101_PASSWORD varchar2(100);
APP_ID number;
BEGIN
c := OWA_COOKIE.get ('APEX_APPS_' || APP_ID);
a := HTMLDB_UTIL.string_to_table (c.vals (1));
P101_USERNAME := a (1);
P101_PASSWORD := a (2);
IF P101_PASSWORD IS NOT NULL
THEN
wwv_flow_custom_auth_std.login (P_UNAME => P101_USERNAME,
P_PASSWORD => P101_PASSWORD,
P_SESSION_ID => v ('APP_SESSION'),
P_FLOW_PAGE => APP_ID || ':1');
END IF;
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
my site is getting there but i have to pass the user name and password.
Can you please help me is some setup missing. as I found this link on
This is in the link
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 325
ORA-06512: at "SYS.HTP", line 1322
ORA-06512: at "SYS.HTP", line 1397
ORA-06512: at "SYS.HTP", line 1689
ORA-06512: at "FLOWS_020000.WWV_FLOW_API", line 3243
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "FLOWS_020000.WWV_BIU_STEP_ITEMS", line 63
ORA-04088: error during execution of trigger 'FLOWS_020000.WWV_BIU_STEP_ITEMS'
ORA-06512: at line 7
and your database is running with NLS_LENGTH_SEMANTICS=CHAR, then you need to change it to NLS_LENGTH_SEMANTICS = BYTE. The following technique can be used for this change:
1. alter system set nls_length_semantics = BYTE scope = spfile;
2. shutdown the database
3. restart the database
Will be glad if you can help in solving it.
Thanks,
Nitin Singh -
Oracle APEX Integration with Oracle EBS
Was wondering if HTML Pages developed using Oracle APEX can be registered as functions in R12 Oracle Apps using Application Developer Responsibility?
Else, what is the standard/recommended way of integrating APEX developed HTML Pages/Forms to R12? Does APEX support SSO?Hi user779995,
in R12 it's not so straightforward to define a function to launch an apex application like it was in 11i.
We had to develop a JSP page that does a redirection to the Apex server to get it working properly:
http://oraclehrms.blogspot.com/2009/04/apps-apex-on-r12.html
but we will prepare more extensive documentation in the near future as time permits. In the meantime you can try to request more information at the email address mentioned here:
https://sites.google.com/a/popay.be/apex-on-apps/misc
Thanks,
Paolo -
OAM 11.1.6 integration with Ebusiness 12.1.3 throws error on login
I have integrated the OAM 11.1.6 SSO with E-business 12.1.3 instance.If I login to E-business it will redirect to the the error "There was an error processing your request. The Login/Portal Server Installation may be incomplete. Please contact your System Administrator".
Please note i'm seeing the error in access log -
oracle.apps.fnd.ext.sso.FndSsoException: FND-9930
at oracle.apps.fnd.ext.sso.FndSsoLogin.doPost(Unknown Source)
at oracle.apps.fnd.ext.sso.FndSsoLogin.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
I tried the metalink note "Applications Login Using OAM Fails with 'The Login/Portal Server Installation may be incomplete' Caused by 'java.sql.SQLException: ORA-01465: invalid hex number' [ID 1538812.1]" in my case value is already 'False'.
Please suggest me,if you any once faced the similar issueInvestigations often get quite complex and specific to your environment, so an SR with Oracle Support is probably the best way to go.
My initial thought would be to re-review "Integrating Oracle E-Business Suite Release 12 with Oracle Access Manager 11gR2 (11.1.2) using Oracle E-Business Suite AccessGate" (Doc ID 1484024.1) and confirm that all the right hostname/ports have been used in the right places, as it is easy to mix up what is required at the different stages
Next would suggest to test your OAM setup using the Oracle Access Manager tester tool
Review "Oracle Fusion Middleware Administrator's Guide for Oracle Access Manager with Oracle Security Token Service 11g Release 1 (11.1.1)" (http://docs.oracle.com/cd/E21764_01/doc.1111/e15478/tester.htm#CACBEJDC) details of installing and using this tool
a. Test the protected resource URL
/ebsauth_[instance]/
where [instance] is the name of your Oracle E-Business Suite instance/
Enter Username and Password and select both the "Authenticate" and "Authorize" buttons
b. Save the status messages to a file and upload this (Disk icon at the bottom of the screen)
c. Also use the "save configuration" button (at the top of the screen) and upload the resulting configuration XML file (Remove the password from this file before uploading)
If the above does not work, then the issue is not eBiz specific so need to review the OAM/Webgate setup for sure
Hope that sets you on the right path
regards
Mike -
Ebusiness suite integration with ADF
HI there xperts!
I am having a lot of trouble trying to decipher the multitude of information around for integrating Jdeveloper ADF applications with ebusiness 12.1.3
Essentially, I have created a number of view pages, in my application but now need to call some API's to add transactional capabilities.
My undertstanding at this time, is to actually expose web services and call those in ADF using web service data controls.
I have been able to go to the integration repository and deploy the APIs. It is at this point I get stuck. Do I have to use BPEL / Oracle Service BUS?
Or can I now access these exposed services directly from ADF. If so, how? I can see addresses specific to our environment in the WSDL file, however, these are invalid when I try to create a web service data control.
My second question, when deploying to a client site, do these details need to be updated each time (ie, there will be specific addresses for each environment?
Any help would be very much appreciated.
Thanks
SHi Simo;
Please check below note which could be helpful for your issue:
Using Oracle Application Framework (OAF) and Application Development Framework (ADF) [ID 563047.1]
FAQ for Integration of Oracle E-Business Suite and Oracle Application Development Framework (ADF) Applications [ID 1296491.1]
You can also post your issue on Forum Home » Application Development in Java » JDeveloper and ADF
Regard
Helios -
Can XML Publisher 5.6.3(EBS) be integrated with APEX?
On the following document, XMP Publisher 5.6.2 does not support integration with APEX. May I know about 5.6.3? Or is it about the product being an add-on with EBS causing the non-support to integration(meaning, even 5.6.3 is not supported)?
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
Thanks,
RownaldAPEX integrates with the standalone version of BI Publisher. There was not a server component with the standalone 5.6.3 release. The integration relies on publisher providing a servlet for APEX to communicate with, 5.6.3 does not have this.
If you are talking 5.6.3 under EBS then I guess you could build a servlet on the mid tier that called the BIP conversion APIs - it would all be custom work.
The APEX integration needs 10.1.3.2 BIP to work with out of the box.
Regards
tim -
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.
ThanksHi,
Thank you for your reply.
Is the usage of B2B not applicable for this project ?
Thanks -
Integrating apex form with oracle portal
Afternoon friends,
I have got a senario like integrating apex form with oracle portal.I dont have any idea on oracle portals.so please let me know the basic steps on how to go ahead to integrate apex forms with oracle portal and for that what i need to have apart with my database and apex.Hello
Couldn't see my previous post... so here it is again
We have integrated Apex into Oracle Portal
Here's how we did it.
In the portal page, we have created an Element region with the following code:
<script language="Javascript">
<!--
function changeIframeHeight(){
var ifrmObj = document.getElementById('apexIframe');
if(ifrmObj) {
if(navigator.appName=='Microsoft Internet Explorer') { //IE
ifrmObj.height = ifrmObj.contentWindow.document.body.scrollHeight+20;
else {
ifrmObj.style.height = ifrmObj.contentWindow.document.body.offsetHeight+50;
//-->
</script>
<p><iframe width="100%" height="500" frameborder="0" onload="javascript: changeIframeHeight();" src="/pls/apex/f?p=115:10" marginheight="0" marginwidth="0" name="apexIframe" id="apexIframe"></iframe></p>You just have to make sure that the name and id of the iFrame and the elementId in the javascript are the same.
And change the SRC so that it point you application.
Hope that helped you.
Max -
Web based reporting engine integrated with APEX
Hello,
I would like to use some completely web-based reporting solution for my application. My idea is that I will create some datasource, prepare database query and publish some data columns to end users (datamodel). They will choose from many of prepared data areas, create their own report using some intuitive web-based report designer and save it. I do not need it for any analytic purposes, no dynamic filters, graphs and other widgets, no BI. It will be all only about building text based reports with few dynamic fields (customer address, actual date etc..).
For example: User will prepare some document (template) with few paragraphs and add some of prepared dynamic fields into it (ie. company name, customer address, repeating table with list of employees, some image). Then he will be able to generate same document for many customers etc..
I am looking for some simple, user friendly web based application. Some external report builder for example for Jasper reports is not what I am looking for.
I will need to integrate it with Oracle 11g XE with APEX 4.2 so some API or URL parameters is must.
Used reporting engine does not be completely free, but I am able to pay max. $5000 for it
Do you have some tips?
Thank youThis could be a solution for APEX reports (interactive reports). But I want to create more complex reports, not only table based reports.
I need to create for example invoice report with some dynamic fields (customer, invoice items...), another report can be for example some contract about cooperation with some dynamic fields (contract number, personal information ...).
These reports will be mostly only text based without any table. See example bellow. How would you generate this kind of letter?
"Hello <CUSTOMER_NAME>, we would like to offer our new product <PRODUCT_NAME> to you..."
Where CUSTOMER_NAME a PRODUCT_NAME are prepared fields (from some database tables). It will be something very similar to Microsoft Word automatic mailings. User can generate many text based reports and save them as PDF.
I need to find some web based product, that will be simple for users and can be integrated with APEX.
Maybe you are looking for
-
How to execute a script(.sql) file from a PL\SQL procedure
I would like to know how to execute a .sql file from a stored procedure and the result of it should update a table. My .sql file contains select statements.
-
Iphone 4s voice to text messaging suddenly stopped working. The little dots that appear while program is preparing to tranfer audio to text shake side to side and no text appear.
-
Error while instaling the MEP server for Single tier, using Oracle 10g DB
createDatabaseTables: getAppServer: ============================================================ Sun Java System Mobile Enterprise Platform ============================================================ checkAppServer: defaultDomainExists: checkDefault
-
[CS3 JS] Question about collecting overridden style settings
Hi! I can use the styleOverridden to check every item in a textStyleRange for overrides. But is there a smart way to collect the attributes actually overridden? (The attributes showing up neatly in the tooltip when you hold the mouse cursor over an o
-
File encoding problen (charset) on glassfish / Sun App Server
Hi all! I hope someone here can point me the right way since I am trying to solve my problems for quite some time now. First my setup: Suse Linux Box with Glassfish V2. I am creating files for users of our website with an EnterpriseBean in an EJB-Mod