Publish PLSQL stored procedure as web services

Is it true that PLSQL stored procedure can only be published as web services using JAVA?
I came across article that mention how to call other web services from within plsql, but not sure the vice versa.
So, please advise.
Thank you.

True..I've done it once using J-Developer.
http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm#o
Good luck!!
Bhagat

Similar Messages

  • Publish PL/SQL procedures as web services?

    I am investigating JDeveloper for possible use in a project we are starting. We already have existing PL/SQL Procedures that we want to use and I have done a prototype using XSQL and OWA in JDeveloper 9i Candidate version. I am trying to figure out what the changes and improvements are in the most recent version of JDeveloper. On this page http://technet.oracle.com/products/jdev/htdocs/jdev903_fo.html#web_services it says there is broader support for Publishing PL/SQL procedures as web services. Is there any more information out there on this? What exactly has been improved and what are the current limitations. I did find some documentation in the Oracle9i Application Server Developers Guide on the limitations (release 2 (9.0.2) http://download-west.oracle.com/docs/cd/A97329_01/web.902/a95453/plsqlservices.htm#1030066 Do I assume this is the same limitations for JDeveloper since the Oracle9iAS included with it? I am getting confused by all this documentation.
    Thanks for any help
    Natalie

    Natalie,
    Please take a look at the tutorials on
    http://otn.oracle.com/tech/webservices/database.html
    Also, read the Web Service discussion forum where you will find some useful hints. Using 9.2.x DB, OC4J 9.0.4 and JDev9.0.3.1 it is really funny to start publishing PL/SQL as Web Service.
    Flemming

  • Stored Procedure For Web Service in Visual Composer 7.1

    Hello,
    I want to use stored procedure for Webservice in Visual Composer 7.1
    I can find this Web service but not supported. ( ex) prcreleased_test - Not supported )
    Log.
    Message: Error in connection - Can' t execute Web service.
    Date: 2008-07-01
    Time: 16:41:43:906
    Category: com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent
    Location: com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.processExecution: 
    Application: sap.com/test~kmshim_wf_impl
    Thread: HTTP Worker [1]
    Data Source: j2ee\cluster\server0\log\defaultTrace_00.trc
    Correlator ID: 240496500000034715
    Argument Objects: 
    Arguments: 
    DSR Component: n.a.
    DSR Transaction: cb4b3560473711dd9fb4001e4f3b8fcb
    Log2
    Message: Stopped further execution since the interpreter is unusable
    Date: 2008-07-01
    Time: 16:41:43:906
    Category: com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent
    Location: com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.XGLInterpreter
    Application: sap.com/test~kmshim_wf_impl
    Thread: HTTP Worker [1]
    Data Source: j2ee\cluster\server0\log\defaultTrace_00.trc
    Correlator ID: 240496500000034715
    Argument Objects: 
    Arguments: 
    DSR Component: n.a.
    DSR Transaction: cb4b3560473711dd9fb4001e4f3b8fcb '
    Help me^^ plz..

    Hi Tanna.
    Thanks for your reply^^
    I create webservice that access my stored procedure.
    But not supported.
    http://dmp.humaxdigital.com/HumaxCmdwService/Service1.asmx?wsdl
    There are two service. (Hello World - Test, prcrelease_test - Stored Procedure )
    'Hello World' is supported but prcrelease_test is not supported. I can't drag to storyboard.
    Our company's DB is MSSQL2005.
    please help me^^

  • Utilizing a java stored procedure for web services

    Hello,
    I am a newbie in web services and I want to learn web services by utilizing a simple procedure and making use as a web service.
    I have a java stored procedure deployed in Oracle 8i database, which I am using for sending emails. I am invoking the java stored procedure in my JSP and Java classes by making a database connection and calling the procedure.
    I am planning to make this a web service so that I could call this from any of my application.
    Could someone give an insight how to make this a web service, albeit the utility is not very complex and my knowledge about web services is limited, I thought I could start by doing a simple program.
    Any help is highly appreciated.
    Thanks
    Ponic

    Hi Tanna.
    Thanks for your reply^^
    I create webservice that access my stored procedure.
    But not supported.
    http://dmp.humaxdigital.com/HumaxCmdwService/Service1.asmx?wsdl
    There are two service. (Hello World - Test, prcrelease_test - Stored Procedure )
    'Hello World' is supported but prcrelease_test is not supported. I can't drag to storyboard.
    Our company's DB is MSSQL2005.
    please help me^^

  • Publishing PL/SQL procedures as web service

    Hi,
    Is there a way to publish a PL/SQL procedure as a web service in APEX?
    Thanks
    AK

    Bob,
    watch this viewlet, maybe it gives you a helping hand
    http://otn.oracle.com/products/jdev/viewlets/10g/WS_PLSQL_Demo_viewlet_swf.html
    Frank

  • Exposing/Publishing PL/SQL Stored Procs as Web Services

    Has anyone come up with a way to publish PL/SQL stored procedures as web services? Our team already has sufficient knowledge in deploying EJBs and exposing them as services but we're curious to see if we can create services without building and deploying an EJB as the provider mechanism.
    Any ideas/guidance are appreciated!

    In JDeveloper 10 you can do it. check that article
    But in 11g version they hide that option :(
    [some info|http://forums.oracle.com/forums/thread.jspa?messageID=3237164&#3237164]
    Edited by: August_ on Apr 19, 2009 11:52 PM

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

  • Requirements for serving Web PLSQL stored procedures

    Hi all,
    Can someone tell me what I need to host Web based PLSQL stored procedures?
    I was told by Oracle Corp that I only needed 9i but after looking through all the documentation and these message boards, I think I need 9iAS.
    If I need 9iAS, do I also need 9i?
    And if so, can they coexist on the same Sun Solaris box?
    Any help would be greatly appreciated.
    Thanks in advance
    Aaron

    You'll need both - the Application Server to serve the pages, and the database to store the PL/SQL code. Yes, the two can co-exist - as long as they are installed in separate directories.
    Hope this helps,
    Ashesh Parekh
    Oracle9iAS Product Management

  • Problem while calling webservice from a plsql stored procedure

    Hi everybody,
    I need to call a webservice from a plsql stored procedure.
    I was following documentation published in the otn at the following link.
    "http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html"
    I am encountering the following error on my sql prompt-
    SQL> exec dbms_output.put_line(time_service.get_local_time('94065'));
    BEGIN dbms_output.put_line(time_service.get_local_time('94065')); END;
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1022
    ORA-12545: Connect failed because target host or object does not exist
    ORA-06512: at "APPS.DEMO_SOAP", line 65
    ORA-06512: at "APPS.TIME_SERVICE", line 13
    ORA-06512: at line 1
    Has anybody worked on the same example. Please direct me.
    Thanks & Regards
    Kiran Kumar

    Kiran, were you able to solve this?
    I am facing the same error.
    Oracle Server is Unix and webservice is .NET.
    I am able to connect to Java web service.

  • How to call PLSQL Stored procedure in ADF?

    Hi!
    I am using adf for our development. We have existing stored packages and I want to use them. The problem is how can I call those PLSQL stored procedure in ADF.
    Thanks in advance
    alvin.

    Hi,
    a stored procedure is called by the business service. If e.g. your business service is ADF Business Components then you call a stored procedure from the Application Module's transaction. Call a PLSQL procedure using a prepared statement. Similar you call stored procedures from EJB or TopLink business services
    For ADF Business Components see
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    Frank

  • Missing Technet Video - Publish PL/SQL as a Web Service

    When I try to view the video for "Publish PL/SQL as a Web Service" (http://www.oracle.com/technology/tech/webservices/htdocs/series/plsql/index.html) I get an invalid URL message from Real Player.
    Is this video no longer available?

    Sorry; that content is no longer available. For a more recent document we suggest this URL:
    http://www.oracle.com/technology/pub/articles/price_10gws.html
    Cheers, OTN

  • Cannot run "Publish PL/SQL as a Web Service" example

    Hello!
    I have Oracle 8.1.7 AS and 9i JDeveloper running on Windows 2000. I'm trying to run the "Publish PL/SQL as a Web Service" example, but am encountering errors I believe are related to my hostname/IP address/DNS entry. Of course, I could be wrong.
    Here is some information:
    ==========================================================
    1. I was able to successfully initialize Containers for J2EE. However, when I was trying to deploy the PL/SQL example, it inserted this information:
    C:\oracle\jdev9i\j2ee\home>C:\oracle\jdev9i\jdk\bin\java.exe -jar C:\oracle\jdev9i\j2ee\home\oc4j.jar
    Node started with id=-1753996682
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Error updating application PLSQL-PLSQL-WS: Error loading web-app 'WebServices' at
    C:\oracle\jdev9i\j2ee\home\applications\PLSQL-PLSQL-WS\WebServices:
    resource-ref 'jdbc/testCoreDS' referenced from resource-ref-mapping not found
    ==========================================================
    2. I went through the instructions from the website, and when I began the deployment process it generated this information:
    ---- Deployment started. ---- Jan 17, 2003 1:20:27 PM
    Wrote WAR file to C:\oracle\jdev9i\jdev\plsql-webexample\Project1\WebSe[i]Long postings are being truncated to ~1 kB at this time.

    Couple of suggestions despite your post being cut off with what might be useful information (please post the rest if these suggestions don't help):
    1. There are some bugs with Personal Oracle and Web services, notably Oracle9i Personal that may apply also to 8.1.7. If you have a MetaLink account it is logged as bug 2591731.
    2. As you are using your local machine, make sure your proxies are turned off (Tools-Preferences Web Browser/Proxy)
    3. I've noticed problems when folks use a JDK with a version lower than 1.3.1_02 to run OC4J - it is certified only with 1.3.1_02 or higher. If you are using the built-in JDeveloper JDK to start up OC4J (e.g. <Jdev_home>\jdk\bin\java.exe) you should be fine. But if you are just typing in java -jar oc4j.jar it is worth checking. Check the your default JDK version by typing in: java -version. If it is lower, then download a new version from http://java.sun.com/j2se/1.3/download.html.
    4. For level setting it is best to be using build 1035 of JDeveloper, the current production release and either the OC4J embedded in it or the stand-alone version here on OTN.
    Hope these point in the right direction.
    Mike.

  • Wrapped PLSQL Stored Procedure

    Hi,
    Referring to Oracle 9i Enterprise Edition.
    PLSQL stored procedure that is wrapped, can it be unwrapped?
    After it is wrapped, is the original source still store inside the database dictionary or somewhere hidden in the database?
    Please advise.
    Thanks.

    PLSQL stored procedure that is wrapped, can it be unwrapped?The primary use for wrapping PL/SQL is for ISVs distributing programs. It's to prevent customers prying into commercially sensitive code. It is also applicable in other security situations. Consequenmtly it doesn't make sense that there would be a clear version hanging around in the distributed app. The presumption is that the person doing the wrapping retains the original unwrapped source.
    Cheers, APC

  • Publishing BC4J Components as a Web Services Link????

    Hi,
    can someone give us the link about the tutorial
    "Publishing BC4J Components as a Web Services" for Jdeveloper 10g?
    Thanks

    I copied your question and pasted it to Google. And here is the link
    http://www.oracle.com/technology/tech/webservices/htdocs/series/pattern/
    To use Google for your search, type www.google.com in a web browser URL field. You will be amazed what you find by using it
    Frank

  • Urgent: unable to call a plsql stored procedure with a struts data action

    Hello ALL,
    I'm trying to call a plsql stored procedure within a struts DataAction,
    The scenario is:
    When a user a click on a button, then it should call a specific stored procedure,,
    I create struts data action a class to handle the event which is to call the procedure
    Here is my code:
    public class RequestAction extends DataForwardAction
    public void onCall(DataActionContext ctx)
    String amDef = "model.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef, config);
    try{
    AppModuleImpl myAm = (AppModuleImpl)am;
    DBTransaction tr = (DBTransaction) myAm.getTransaction();
    CallableStatement stmt = tr.createCallableStatement
    ("begin pkg_test.test; end;", DBTransaction.DEFAULT);
    stmt.execute();
    stmt.close();
    tr.commit();
    catch(Exception e){System.out.println(e.getMessage());}
    Configuration.releaseRootApplicationModule(am,true);
    but when I ran the application and click on the button, I got the following Exception:
    04/07/08 00:45:50 ORA-06550: line 1, column 7:
    PLS-00201: identifier 'PKG_TEST.TEST' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    It seems that the DBTransaction object unable to see the stored procedure,
    Am I do something wrong or miss something???
    I've checked the examples on the OTN HOW TO, and searched in the JDeveloper Forum but unable to find an answer,
    Please anyone can help???
    Thanks a lot
    With Regards,
    Hayat

    Here's an example application that illustrates how to do this. I haven't had a chance to writeup a little paper to go with it yet, but will as soon as I have a chance.
    http://otn.oracle.com/products/jdev/tips/muench/storedproc/CallStoredProc.zip
    See the "callStoredProcedure" method in the application module in the Model project.
    See the "callStoredProcedure" method binding in the binding container of the "CallStoredProcedure" data page.
    Notice the name "event_callStoredProcedure" of the (Call Stored Procedure) button on the CallStoredProcedure.jsp page which triggers the declaratively invocation of the method.
    You could also call the method from code in a custom data action.
    The code example illustrates how to create your own JDBC prepared statement for invoking the stored procedure, and doing it in a way that is efficient by keeping the prepared statement around across invocations.

Maybe you are looking for

  • Error in Using BAPI_ACC_GL_POSTING_POST

    Hi, I am using BAPI BAPI_ACC_GL_POSTING_POST for transaction F-02 for uploading salary details. here i am using posting key 39 and account no as vendor no and special GL indicator. From that system automatically pick the GL attached to that Vendor an

  • SMQ2 queue

    Hi Experts , We are getting so many queue failure related to complaint , I want to know if there is any report or function module which can give me complaint ID for which the queue failing and the LUW data. Thansk & Regards, Akhilesh Bhagat.

  • Error upgrading in-place virt. appliance from 7.0.0 to 7.0.1

    Hi all, I deploy in my virtual environment a new virtual appliance 7.0.1 and configured it the network. When I try to upgrade in-place my production virtual appliance I set ip address of new appliance and after few minutes server respond that "New ve

  • Flash player not recognized with Internet Explorer

    I have tried everything and cannot view youtube videos with IE explorer 10 or 9.  I had IE 10 and uninstalled this update to go back to IE 9. This did not help. I have removed and reinstalled Adobe Flash Player (latest version) 6 times. I have disabl

  • Who know where store the data about integration Directory objects?

    I met some problem which is difficult analysis how to design for ID and find channel status(active or inactive). I just want to know currect table or stored mechanism. who does know about this?