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 you

Another 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

Tags: Java

Similar Questions

  • 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

  • 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

    http://Doganay.WordPress.com

  • 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)

    PL/SQL script for the deployment of workflow

    http://www.Oracle.com/technetwork/database/options/advanced-analytics/odmrcodegenwhitepaper-2042206.PDF

  • 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

  • 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 you

    user5716448 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 escape

    You 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 Package

    I 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

  • PL/SQL packages

    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
    Smith
    SQL> 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

  • Pl/Sql package

    KIM

    can we call pl/sql package as part of OSTEOARTHRITIS

    Hello

    Yes, it is possible. You can use a callable statement. Read more in old wire and dev guide.

    Thank you
    -Anil

  • 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.

  • JEE5: Calling a JAX - WS WebService EJB3

    Hello

    I'm calling a local ejb3 since a JAX - WS. (I get a null pointer exception)
    I am able to call from a servlet ejb3 (works of annotation @EJB and the container injects the ejb).

    It seems that the injection does not work in a JAX - WS webservice.
    It seems that my only option is to call the ejb using jndi.

    How can I accomplished this? I don't see local ejb3 in the jndi tree. I don't see the ejb3 distance.

    My EJB implements only the local interface.
    I really want to add a mapped name and a remote interface, as I already have 200 EJB3.

    Any ideas?

    Hello

    Well, according to the specifications, you can use the injection at the start of a servlet or an another EJB.
    If you want to call your EJB from the JAX - WS webservice, I'm afraid you will have to rely on the mechanism of comp/approx.

    That is what you call "mappedName"?

    If this isn't the case, I explained to him how an EJB provided by a context loca on my blog:
    http://m-button.blogspot.com/2008/07/reminder-on-how-to-use-EJB3-with.html

    Search for it "part two: call the EJB from the POJO" section.
    The mechanism is the same.

    I hope this will help.

    Kind regards.

    Published by: m on October 8, 2008 17:02

  • Need to call the PL/SQL Package in the group dynamics of approval class that implements IDynamicApprovalGroup

    Hi all

    This is regarding the approval of invoice AP I need in my project where the user selects the users/people approval when creating the invoice based on logic. There may be any number of users who could be part of the approval group.

    Approval users information is stored in a table with a single Bill.

    When the user initiates invoice approval, approval of the Bill should go to all the people/users selected in the invoice.

    I created the dynamic of approval group which is the result of a java class. This java class implements IDynamicApprovalGroup. (what is the oracle Developer Guide).

    I called PL/SQL to java class package to get all the details of users of custom for the current invoice table.

    I used the DriverManager.getConnection method by hard coding (JDBC URL, Username, Pwd) connection details that works perfectly fine.

    But I don't want to hard-code the connection details because it will change in bodies SIT/UAT/PROD.

    Please ask you to guide me if there is no solution for the information of connection without hard coding it.

    Following code used to get the connection details

    try {}

    Class.forName ("oracle.jdbc.driver.OracleDriver");

    System.out.println ("= class loaded");

    }

    catch (ClassNotFoundException ex) {}

    System.out.println ("= class loading error");

    ex.printStackTrace ();

    }

    Fitting out = null;

    CallableStatement cstmt = null;

    Try

    {

    connection = DriverManager.getConnection ("jdbc:oracle:thin:@xxhostname:1521/SID", "FUSION", "*");

    Connection = GetConnection ();

    System.out.println ("= connection =" + connection);

    prepare the call

    cstmt = connection.prepareCall ("{call XX_AP_INV_DYN_APPROVAL_PKG. {GET_GROUP_PARTICIPANTS (?,?)} ») ;

    cstmt.setString (1, '12345');   ID on invoice

    Exit of the register

    cstmt.registerOutParameter (2, java.sql.Types.VARCHAR);

    Call the stored procedure

    cstmt. Execute();

    System.out.println ("= procedure being executed");

    approvalGroupMembers = cstmt.getString (2).split("#");

    System.out.println ("= output:" + cstmt.getString (2));

    }

    catch (Exception ex) {}

    ex.printStackTrace ();

    }

    Finally

    {

    Try

    {

    If (cstmt! = null)

    close the callable statement

    {

    cstmt. Close();

    cstmt = null;

    }

    System.out.println ("= stmt closed");

    }

    catch (SQLException ex)

    {

    System.out.println ("= stmt close err");

    ex.printStackTrace ();

    }

    Try

    {

    If (connection! = null)

    close the connection

    {

    Connection.Close;

    connection = null;

    }

    System.out.println ("= closed conn");

    }

    catch (SQLException ex)

    {

    System.out.println ("= Close conn err");

    ex.printStackTrace ();

    }

    }

    Thank you

    Dipak.

    HI Dembélé - you should be able to call the provider database from the java class. Documentation is here. However, you need to specify the name of the data provider that is the same in all environments. Do you know what it is? If it's not I'll take a look and get back to you.

    __

    Peter Maurer

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

Maybe you are looking for

  • Why the downloaded songs instead of match when I can find them in the itunes store

    Having just signed up iTunes Match half of my songs are displayed as downloaded instead of correspondence? Here are the songs of great artists that I have no problem to find in the iTunes store. I kept my well-organized music with regard to album etc

  • Why don't iTunes12.4 see newly created pdf in iBooks?

    I want to sync newly created pdf stored in iBooks1.5 for my iPad Air iOS9.3.2. I have to use iTunes12.4 to synchronize between iBooks on my iMac and iPad Air. I don't want to rent per month storage in the icloud. Why the iTunes12.4 can not see all th

  • Install XP on Satellite A210-1AO PSAELE

    How to install XP on PSAELE A210-AO?I want to put XP because almost no game launches on that Vista laptop, it is for my child and if I can't find a solution for the games I have to return in a few days...Toshiba has almost no drivers for XP for PSAEL

  • P580 IDEAPAD - Lenovo TouchZone problem

    Hello Whenever I start my Lenovo Ideapad p580 i7 3rd Gen with Win 7 home premium it gives black screen sometimes. So I have to Ctrl + Alt + Delete and via the Manager tasks have to end special Lenovo TouchZone.exe then it works fine. It takes time to

  • Relational table between the user and UD_ADUSER profile

    HelloI have a requirement where in I need to write a query to find out the difference between user profile for a particular user data and the form data from the same user AD process in Oracle Identity Manager 11g R2 (11.1.2.0)While the details of the