JDBC calling an Oracle PL/SQL Package?
Does anyone know how to have JDBC call an Oracle PL/SQL Package?
Thanks, Jon
Review the CallableStatement object in the JDBC Developers Guide
Similar Messages
-
Oracle PL/SQL Package - DB Adapter
Hi All
We have PL/SQL package with more than 20 procedures/functions. We prefer to use Oracle DB Adapter and host as webservices
1. Is there a way to generate a single WSDL/XSD compatible to Oracle DB Adpater for a package ?
2. Should we generate 20 WSDL/XSD for each of these procedures?
Any idea on how could we achieve it cleaner and quicker. It is to make a decision whether we should stick with Oracle DB Adapter or host a simple Java Webservice.
Any comments is appreciable.
Regards
Prasad Jayakumar
Pls Note: I have posted this thread originally in
Oracle PL/SQL Package - DB AdapterSorry for the late reply. As you state there is no option to manage multiple operations in a DB Adapter.
To explain my ESB example better, what I mean by this is that you can create a WSDL that has multiple operations, these operations will be based on the procedures in your packages. In your OSB process you can create multiple DB adapters calling the individual procedures of the package. Based on the operation being invoked you can route to the appropriate DB Adapter.
Therefore the pros and cons
PL/SQL Web Service
One service to call multiple procedures in the PL/SQL package
Lacks visibility through the management consoles
If your PL/SQL changes will affect the Web Service implementation which may also all clients calling it.
More of a point to point solution.
OSB
Able to add and remove procedures as required.
Can add procedures and/or functions that are not part of a package
Manage service endpoints if the PL/SQL changes. Meaning 3rd party objects can remain unchanged.
If you have hundreds of procedures in your package it will take long time to create individual adapters.
This is not an exhaustive list but to will get an idea.
cheers
James -
JS Validation for Drop down List is not working in Oracle PL/SQL Package
Hi All,
I am facing an issue with JavaScript validation done in Oracle PL SQL package.
System Requirement:
There is one screen which contains two fields viz. FLD 1 & FLD 2 and one 'Submit' button.
FLD 1 and FLD 2 fields are drop down list boxes.These are mandatory fields.
The screen is developed in Oracle Mod PL SQL package.
The html coding and java scripting are embedded in the respective Oracle PL SQL Package procedure which generates this screen,takes the input values provided by user,does the
field validations and submits the form.
Issue:
The javascript validation for FLD 2 dropdown is working successfully.
When the user leaves this field as blank,the embedded javascript pops up an error message 'Selection of FLD 2 is manadatory before submitting the form!'.
As FLD 1 is also a mandatory field,the javascripting validation should pop up the similar error message 'Selection of FLD 1 is manadatory before submitting the form!'.
But,this first field validation is not at all working.
The system allows to submit the form even if the 'FLD 1' is left blank.
The javascript code sysntax for validation of FLD 1 & FLD 2 drop down list boxes as follows:
function validate_form_fields()
if (document.forms[0].p_fld_1.selectedIndex == 0))) || (document.forms
[0].p_fld_1.selectedIndex < 1 )
alert("Selection of FLD 1 is manadatory before submitting the form!!!");
return false;
else if (document.forms[0].p_fld_2.selectedIndex == 0))) || (document.forms
[0].p_fld_2.selectedIndex < 1 )
alert("Selection of FLD 2 is manadatory before submitting the form!!!");
return false;
return true;
I am viewing the screen from the web browser IE version 8.0.
Your timely help will really be appreciated.
Regards & Thanking in advance,
AlkaHi,
1. Your problem is actually related to JavaScript, not SQL and PL/SQL. So, this is the wrong forum to post. The closest to JS is the Application Express forum {forum:id=137}. Clearly state that it is not an Apex issue and that you are looking for JS help.
2. Your JS code, the way you has posted it, is syntactically incorrect, so if you post on Apex forum put the correct code and in tags as described in the FAQ
{quote}
function validate_form_fields()
if (document.forms[0].p_fld_1.selectedIndex == 0))) || (document.forms
[0].p_fld_1.selectedIndex < 1 )
alert("Selection of FLD 1 is manadatory before submitting the form!!!");
return false;
else if (document.forms[0].p_fld_2.selectedIndex == 0))) || (document.forms
[0].p_fld_2.selectedIndex < 1 )
alert("Selection of FLD 2 is manadatory before submitting the form!!!");
return false;
return true;
{quote}
Regards, -
What's the quickest way to find all calls to some PL/SQL package?
Here's my situation:
I have a large application (>100 pages) which has multiple calls to a PL/SQL package procedure X.Y occurring in various processes, conditions, etc on an unknown set of pages. The procedure is being moved to package Z, so I want to replace all instances of X.Y with Z.Y. What is the best way to do this?
I'm thinking of exporting the application, and doing a manual find and replace of all X.Y with Z.Y, then importing the modified export file. Will this work?
Alternatively, is there a report available which can be run to show something like this, given an input of X.Y, which shows all pages where X.Y is referenced :
Page Object
1 After-submit process abc
5 item P display condition
13 validation xyz
etc
If not, how easy is it to write such a report from the available apex views?Have you looked at the Database Object Dependency report?
In the Application Builder, select your application.
In the Tasks list on the right, click on View Application Reports.
Under the Application menu, click on Database Object Dependencies.
It will make a list of all database objects used by your application and where they are used. -
Hello,
Dealing with the time demanding procedure where power user is interactively execute sequence
of steps of procedure:
1. pl/sql procedure for preparing data in some table
2. java program that read data from the table and creating input txt file for MSDOS program
3. MSDOS program is autonomous component that reads input txt file and make
output txtfile.
MSDOS program is closed component, can not be modified
4. java program that insert txtfile into Oracle table.
5. Steps 1 to 4 are executed in interations driven with select on some table.
Trying to prepare re-design the procedure and not sure about which technologies to use ?
The goal is that whole procedure would be implemented in pl/sql procedure and this way could be executed
so as from power user from command line as from controlled application on any type of the client.
So if that MSDOS program would be transformed as Web Service offered on some MSWin server in the intranet.
Then PL/SQL procedure would communicate ( call this web service ) and do all the job and at the end
send status of completion and report through e-mail to the issuer of the procedure?
Not sure what technologies should I use on Oracle RDBMS server on Linux to communicate with MSWin Web service which is running MSDOS program ?> Hi TOM,
This is not asktom.oracle.com.
> Can Possible to do in Oacle Pl/Sql...?
Yes it can be done. Simply consult the applicable manuals that contains all of the details on how to do it. The manuals are:
- Oracle® Database Application Developer's Guide - Large Objects (refer to Chapter 6 section on Using PL/SQL (DBMS_LOB Package) to Work with LOBs)
- Oracle® Database PL/SQL Packages and Types Reference (refer to the chapter on DBMS_LOB) -
Calling User written pl/sql Packages from forms 9ias
I want to call Pl/sql package (my own) from forms 9ias.
Actaully i am upgrading my application forms 6i to 9ias forms.
Please suggest me a solution.Same way as 6i. What is the problem ?
-
Hide Oracle PL/SQL Package Body
Hi there
I have a PL/SQL Package , and I would to Hide that Package Body to other Database users.
How would I can hide Package Body in Oracle?
Regards
JOJIhttp://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/wrap.htm#LNPLS01602
Note : you cannot easily unwrapped the wrapped code. You have to keep a copy of your source in an external deposit location.
Nicolas. -
Oracle:JDBC Call returns no results, SQL*Plus returns 1 record, Please help
Any help would be greatly appreciated.
Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
Query:
SELECT
ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
FROM
WEB_FRM
WHERE
ID_WEB_FRM = ' '
OR
(ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
AND NUM_WEB_PG_ID = 0)
Record returned from SQL*Plus:
ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
NfRRmc5XZu test u2T 1 0
Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
Java code:
int count = 1;
findDBNameStatement.setString(count++," ");
findDBNameStatement.setString(count++,form.getSiteID());
findDBNameStatement.setString(count++," ");
findDBNameStatement.setString(count++, form.getFunctionID());
findDBNameStatement.setInt(count++,form.getPageNumber());
findDBNameStatement.setInt(count++,form.getSectionNumber());
ResultSet resultSet = findDBNameStatement.executeQuery();
ResultSetMetaData metaData = resultSet.getMetaData();
resultSet.next() returns false
DB table:
CREATE TABLE web_frm (
ID_WEB_FRM varchar2(10) NOT NULL,
ID_WEB_SIT varchar2(20) NOT NULL,
NAM_WEB_FRM varchar2(40),
TXT_EMAIL_SUBJ varchar2(50),
CDE_LVL_1_FUNC char(3),
CDE_LVL_2_FUNC char(3) NOT NULL,
NUM_WEB_FUNC_PG int NOT NULL,
NUM_WEB_PG_ID smallint NOT NULL,
DTE_WEB_FRM_EFF date NOT NULL,
DTE_WEB_FRM_TRM date,
CDE_VLDT_RUL char(3),
DTE_LAST_EXPRT date,
TXT_CNFRMN_MSG varchar2(4000),
IND_UPDT_ALWD char(1) NOT NULL,
TXT_RECAP_HDR varchar2(4000),
TXT_RECAP_FTR varchar2(4000),
CDE_WEB_OBJ char(3),
NUM_MAX_FRM_WIDTH number(4,0),
IND_RECAP_PG char(1) NOT NULL,
IND_CNFRM_PG char(1) NOT NULL,
IND_DSPL_CNFRM_NUM char(1) NOT NULL,
CNT_SUBM_MAX int,
TXT_CHCE_ADD_MSG varchar2(255),
TXT_CHCE_MOD_MSG varchar2(255),
TXT_WEB_HDR varchar2(4000),
TXT_WEB_FTR varchar2(4000),
TXT_WAIT_LIST_MSG varchar2(255),
FORMOBJECTHEIGHT int NOT NULL,
FORMOBJECTWIDTH int NOT NULL
ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
Thanks,
MattThat's not quite right. From the javadocs:
next
public boolean next()
throws SQLException
Moves the cursor down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on.
If an input stream is open for the current row, a call to the method next will implicitly close it. A ResultSet object's warning chain is cleared when a new row is read.
Returns:
true if the new current row is valid; false if there are no more rows
Throws:
SQLException - if a database access error occurs -
JDBC Call returns no results, SQL*Plus returns 1 record, Please help!
Any help would be greatly appreciated.
Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode.
Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query, table def, record, etc.:
Query:
SELECT
ID_WEB_FRM,ID_WEB_SIT,CDE_LVL_1_FUNC,
CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID
FROM
WEB_FRM
WHERE
ID_WEB_FRM = ' '
OR
(ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' '
AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1
AND NUM_WEB_PG_ID = 0)
Record returned from SQL*Plus:
ID_WEB_FRM ID_WEB_SIT CDE CDE NUM_WEB_FUNC_PG NUM_WEB_PG_ID
NfRRmc5XZu test u2T 1 0
Both in the data returned and the query, there are no blanks, but they are a single space instead (hard to see in message here).
Java code:
int count = 1;
findDBNameStatement.setString(count++," ");
findDBNameStatement.setString(count++,form.getSiteID());
findDBNameStatement.setString(count++," ");
findDBNameStatement.setString(count++, form.getFunctionID());
findDBNameStatement.setInt(count++,form.getPageNumber());
findDBNameStatement.setInt(count++,form.getSectionNumber());
ResultSet resultSet = findDBNameStatement.executeQuery();
ResultSetMetaData metaData = resultSet.getMetaData();
resultSet.next() returns false
DB table:
CREATE TABLE web_frm (
ID_WEB_FRM varchar2(10) NOT NULL,
ID_WEB_SIT varchar2(20) NOT NULL,
NAM_WEB_FRM varchar2(40),
TXT_EMAIL_SUBJ varchar2(50),
CDE_LVL_1_FUNC char(3),
CDE_LVL_2_FUNC char(3) NOT NULL,
NUM_WEB_FUNC_PG int NOT NULL,
NUM_WEB_PG_ID smallint NOT NULL,
DTE_WEB_FRM_EFF date NOT NULL,
DTE_WEB_FRM_TRM date,
CDE_VLDT_RUL char(3),
DTE_LAST_EXPRT date,
TXT_CNFRMN_MSG varchar2(4000),
IND_UPDT_ALWD char(1) NOT NULL,
TXT_RECAP_HDR varchar2(4000),
TXT_RECAP_FTR varchar2(4000),
CDE_WEB_OBJ char(3),
NUM_MAX_FRM_WIDTH number(4,0),
IND_RECAP_PG char(1) NOT NULL,
IND_CNFRM_PG char(1) NOT NULL,
IND_DSPL_CNFRM_NUM char(1) NOT NULL,
CNT_SUBM_MAX int,
TXT_CHCE_ADD_MSG varchar2(255),
TXT_CHCE_MOD_MSG varchar2(255),
TXT_WEB_HDR varchar2(4000),
TXT_WEB_FTR varchar2(4000),
TXT_WAIT_LIST_MSG varchar2(255),
FORMOBJECTHEIGHT int NOT NULL,
FORMOBJECTWIDTH int NOT NULL
ALTER TABLE web_frm ADD ( CONSTRAINT PK_web_frm PRIMARY KEY (ID_WEB_FRM));
ALTER TABLE web_frm ADD ( CONSTRAINT UK_web_frm UNIQUE (ID_WEB_SIT,CDE_LVL_1_FUNC,CDE_LVL_2_FUNC,NUM_WEB_FUNC_PG,NUM_WEB_PG_ID)) ;
Thanks,
MattI have verified the parameters and such, and if I run as a Statement instead of a PreparedStatement, the query works fine. After some more troubleshooting, I narrowed the problem down, but not sure of the fix.
If I eliminate teh extra parameters and simplify things to:
SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
The code works. But if I add the additional WHERE clause of CDE_LVL_1_FUNC = ' ' (has single space), it returns no data (record in the DB has single space in this new column. Query that does not work:
SELECT ID_WEB_FRM FROM WEB_FRM WHERE ID_WEB_SIT = 'test' AND CDE_LVL_1_FUNC = ' ' AND CDE_LVL_2_FUNC = 'u2T' AND NUM_WEB_FUNC_PG = 1 AND NUM_WEB_PG_ID = 0
It appears the JDBC Driver is trimming the parameter when it is a space when set through a PreparedStatement.setString(2," ") -
Syntax for calling html page in PL/SQL package
Hi,
I'm trying to call html page (stored on server) in my pl/sql package!
I have already create html page in pl/sql package code and it's works fine.
Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
What is syntax for calling html page in PL/SQL or could you suggest me some literature.
In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
I try someting like that for calling html page but it doesn't works.
htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
Does anyone know syntax for calling html page in pl/sql?!?
Thanks!hello
I normally use htp.anchor(URL,linkname);
it works
ammar sajdi
www.e-ammar.com/Oracle.htm -
Calling custom pl/sql package on termination of Employee
Hi,
I want to call a custom pl/sql package that will create an element entry for employees, with their outstanding holiday entitlement upon termination.
One way I have tried to do this is by personalizing the end employment form, but I get this error - ORA-00923: FROM keyword not found where expected
from this code:
<h5> ='declare
l_element_entry_id NUMBER;
l_object_version_number NUMBER;
l_create_warning BOOLEAN;
begin
pay_element_entry_api.create_element_entry(p_validate => FALSE
,p_effective_date => (${item.period_of_service.actual_termination_date.value})
,p_business_group_id => 106
,p_assignment_id => (select assignment_id from per_all_assignments_f where person_id = ${item.period_of_service.person_id}
and primary_flag = 'Y')
,p_element_link_id => 3499
,p_entry_type => 'E'
,p_input_value_id1 => 7318
,p_entry_value1 => (XX_PERSNS_UTILS.GetLeaveAccrual(${item.period_of_service.person_id}))
--,p_cost_allocation_keyflex_id => ee_asg_api_rec.cost_allocation_keyflex_id
,p_effective_start_date => ((${item.period_of_service.actual_termination_date.value})-1)
,p_effective_end_date => ${item.period_of_service.actual_termination_date.value}
,p_element_entry_id => l_element_entry_id
,p_object_version_number => l_object_version_number
,p_create_warning => l_create_warning
end'
</h5>
I also thought another way to accomplish this would be using business events but under Workflow Administrator I can see the Business Events and subscriptions but I can only search for existing set-up, I can't create my own.
Does anyone have any ideas why this personalisation isn't working or has any other ideas of how to go about this?
ThanksThis is a tough solution to implement. The drawbacks of Forms Personalization, if you get it working, are that it won't be called from other areas (People Management templates, Self Service Termination etc). The drawbacks of API User Hooks are that they're not used in all places either. Finally, as mentioned, reverse termination means that you need to then backout such holiday payout entries.
The most reliable way to do this is with an batch process, eg, concurrent program, that runs, say, daily:
1) Find all employees physically terminated yesterday (regardless of their actual termination date)
2) Calculate and create the holiday payout entry (if it's not already there)
3) Find all employees who were updated yesterday and HAVE the holiday payout entry (this is the way to detect those who have been reverse terminated)
4) Date-track purge the holiday payout entry.
5) Consider API User Hooks to pick up late changes to absence records or anything that might affect any holiday already paid out so that you can update the holiday payout entry
6) Configure retro to handle holiday payout for retrospective terminations, deductions for those who were paid holiday payout and later reverse terminated, and subsequent changes to the amount paid out (eg, because of late changes to absence records) -
Unable to invoke BPEL HelloWorld from Oracle PL/SQL
Hi,
I am trying to invoke a BPEL process (HelloWorld) from Oracle PL/SQL package. I have downloaded the standard "demo_soap.sql" from oracle.com. Find below the PL/SQL block that I am using to invoke to the HelloWorld.
DECLARE
req Demo_Soap.request;
resp Demo_Soap.response;
zipcode VARCHAR2(100) := 'Suresh';
BEGIN
req := Demo_Soap.new_request('initiate',
'xmlns="http://xmlns.oracle.com/HelloWorld"');
Demo_Soap.add_parameter(req, 'HelloWorldProcessRequest', 'xsd:string', zipcode);
resp := Demo_Soap.invoke(req,
'http://nooslux037t.gl.2wglobal.com:7777/BPELConsole/Dev/displayProcess.jsp?processId=HelloWorld',
'http://xmlns.oracle.com/HelloWorld');
END;
But, it gives the following error message.
ORA-30625: method dispatch on NULL SELF argument is disallowed
Please let me know the value that I need to set:
1. Method name
2. TargetName space
3. URL
4. SOAPaction.
Please help me in finding the cause for this error and also the solution.
ThanksHi,
Thanks for your reply.
Is there any pre-requiste required for running the Webservice PL/SQL client?
I tried running the BPEL process as per your input.
DECLARE
req demo_soap.request;
resp demo_soap.response;
zipcode VARCHAR2(100) := 'XYZ';
BEGIN
req := demo_soap.new_request('initiate', 'http://xmlns.oracle.com/HelloWorld');
demo_soap.add_parameter(req, 'ZipCode', 'xsd:string', zipcode);
resp := demo_soap.invoke(req, 'http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0','initiate');
END ;
But it threw the following error:
ORA-20000: soapenv:Server.userException - org.xml.sax.SAXException: No custom elements allowed at top level until after the <body> tag
I have copied my HelloWorld WSDL file for your reference.
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HelloWorld" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/HelloWorld">
- <types>
- <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://www.w3.org/2001/XMLSchema">
- <element name="HelloWorldProcessRequest">
- <complexType>
- <sequence>
<element name="input" type="string" />
</sequence>
</complexType>
</element>
- <element name="HelloWorldProcessResponse">
- <complexType>
- <sequence>
<element name="result" type="string" />
</sequence>
</complexType>
</element>
</schema>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://nooslux037t.gl.2wglobal.com:7777/orabpel/xmllib/ws-addressing.xsd" />
</schema>
</types>
- <message name="WSAMessageIDHeader">
<part name="MessageID" element="wsa:MessageID" />
</message>
- <message name="HelloWorldRequestMessage">
<part name="payload" element="tns:HelloWorldProcessRequest" />
</message>
- <message name="WSARelatesToHeader">
<part name="RelatesTo" element="wsa:RelatesTo" />
</message>
- <message name="HelloWorldResponseMessage">
<part name="payload" element="tns:HelloWorldProcessResponse" />
</message>
- <message name="WSAReplyToHeader">
<part name="ReplyTo" element="wsa:ReplyTo" />
</message>
- <portType name="HelloWorld">
- <operation name="initiate">
<input message="tns:HelloWorldRequestMessage" />
</operation>
</portType>
- <portType name="HelloWorldCallback">
- <operation name="onResult">
<input message="tns:HelloWorldResponseMessage" />
</operation>
</portType>
- <binding name="HelloWorldCallbackBinding" type="tns:HelloWorldCallback">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="onResult">
<soap:operation style="document" soapAction="onResult" />
- <input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <binding name="HelloWorldBinding" type="tns:HelloWorld">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="initiate">
<soap:operation style="document" soapAction="initiate" />
- <input>
<soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
<soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <service name="HelloWorldCallbackService">
- <port name="HelloWorldCallbackPort" binding="tns:HelloWorldCallbackBinding">
<soap:address location="http://set.by.caller" />
</port>
</service>
- <service name="HelloWorld">
- <port name="HelloWorldPort" binding="tns:HelloWorldBinding">
<soap:address location="http://nooslux037t.gl.2wglobal.com:7777/orabpel/Dev/HelloWorld/1.0" />
</port>
</service>
- <plnk:partnerLinkType name="HelloWorld">
- <plnk:role name="HelloWorldProvider">
<plnk:portType name="tns:HelloWorld" />
</plnk:role>
- <plnk:role name="HelloWorldRequester">
<plnk:portType name="tns:HelloWorldCallback" />
</plnk:role>
</plnk:partnerLinkType>
</definitions>
Please help me in finding the correct values for the below parameters.
1. Operation Name
2. SOAPAction.
Thanks -
Launch HTML Page using PL/SQL package
Hi,
Am trying to launch an HTML page in which i have used javascripting using
catridges htp.p
while registering the function , only in the HTML call i have given package.procedure name
are there any special parameters that i need to pass in the package.
How do i build the url of the page to display in the package?
the problem i am clicking on the function i am getting logged as the function is unable to find the right url i guessMOD_PLSQL is an Apache (Web Server) extension module that allows one to create dynamic web pages from PL/SQL packages and stored procedures. It was formerly called the Oracle PL/SQL Cartridge and OWA (Oracle Web Agent). So I guess, you are referring to the same.
As for UI development, why don't you use the Oracle Applications Framework [OAF]? That's the standard for any UI development in apps. As mentioned earlier, mod pl/sql code is not supported on R12, so why use it? Better have a look at OAF.
--Shiv -
How to debugg and find wrong statements and correct in Oracle PL/SQL
Hi friends,
Any1 can guide me, how to debug oracle PL/SQL package, and have to fix bugs or changing the requirement by using toad, sometimes i resolve the problem, and i take backup in notepad, after sometime if i use the same notepad contents, the something changed, i dont no how to keep the "IF loop" correctly, Sometimes while editing, the loop nevigation changes, so that i am getting more confusions. I dont no how to correct the packages already written, and how to solve problems, i use anonymous for seeing output. Dont no how to identify and fix the bug or requirement changes,. I am not sure where the code need changes. How to test properly for fixing the bugs, and how to change the logic, any1 help me out from this,... kindly give me good solution.. thnak you in advanceHi,
you seem a little confused with your previous posts:
956684 wrote:
Hi, Friends,
I have 4+ years experience in oracle plsql developer,
956684 wrote:I am newly changed the technology into oracle PL/SQL developer,In one (3-Sep-2012) you said you have 4+ years experienced in PL/SQL developer, in the other (17-Nov-2012) you said you are new to PL/SQL developer.
The kind of question you are posting shows that you have little experience and you have been thrown in a sort of "training on the job" which is a bit scary to my opinion.
Other users have already posted their opinion. Oracle documentation, available online is a good source of information. I've learnt a lot reading it.
But what is really important it try to work in a rational way:
a) understand business , business requirement and data model.
b) organize your job in a "safe" way. Version control is mandatory!! You cannot avoid it.
c) Be clean and organized in your coding. Spaghetti coding doesn't lead you anywhere. And never miss documenting your code.
d) Whenever you have a question constantly check Oracle documentations, Oracle forums, internet. Having web access is a great advantage of our days, you have all you need on your fingertips.
If I can give you my humble opinion, learning is a slow path. You don't become expert in one day. It's a matter of learning and experiencing day by day.
One last thing. Writing message like this:
Any1 can guide me, how to debug oracle PL/SQL package, and have to fix bugs or changing the requirement by using toad, sometimes i resolve the problem, and i take backup in notepad, after sometime if i use the same notepad contents, the something changed, i dont no how to keep the "IF loop" correctly, Sometimes while editing, the loop nevigation changes, so that i am getting more confusions. I dont no how to correct the packages already written, and how to solve problems, i use anonymous for seeing output. Dont no how to identify and fix the bug or requirement changes,. I am not sure where the code need changes. How to test properly for fixing the bugs, and how to change the logic, any1 help me out from this,... kindly give me good solution.. thnak you in advanceis not nice. Your message looks confusing, a single paragraph, approximate English.
Being clean and organized in your job is shown also in your messages. If you post your message in a clear and well written (and formatted) way you will have more chances to get an answer.
Regards.
Al -
Generate Java option for PL SQL packages
Hi
I recently found out that there is a 'generate java' option in the JDeveloper IDE for PLSQL packages, which creates a Java representation of the PLSQL package.
What is the use of doing this? can anyone share tutorials that makes use of this featureThis link may helpful
Oracle PL/SQL Package - DB Adapter
Maybe you are looking for
-
Oracle error - ociexecute(): OCIStmtExecute: ORA-01858
Using PHP 4.3.11 on Linux and ADODB data abstraction library. Oracle client version is 10.1. Can sucessfully connect to remote database (version 9.2.0.6 NLS_LANG AL32UTF8). When doing a simple select from a view: select RTS_LOAD from VW_R_PROJECTED_L
-
I have downloaded the latest episode of Covert Affairs and it plays without sound. This is correct for a playbeack on a Mac Mini, on a MacBook and on ATV. Thinking of redownloading this episode but would that help?
-
Application level logging in OC4J_SECURITY
Hi, Runing Oracle App Server 10.1.4. Attempting to debug some application issues with a custom login jsp app deployed to our sso home's OC4J_SECURITY container. I am not finding expected error stacks from my app or system.out messages in the plethora
-
Hi can any one help, I've done any update and put a passcode and its not recongising it on the ipad and know its disabled. I've followed the recover mode a number of time and it keeps saying ipad could not be resorted, An unknow error occured (319
-
«Downloading error. Try again or contact the clientèle service.»
Does anyone knows anything about this error message? I am unable to see any apps in the Creative Cloud window in the menu bar. I have all the soft of the CC suite but can't perform any update. Many thanks in advance, BeJeff