PL/SQL package problem
Hi all
I have the following in my wrapper package problem, kindly help me to understand this issue.
My package:
type ebs_pricelistHeader_row is (record
REQUEST_ID NUMBER,
PRICE_LIST_NAME VARCHAR2 (240 BYTE),
DESCRIPTION VARCHAR2 (2000 BYTE),
Currency_code VARCHAR2 (30 BYTE),
DIRECTORATE GENERAL OF THE VARCHAR2 (40 BYTE),
DATE OF EFFECTIVE_FROM,
DATE OF EFFECTIVE_TO,
NUMBER OF PRICE_LIST_ID
PROCESS_FLAG VARCHAR2 (1 BYTE)
)
Package of my body working end and also return the result I need
Problem in the body of the Package of Wrapper:
When I use my package in SOA Suite above a bunch of wrapper and his body is created, but the package wrapper body gives the following errors. It is very strange that I already have this kind of tasks which work very well and no problems with their packaging.
Please see the error in my wrapper package body
http://s24.postimg.org/tco1o0951/wrapper.jpg
the errors are
- Error (12.1): PL/SQL: statement ignored
- Error (12,10): PLS-00302: component 'DESCRIPTION' must be declared
- Error (13.1): PL/SQL: statement ignored
- Error (13,10): PLS-00302: component 'CURRENCY_CODE' must be declared
- Error (14.1): PL/SQL: statement ignored
- Error (14,10): PLS-00302: component 'BRANCH' must be declared
Please let me know if it's anything else.
Kindly help me to solve this problem. Thank you very much
Muhammad Nasir
Finally solved the problem of Wrapper package. I haven't done any big changes in my procedure, just changed the name of my package and changed the order of output parameters that i'm passing my procedure and it works fine.
Concerning
Nasir
Tags: Database
Similar Questions
-
Problem building java pl/sql package
Hello
In JDeveloper (11.1.1.6) I'm having a problem of java generation from a pl/sql package. When I'm in the database browser I click with the right button on the package and select "generate java. Which produces java files, some sqlj files and a < package_name > .javatmp file. When a colleague doing the same thing all the files are generated with the .java extension. Can someone tell me what I can do to build all the java files?
Thank you
Graeme
It turns out that I was running against a 64 bit JDK. (1.6.0_41.)
When that face a 32 bit JDK (also 1.6.0_41), I've changed my problem disappeared.
It might be interesting to note that my machine is 64-bit.
-
Node affinity d ' execution for the PL/SQL Packages?
Colleagues dbas,
We have a problem of random performance on one of our database RAC 11 GR 1 material due to waiting for IO.
In fact, we've tracked down the problem and noticed that the sql packages are executed on the bad weather causing node 1 and were executed on node 2 with good results.
Now the question is how we apply these pl/sql packages, that are called via batch external, must be running on node 2?
Affinity of the proceeding came to my mind, but I have no idea whatsoever how to apply for parcels and incorporated the pl/sql code.
Can you please give me an advice?
Thanks for your comments!
Best regards
Sebastian
You must define a service to run on node 2 with failover to node 1 and give a your batch jobs a string of connection that connects to this service:
Add srvctl service d a s batchserv - r node2 - a node1
and in your tnsnames.ora,.
batchserv =
(description =
(address_list =
(failover = on) (load_balance = on)
(address = (node1...) (address = (node2...))
)
(connect_data = (service_name = batchserv))
)
I recorded several demos of this thing of the kind,
Database Oracle 12 c and g 11 tutorials free for Administration and developers SkillBuilders
--
John Watson
Oracle Certified Master s/n
-
OK to install the pl/sql packages in schema APPS?
What is the schema supported in which I should create my pl/sql packages used in my data models? I'm in EBS and sown reports such as RAXINV, I converted to XML Publisher.
I have converted RAXINV works very well under APPS, but now my admin db suggested I should move "customized" packages to a seeded non - EBS schema (for example, XXABC). I have all kinds of problems to do this work.When you create the package in another schema, use AUTHID CURRENT_USER.
-
Cannot query a view in PL/SQL package but it can query in SQL * more
Hello
Logged on as a user, I can query the table DBA_SEGMENTS, but I can't question via a slider or select from a PL/SQL package.
I get the following error message:
LINE/COL ERROR
-------- -----------------------------------------------------------------
28/4 PL/SQL: statement ignored
33/5 PL/SQL: ORA-00942: table or view does not exist
28 select
29 count(*)
30 in
31 n
32 of
33 dba_segments;
Can someone explain to me what is the missing privilege that I need?Thank you in advance.
Kind regards.
It seems that you have granted to dba_segments by role.
To use this object in pl/sql or sp, you need directly.
Ask your dba to grant:
SQL > grant select on dba_segments to your_user;
Mustafa DOGANAY
-
How can I expose a PL/SQL package to a webservice
Hello
Using Jdeveloper 12 c, how can I expose a PL/SQL package as a webservice?
Thanks in advance
Look for the option 'Web of TopLink-DB services provider' under the section of Web Service in the new gallery.
Timo
-
Create the PL/SQL package in SQL Developer 4.0.0.12
Hello
I built a model in SQL Developer 4.0.0.12 and I want to create a PL/SQL package.
In ODMiner 11.1.0.4 of 'Tools' > 'Create pl/sql package' I can get a script to create the package and every thing is OK.
but in SQL Developer, I select "Deploy" from the popup menu of each node and it generates a folder containing scripts associated with each node. I don't see any relevant script for creating a package.
How can I create a PL/SQL package in my workflow?
Thanks for any help you can provide in this situation.
Please see this whitepaper to find out how to build the PL/SQL package for deployment of workflow:
Oracle Data Miner (Extension of SQL Developer 4.0)
-
Hi all
Please let me know how to fix the exception "java.sql.SQLException: problems with the native/lack of loading methods library: no ttJdbc in java.library.path".
Thank you
Prabhu
Published by: Nina Prabhu on November 20, 2012 02:12Hi Prabhu,
Probably, you must specify the LD_LIBRARY_PATH variable. Like the following:
export LD_LIBRARY_PATH=$TIMESTEN_HOME/ttoracle_home/instantclient_11_1
Best regards
Gennady -
Call a pl/sql package unix script
Hello
With the help of 11.2.0.3 on AIX.
Is it possible to call the pl/sql package unix script?
I am cretaing a file in a directory but would like it to automatically write to a directory to archive as well.
Could use either 2 utl_file.put_lines to 2 separate directories or 1 utl_file and cal script to archive files in another directory. ?
Thoughts?
Thank youuser5716448 wrote:
Thoughts?
Use UTL_FILE. FCOPY copy the file you created in the directory of the archive.
SY.
-
PL/SQL package, output XML
Hello
I'm working on the Pl/sql package to generate the output in xml format using tags XML, but the output is the break with the following error when data have special characters as '& '.
Error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.
Whitespace is not allowed at this location. Error processing resource
I use the <? XML version = "1.0" encoding = "ISO-8859-1? > and even tried "UTF - 8' at the beginning of my xml." Anyone can guide me please how I can handle this.
Thank you!Can you guide me on how I can use CDATA for this specific tag.
XYZ & Co. Inc. SQL> set scan off SQL> select xmlelement("CUST_NAME", 'XYZ & Co. Inc') from dual; XMLELEMENT("CUST_NAME",'XYZ&CO --------------------------------------------------------------------------------
XYZ & Co. Inc SQL> select xmlelement("CUST_NAME", xmlcdata('XYZ & Co. Inc')) from dual; XMLELEMENT("CUST_NAME",XMLCDAT ---------------------------------------------------------------------------------First method automatically escapes the characters not valid and replaces them with their corresponding entity reference
-Second method encapsulates the data in a CDATA section so that there is no need to escapeYou can build the entire XML document with these functions, that's exactly what they did:
http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb13gen.htm#g1047191
-
How to enable and disable a simultaneous program to a Pl/sql Package
How to enable and disable a simultaneous program to a Pl/sql PackageI just want to know why this not prvent not the program to run, it updates the backend for open State helped N, but not in Frontend.
If you can advise on the same.
Did you use the API to change the ENABLED_FLAG of 'Y' "N"? If so, you commit the changes? What happens if you ask this program contributing to the application (simultaneous > program > set), can you confirm that it is disabled then if this has been done since the backend? The program remains active after the deactivation of the application it?
Thank you
Hussein -
JAX - WS WebService on a PL/SQL Package
Hello
Does anyone know how to create a Web service from JAX - WS based on a package of pl - sql using JDeveloper 11.1.1.3. This is what JDeveloper cannot consume the wizard generated JAX - RPC style web service based on a PL/SQL package.
Thank youAnother question, we can create or have you already tried to create a Web service in the EOs or your at least their implementations of java.
Service enable your application module and expose the methods you like of your. Read the doc here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcextservices.htm#CJAJGIEB
Timo
-
How to find a particular PL/SQL Packages for an Oracle database is installed or not?
For example, I want to know UTL_MAIL package is installed or not?
Oracle 10g R2
Thank you
SmithSQL> desc utl_mail PROCEDURE SEND Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ -------- SENDER VARCHAR2 IN RECIPIENTS VARCHAR2 IN CC VARCHAR2 IN DEFAULT BCC VARCHAR2 IN DEFAULT SUBJECT VARCHAR2 IN DEFAULT MESSAGE VARCHAR2 IN DEFAULT MIME_TYPE VARCHAR2 IN DEFAULT PRIORITY BINARY_INTEGER IN DEFAULT PROCEDURE SEND_ATTACH_RAW Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ -------- SENDER VARCHAR2 IN RECIPIENTS VARCHAR2 IN CC VARCHAR2 IN DEFAULT BCC VARCHAR2 IN DEFAULT SUBJECT VARCHAR2 IN DEFAULT MESSAGE VARCHAR2 IN DEFAULT MIME_TYPE VARCHAR2 IN DEFAULT PRIORITY BINARY_INTEGER IN DEFAULT ATTACHMENT RAW IN ATT_INLINE BOOLEAN IN DEFAULT ATT_MIME_TYPE VARCHAR2 IN DEFAULT ATT_FILENAME VARCHAR2 IN DEFAULT PROCEDURE SEND_ATTACH_VARCHAR2 Argument Name Type In/Out Default? ------------------------------ ----------------------- ------ -------- SENDER VARCHAR2 IN RECIPIENTS VARCHAR2 IN CC VARCHAR2 IN DEFAULT BCC VARCHAR2 IN DEFAULT SUBJECT VARCHAR2 IN DEFAULT MESSAGE VARCHAR2 IN DEFAULT MIME_TYPE VARCHAR2 IN DEFAULT PRIORITY BINARY_INTEGER IN DEFAULT ATTACHMENT VARCHAR2 IN ATT_INLINE BOOLEAN IN DEFAULT ATT_MIME_TYPE VARCHAR2 IN DEFAULT ATT_FILENAME VARCHAR2 IN DEFAULT SQL>
-
Necessary to detect the DB start and run a PL/SQL package
Hi all
Is it possible to run a pl/sql package every time that the database starts?
Thank you very much in advance.Start trigger
-
KIM
can we call pl/sql package as part of OSTEOARTHRITISHello
Yes, it is possible. You can use a callable statement. Read more in old wire and dev guide.
Thank you
-Anil
Maybe you are looking for
-
I lost "photo library", how do I restore it?
I just tried to open the application 'Photos' (or icon) on my Mac and received a message that says "Photos could not find the system 'photos library.photoslibrary' how can I do to recover it? I have about 10,000 photos which are lost! I run a sepa
-
After the installation of recovery, I am unable to start my Satellite C650
I had to restore the c drive using the recovery disc HARD yesterday because of a virus, it appeared to solve the problem Now when I turn on the laptop today it downloaded the windows updates and then said that it is impossible to boot up my computer.
-
I'm having a problem with a bunch of my games crashing because they say xlive.dll is missing. When I try to uninstall and reinstall Games for Windows live using the link online it starts installing and then gives me the error Error writing to the fil
-
while trying to install sketches of painter Corel on 32-bit Windows Vista, I get the message of the CXML File() - > could not IID_iXMLDocument2 instance. After the closure of this msg several times I get the message .xml configuration could not be lo
-
I see is no longer the wireless network off the laptop.Wireless network is good because I use another laptop with good signal just next door.Looking at the display of windows Mobility Center, I can see the wireless network window that says wireless o