Creating Wrapper Packages

Hi All,
Can anybody can we help how to create wrapper packages and where to create it.when we creating the procedures inside the packages and calling them through
BPEL interface for fetching records from the database.
Provide me if demo link on the above requirement if possible.
Regards,
CH

Either
* use the Database Adapater (part of the the SOA Suite extension)
* Generator a wrapper form JDeveloper (right click on the package)
* create your own Java stuff
hth,
Peter Paul

Similar Messages

  • Incorrect wrapper package created for a PL/SQL web service

    Hi there,
    JDeveloper 11.1.1.3.0
    Oracle DB Enterprise Edition Release 11.1.0.7.0
    I created a web service based on a PL/SQL package. For some functions in that package (the ones with IN OUT parameters it seems) JDev created a wrapper package. However that wrapper package is wrong and it fails to compile and consequently the web service calls fail.
    The generated wrapper package looks like this:
    CREATE OR REPLACE PACKAGE BODY CustFeedbackWS_plsql_wrapper IS
    FUNCTION "CFB_PKG"$FN_SET_CATEGORISATI (P_TAB IN OUT CFB_CATEGORISATION_TAB
    ) RETURN INTEGER IS
    RETURN_ INTEGER;
    BEGIN
    RETURN_ := SYS.SQLJUTL.BOOL2INT("CFB_PKG".FN_SET_CATEGORISATIONS_IW(P_TAB
    ...As you can guess, CFB_PKG is the original package name. However, because of the double quotes added around it, this code fails to compile with the error:
    PLS-00181: unsupported preprocessor directive '$FN_SET_CATEGORISATI'I have two questions regarding this:
    1 - Why wrapper functions were created for some functions (8 out of more than 30) and not for others, is it because they have IN OUT parameters?
    2 - Any suggestions on how to fix this problem?
    Thanks!
    Luis

    Currently, PL/SQL webservice does not map SQL exceptions into webservice faults. You may be able to see the SQL error in the server fault message though.

  • Error while creating a package

    When I am creating a package which has 3 procedures(x,y,z) I am getting an error saying "Subprogram or Cursor "y" is declared in a package specification and must be defined in the package body. I have put the code in the package body script but I keep getting this error. Please Help.

    Surely we will if you can paste the code and the error that you get. Remember to paste the code between[b] [pre] and [/pre] tags to retain the format.
    Cheers
    Sarma.

  • Version error while creating info package of data source 0fi_gl_10

    Dear Friends,
    I have replicated the data source 0fi_gl_10 into sap bw but while creating info package i am getting error " The DataSource 0FI_GL_10(E01CLNT200) does not exist in object version A". IS the manual activation always should be done for that ?
    Regards
    Nilesh

    Hi,
    Please check if the veriosn of DataSource is A or not. Sometimes it shows as active but if you open the datasource then it might be in modified version only. Do activate it manually, it will serve your purpose to create a infopackge.
    Regards,
    Anjum.

  • How to check error whilce creating a package

    Hi,
    I am getting an error while creating a package, individually query is running ok but in package it is showing an error. is there any way to check the error. I am using in TOAD Quest Scriptrunner

    What kind of error you got? A syntactical one or a logical one? Your schema should have following rights to debug package:
    GRANT DEBUG CONNECT SESSION,
    DEBUG ANY PROCEDURE TO <Your_Schema><i>
    I am using in TOAD Quest Scriptrunner</i>
    You can refer the user manual or contact Quest for queries regarding Quest Scriptrunner
    *009*
    Edited by: 009 on Nov 3, 2010 12:09 AM

  • How to create a package in ECC 6.0.

    Hi,
    Can you tell me how to create a package in ECC 6.0 system?
    Thanks in advance,
    Regards,
    Arnab.

    Hi,
    Thank you for your replies.
    Can you tell me the difference and uses of the two types of package I can create from SE21.
    i.e. : Package and package interface. any sap link would also be helpful. I need to know where i can use what and what would be helpful for my case.
    Regards,
    Arnab.

  • Creating a package in SAP BI

    Hi experts,
                         I need to create a package for my project .Please tell me how to create a package in SAP BI .
    Regards,
    Khan

    Hello,
    TCODE SE80 -> Give the name for the package and from drop dwn select package -> hit enter -> it will ask u want to create -> click yes.
    Regards,
    Shashank

  • The person who creates a Package is able to create EEWB project

    HI,
    The person who creates a package is only able to create a EEWB project with that package. Using someone else's package is throwing error. Is this the standard behaviour of EEWB. Or is there a break through.
    Regards.

    Thank you Steve.
    I created a package in the CRM 7 system. I am able to assign my projects in EEWB to the package I created. But when someone else tries to assign their project to the package I created it says "You are not authorised to make changes. Authorisation object".
    And then if he makes some changes to the package , I mean he re-states the descripotion,then he is able to use the package, but then I am unable to make changes. This functionality looks weird. Can you suggest a work around??
    Regards,
    Hiranmayi

  • Steps to create Info Packages in BI 7.0

    Please Give Steps top create new Info packages in BI7.0

    Hi,
    Steps to create Generic data source:
    If you want to extract the data from MM table in BI Please follow the below steps.
    1) Create a view on that table By going in to se11( Do this for future purpose, no need of joining conditon as of now why because view is containing only one table at this juncture)
    2) Go to RSO2, create generic data source based on view and designate this datasource under mm application component, it helps to replicate easily from the source system in BI side.
    3) While Creating datasource make sure that field selections and selection criteria for fields.
    4)Assign it to a package(specified by the team) for transportation purpose. Make sure the dependencies also will be going through request other wise the request may fail.
    5) Replicate the generic datasource in BI System(by going in to the mm appln comp under r/3 source system)
    6) After replication do create info package, transformations and dtp also.
    7) Trigger the Info package and then DTP.
    now data will be there in your data target in BI system
    Steps to create standard data source
    1> Go to RSA5 ,Select what data source u want , CLICK Transferstructure.
    2> After dooing this u can see the structure in RSA6 , if u want to do any customozation by adding extra fields u can do it her , if not no need.
    3> go to RSA3 and check if the structure is pulling data or not .
    BW SIDE
    4> Select Source system ->Replicate data source
    5> create Transfer rules , update rules and cube and u are done
    6> u can create a infopackage and schedule ur data load into the cube or ods.
    Hope this helps you
    Regards,
    Rakesh

  • How to create a package without BIDS in Microsoft SQL Server Management Studio

    I have inherited some SSIS packages that I found I can edit by opening the .dtsx file in my local copy of Microsoft SQL Server management studio.  I then get Control Flow tab, Data Flow tab etc.  I can add or change or delete any of the control
    or data flows.  I have found that if I use the same path to the local file where the packages are stored that exists on the server, I can edit the dtsx file on my local machine and copy the dtsx file to the server into the same directory structure and
    sucessfully execute the package on the SQL 2008 server.
    I have VS 2010 installed.  I have read that I have to install VS 2008 to use BIDS from within VS.  However, this has not worked out very well.  Since I can basically create a new package by deleteing all of the control and data flows from
    an existing package, I am in pretty good shape.  However, I would just like to know if there is a way to create a new dtsx file from within Microsoft SQL Server management studio.  Also one thing I have not been able to change is the event handler
    name or package exploration name....it is just an annoyance since it does not cause any problems, just would like to be able to rename it.   

    Hi Fred,
    We cannot develop SSIS package in SQL Server Management Studio. If we use SQL Server Import and Export Wizard, we can save it as a package but the package is rather simple.
    We use Business Intelligence Development Studio (BIDS) or SQL Server Data Tools (SSDT) to develop SSIS packages. To develop SSIS 2008 packages, we must use BIDS installed by SQL Server 2008, and the BIDS 2008 can only be integrated with Visual Studio 2008.
    To develop SSIS 2012 packages, we use the SSDT installed by SQL Server 2012 which uses Visual Studio 2010 shell and can only be integrated with Visual Studio 2010.
    Different versions of SSIS package have different package formats/schemas. If you can create SSIS packages project in you Visual Studio 2010, it means that you have installed SSDT already, and the packages you design are SSIS 2012 packages. If you open and
    eidt SSIS 2008 packages in you Visual Studio 2010, the packages will be upgraded to SSIS 2012 package format. SSIS 2012 packages cannot be downgraded to SSIS 2008 packages or deployed to SSIS 2008 server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Creating a Package for Constant Variables

    Hi
    I expect this should be an easy question for some of you, but I am fairly new to PL/SQL!
    Anyhow, I would like to create an PL/SQL Script as a package, which holds a list of Constant Variables, which will be common across a number of PL/SQL Packages rather than having to repeat the constants again and again over a number of files and then having the worry of trying to maintain them all.
    Can someone please advise me how to create such a package?
    Thanks

    You can create the package this way:
    create or replace package myconst is
    const1 number := 0;
    const2 number := 2;
    end;
    /And you can optionally initialize your constants this way:
    create table myconstTable  (c1 number, c2 number);
    insert into myconstTable values (1,2);
    create or replace package body myconst is
    begin
      Select c1,c2
        into const1,const2
        from myConstTable;
    end;
    /And finally you can use it this way:
    set serverout on
    exec dbms_output.put_line(myconst.const1);
    1Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]

  • Windows CCP Failing to create a package successfully....

    Hi All,
    I have been trying to create a test package with CCP. I have limited it to include just Acrobat 11 and updates to make the logs easier to follow:
    OS: Windows 8 64bit
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Build Version - 1.2.0.4
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    9/10/2013 17:25:42 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Error in creating file for 7z test output. Error code : 3
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Preprocessing of 7z file failed!
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\tryhorn.tim\AppData\Local\Temp\{34378342-D2BE-465E-AF4E-313B6E4393A1}\ACCCx2_1_2 _232
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - ASU at Path (C:\Adobe Pack
    ages\Adobe Acrobat XI 32-bit\Build\Setup\Adobe Acrobat XI Pro_0\Set-up.exe) is not found. Skipping copying and renaming.
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    9/10/2013 17:26:05 [INFO] AdobePackageBuilder - Successfully created Setup.ini file for Acrobat Customized Wizard.
    While a package is created if you try to execute it it crashes to desktop.
    Any Ideas?
    Thanks,
    Tim

    Hi Servite College,
    Could you please try a different network source to create a package.
    Additionally:
    The following host/port combinations may need to be whitelisted when logging in with an Adobe ID to download, install, and activate licensing for applications via a Creative Cloud membership.
    ccmdls.adobe.com:443
    ims-na1.adobelogin.com:443
    na1r.services.adobe.com:443
    prod-rel-ffc-ccm.oobesaas.adobe.com:443
    lm.licenses.adobe.com:443
    ccmdl.adobe.com:80
    swupmf.adobe.com:80
    swupdl.adobe.com:80
    Note: Please make 32 bit package on 32 bit machine and 64 bit package on 64 bit machine.
    Regards,
    Romit Sinha

  • How to Initiate For Creating Business Package.

    Hi all,
    We donu2019t have NWDI setup in our landscape; therefore I would like to know that how i can initiate for creating business package of custom specific application development using Web Dynpro JAVA and DB Oracle. If anyone has idea about this type of in-house development, please suggest.

    Hi Gautam
    Please setup NWDI for creating custom business pachage.
    Download DTR, CBS and CMS same patch level as your Server and delpoy.
    then Create Software component in System Landscape Directory(SLD) and create custom business package track in the CMS for development using Web Dynpro JAVA
    Hope this will help.
    Thanks
    Arun

  • JPublisher generated wrapper package function name contains "ORIG_PKG"$FN

    jPublisher generated wrapper package function name contains "ORIG_PKG"$FN
    which shows compilation error as
    Compilation errors for PACKAGE BODY <schema>.JPUB_PLSQL_WRAPPER
    Error: PLS-00181: unsupported preprocessor directive '$FN'
    Line: 2699
    Text: FUNCTION "ORIG_PKG"$FN (P_SOURCE VARCHAR2,
    Along with this, the generated .sqlj file have a calling sqlj content having the same format as
    #sql [getConnectionContext()] __jPt_result = { VALUES(JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN( ...
    This also show sqlj compilation error such as
    Error(91,5): Expected "$FN" and found ")" instead.
    and a warning
    Warning(91,5): Invalid SQL syntax at:
    JPUB_PLSQL_WRAPPER."ORIG_PKG"$FN(
    ^^^^
    Encountered "$FN" :
    Was expecting one of:
    <EOF>
    "AND" ...
    "BETWEEN" ...
    "IN" ...
    "IS" ...
    "LIKE" ...
    "NOT" ...
    "OR" ...
    "ROW" ...
    "AT" ...
    "MOD" ...
    "RANGE" ...
    <CONCAT_OP_> ...
    Any suggestion would be helpful. thank you.

    Just to put a proper closure to this thread, there were 2 issues with the Jdev version I was using (11.1.2.0.0)
    1) Wrapper for PL/SQL not getting generated properly.
    2) Webservice proxies are not getting generated properly.
    The 2 issues were taken care by generating the wrapper and proxy on a much higher version of Jdev.

  • How to create the package.

    Hi ,
    How to create the package.
    Thanks

    Hi Mahaboob,
    Goto SE80 Transaction
    Select Package and below give the package name and click on enter.
    then u get a pop up asking to create package. Click yes. then u get a pop up  Package Builder: Create package
    Give the description and the Application component and click on create.
    Best regards,
    raam

Maybe you are looking for

  • Using a window manager in x11 to create Desktop / taskbar

    Is there anyway to create JFrame's that work with the window manager (such as openbox) to create Desktop and Taskbar elements. I'd like to see some Swing objects to help work with the window manager. JDesktop - a panel like element to draw the wallpa

  • I do not want firefox any more help me to get rid of it

    i want to get rid of fire fox tell me how

  • Where to find Quick Fix 150 ?

    Hi, I am Oracle Certified Siebel CRM consultant and now a new be for BI EE and Apps. Want to take up serious work in this area. I have downloaded and practiced Oracle BI EE. Also attended Live Web Classes. Now to move over to BI Apps 7.9, it is requi

  • Complex filtering, data manipulation

    Hello, I've several CR 2011 reports that I need to load and dynamically filter with the .NET sdk. The filters could be different and complex: - simple: field = value - or complex: field IN (SELECT xxx FROM xxx WHERE xxx) What is the best solution to

  • Printer not working via usb connection to airport time capsule

    I bought an airport time capsule 3 TB, and I wanted to connect my multifunctional printer-scaner "canon i-sensys MF4350d" via usb to my airport device.However, I found a problem. Although my printer working properly in direct connection via usb,not w