Publish a plsql code as webservice without using JDEVELOPER or APEX

Hi All,
I am looking into how can we publish a PLSQL code as web-service without using JDEV OR APEX.
When I google for this one I can see only by using JDEV or APEX we can publish Code as a web-service.
Is there any way in oracle, just by using simple PLSQL packages we can publish code as a webservice.
Appreciate your response.
Thanks,
MK.

Apex does not publish PL/SQL code as web services. It is a web run-time and development framework. Something totally different.
To turn a PL/SQL function into a web service is simple. You use the orawsv servlet in XDB - without making a single code change to the function. It will not even know it is called as a web service.
To use orawsv, two basic steps. Configure and enable the servlet (raw HTTP/HTTPS connections will be handled by the Listener). This also entails enabling shared server in the database, if not already enabled. The 2nd step is to allow the function to be executed (via a HTTP call) as a web service, via granting specific roles.
orawsv handles the HTTP call. It provides the WSDL. It parses SOAP envelopes as input. It makes the call (as a standard PL/SQL call), to the function being used as a web service. It returns the results of the PL/SQL function call, as a SOAP envelope output.
See Support Notes:
How to Setup Native Oracle XML DB Web Services [Article ID 444191.1]
Sample Framework for testing Native Oracle XML DB Web Services [Article ID 803794.1]
How to Browse Native Oracle XML DB Web Services Example [Article ID 1324235.1]

Similar Messages

  • Regarding ESB Deployment without using JDeveloper

    Hi,
    I would like to deploy my ESB application without using JDeveloper. BPEL Designer automatically creating the build script to deploy the BPEL application. Is there any ant script available to deploy the ESB application in to Oracle integration server.? Please let us know.
    Regards
    Niraimathi R

    Niraimathi,
    I had the same question - see Re: Registering ESB Services without JDeveloper
    Dave Berry from Oracle kindly gave me a sneak preview of the jars and tags required in order to register ESB services from ANT.
    I now have a continuous build environment (using Cruise Control), linked into Subversion which deploys all my BPEL Processes and registers my ESB services.
    I believe that the JARs and instructions on how to register ESB services using ANT will be available on OTN soon.
    Kind Regards,
    Mark.

  • Tutorial without using JDeveloper Wizard!

    Hello,
    Does anybody here know any link of ADF Faces/BC tutorial without using JDeveloper Wizard! Manual coding of pagedefs, and manipulating view objects thru backing beans... Our project is quite complex and the tutorials from the Oracle website is quite dependent on wizards... And it is 50% not suitable to our project's requirements.
    Thanks.

    Hi,
    there is no end-to-end tutorial I am aware of. I would however discourage "manipulating view objects thru backing beans" directly and instead always go through the ADF binding layer.
    Note that building databindings in the pageDef file is pretty straight forward. First you need to selecte the JSF page you want t build a pageDef file for and choose "go to pageDefinition" from the context menu.
    This will crate a pagedef file. The next step is to create the bindings and executable section, again using the context menu on the pageDef file in the Structure Window.
    In the binding section, use the context menu to create list -, attribute -, table bindings (etc.) and then the ExpressionLanguage editor on the JSF page to wire components up to the ADF binding.
    Frank

  • How MS SOAP 3.0 client invokes WL 7.0 Webservice WITHOUT using a WSDL file?

    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

    Hi,
    As you might guess, we are not big VB users here :-) but we may have some C# code that
    could be of some value.
    What problem are you trying to solve by not using WSDL?
    Just curious,
    Bruce
    Dovan Nguyen wrote:
    Hi all,
    I am looking for a sample VBScript using MS SOAP 3.0 client invoking a WL 7.0 Server
    webservice. Could anyone please post a sample VBScript codes invoking a soap service
    on WL 7.0 WITHOUT using a WSDL file, for example at:
    http://localhost:7001/HelloWorld/Hello
    with the service method:
    public org.w3c.dom.Element say(String something);
    Thanks,
    Dovan

  • Using Synchronous webservice without using SAP XI

    Hi,
    I have a requirement of wherein which my client has provided me a dot net webservice which needs to be consumed in SAP R/3 using which i have to build an interface between SAP R/3 and the legacy system. This interface needs to be synchronous in nature.
    Please let me know how to handle this in ABAP and is this possible without using SAP XI / PI.
    Step 1:
    SAP r/3 ( sends data )------> (Webservice) Legacy system
    Step 2:
    (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    Regards
    Joel

    Hi Joel,
    You can use the webservie (SOAP or WS[if it is PI7.1server] adapter).
    By calling the webservice from the ABAP.
    http://help.sap.com/saphelp_srm40/helpdata/EN/2d/64d023e74911d6b2e400508b6b8a93/frameset.htm
    or by using PI also it is possible
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?quicklink=index&overridelayout=true
    Read page no 26th onwards.
    > Step 1:
    > SAP r/3 ( sends data )------> (Webservice) Legacy system
    you can use Proxy to PI to SOAP/WS scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    > Step 2:
    > (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    you can use SOAP to PI to Proxy scenario.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm (For SOAP)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies  (for proxy)
    Regards
    Ramesh

  • Writing a JSR168 portlet WITHOUT using Jdeveloper or "wizards"

    I have a JSR168 portlet that is built using Maven (http://maven.apache.org/ if you don't know what that is).
    It deploys and operates perfectly well into a portlet container such as Pluto (the standard, reference container from Apache).
    Pluto supplies a Maven plugin, that takes the vanilla web.xml and other configuration e.g. portlet.xml and adds the necessary configuration to run the portlet in the container. I believe there is an Ant plugin that does exactly the same thing.
    It adds the following conf to teh web.xml;
    <servlet>
    <servlet-name>my-portlet-name</servlet-name>
    <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
    <init-param>
    <param-name>portlet-name</param-name>
    <param-value>my-portlet-name</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>my-portlet-name</servlet-name>
    <url-pattern>/PlutoInvoker/my-portlet-name</url-pattern>
    </servlet-mapping>
    This is the "magic" that glues my portlet to the portlet container.
    What I wish to know, is how to make my JSR168 portlet deploy into Oracle Portal 10g without EVER using JDeveloper. What is the 'magic' I have to apply to my web.xml or portlet.xml or other configuration that will men I can deploy my portlet war into the app server and make it talk turkey with the portal container. I can cope with just having a customised web.xml that I have to copy into the WAR file if need be ... if I could find some guidance what should be in that file.
    It seems that every search I've done in google or though the doco we have here starts with "Start Jdeveloper and select XXX in the portlet wizard".
    I do not use Jdeveloper and nor will I. I will continue to build my Java code in a correct fashion, i.e. on the command line with my standard build tools that don't involve the IDE. Don't get me wrong, I use an IDE, but one should never be mandated. In my book, "wizards" are about the worst imaginable way to get any programming task completed.

    Hi Marcel
    With respect, it's patently obvious that we know how to develop a portlet without Jdeveloper, because if you read the message you would have been able to discern that this is the way we are accustomed to doing it, and it's faster, easier and more portable that way. I've been doing J2EE development since the first version of the spec and well before there was an Oracle implementation of it.
    You don't actually need an EAR file, as a WAR will suffice and the dcmctl command-line utility can supply everything else in its arguments (like, context-path and the like), and it allows each WAR artifact to be deployed in different times, i.e. when they are built on the integration server. I find EAR files usually too heavyweight especially as I rarely write EJBs, as opposed to using e.g. Spring.
    Using the web browser is not an option for automated deployment and acceptance testing from an integration build server.
    Configuring the portal side of things looks decidedly a different matter and I've not found anyway to do it from the command line, it demands the browser, which is a let-down.
    It's terribly disappointing the paucity of information about automation of deployment as opposed to the positively verdant amount of presentations, tutorials and documentation that assumes top-to-bottom Oracle tooling and environment and browser-based configuration. Even where it's actually possible Oracle doesn't seem to want to tell people about it or do as I believe they should, which is regard this form of deployment and configuration as the default way to teach developers how to use their products. None of this helps build and deploy to Oracle products using test-driven development, continuous integration, and automated acceptance testing, all of which are usually regarded as essential parts of a modern developers toolkit by the best minds in the business.
    So after we're left alone to discover how to do this by ourselves for a month you can forgive my disappointment at being lectured like I was some neophyte who doesn't know how to make a WAR file with textedit.

  • Simple WebService Creation using JDeveloper 11.1 Technology Preview 2

    Hi,
    I like the way JDeveloper simplifies the web service creation using the wizards and allows to test the web services from the IDE itself.
    I have the following issues when I tried the step-by-step tutorial (http://www.oracle.com/technology/obe/obe11jdev/11/ws/ws.html) to build a web service. I greatly appreciate if some one can help me with these issues. This tutorial basically provides how to create a simple hello world kind of web service using JDev. Some of the steps are failing in my case.
    Failure 1) Unable to find the WSDL document
    When I invoke the "Test Web Service" menu item HTTP Analyzer is unable to locate the dynamically generated WSDL. I did try with and with-out proxy settings both the cases it failed. However I can see the WSDL if I go to the given WSDL URL in my web browser. I suspect I am missing some thing in Jdeveloper configuration. So I had to manually save the WSDL from the browser to go to further steps.
    Failure 2) Failure in the Response message
    When I invoke the request message I am getting the following error in the response:
    "The selected message is not a SOAP message". However, if I use the browser to test the web service, it is working fine.
    I greatly appreciate if you can provide me some insight into why JDeveloper is failing in these cases.
    Thanks
    Sunil

    It started working after I restarted the JDeveloper with no proxy settings. Seems to be after changing proxy settings JDev need to be restarted to take the preference changes to be effective in this case.
    Another interesting aspect that I noticed was, when HTTP analyzer is running it dynamically sets the proxy in the preferences settings as localhost with the HTTP analyzer port.
    But anyway now I am able to run and test this webservice within the JDev itself.
    Regards
    Sunil

  • ADF Faces Application without using JDeveloper/TopLink/BC4J

    Hi,
    I want to make a small database driven application using ADF Faces Components without any hlp of JDeveloper, BC4J or Toplink.
    I could not see any document/ sample application which demonstrates creating J2EE application with ADF Faces by avoiding OC4J, JDeveloper IDE & TOPLINK.

    Hi, any luck trying to use adf faces in another IDE besides Jdeveloper?? Please let me know ;)
    thanx.
    T.

  • Remote Debugging of OJVM without using JDeveloper

    I need to remotely debug a Java program running in an OJVM started with the following command line:
    java.exe -ojvm -XXdebug,detached,port4000,quiet
    Using Oracle's JDeveloper, which can connect and debug this program, is not an option. The program doing the "debugging" is a home-grown utility that will have very specialized functionality unique to the program its debugging. As of right now we would like to use the plain-vanilla Sun's Hotspot 1.4 JVM, if possible, for the "debugger's" jvm. So, if I can get Sun's jdb.exe to connect to the OJVM then I can get the home-grown "debugger" to work too.
    I know if I change the startup parameters of the debugee java program to this:
    java.exe -classic -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000 -Xdebug -Xnoagent -Djava.compiler=NONE
    I can get jdb to connect with this:
    jdb -connect com.sun.jdi.SocketAttach:hostname=myhostname,port=4000
    Changing the startup parameters is something that I absolutely, positively want to avoid.
    So what would be the jdb connect string?
    Is it required that the OJVM be installed and used by the PC where jdb is running?
    The debugger would be running under windows 2000 if that's important to know.
    Thanks.

    Hi.
    jdb uses the Java Platform Debugger Architecture (JPDA). See http://java.sun.com/products/jpda for more information. I suspect that your home-grown debugger is built on JPDA.
    Unfortunately, OJVM does not implement JVMDI (Java Virtual Machine Debugger Interface), which is the part of JPDA that a JVM must implement in order to support JPDA.
    So, you are not going to be able to debug with jdb and OJVM together.
    You can use hotspot for the debuggee's JVM by using the following arguments:
    java.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000
    I know you said that you positively want to avoid changing the startup parameters, but if you want to use jdb (or any home-grown debugger built on JPDA), you can't use OJVM. Sorry.
    -Liz Looney

  • Consuming a webservice in ABAP ECC 6.0 without using XI/ PI

    Hi Experts,
    I wanted to consume an external webservice without using XI / PI.After doing my homework and search on sdn I came to know that we can consume webservices in ABAP using proxies using SE80(Enterprise Services).
    I am trying to create a client proxy with the URL of webservice.It asks me the option to choose between URL or HTTP.
    I am selecting URL and in the second screen it asks about the package details and after that it finishes.Later I get an error message stating "NO VENDOR SPECIFIED".Its not allowing me to create a proxy.
    So, here are my questions.
    Does anyone faced the same kind of problem?
    Can we really consume a webservice without using XI / PI or any other middleware?
    Is it possible to consume the webservice only with URL or WSDL file ?
    Please let me know the exact process.
    Thanks in Advance.
    Shanker Pandey.

    Hi Martin,
      Please check these following links. Though you have reported already, these may help
    Proxy Object generation error using Wizard for Web Service Consumption
    Also, please have a look @ /people/thomas.jung/blog/2006/03/13/develop-a-web-service-that-sends-an-email--in-abap-netweaver-04s
    Hope this helps,
    Karthik

  • XML Publisher (now BI Publisher) reports without Using RDF

    Hi All,
    We am trying to generate XML Publisher (now BI Publisher) reports from Oracle EBS reports without Using RDF.
    We have generated the required report using RDF however as we are trying to move away from RDF, we are looking for this type of solution (i.e without RDF). We simply want to use SQL query for XML output.
    I tried to generate XML output from a concurrent program which is a SQL query however the output doesn't come out in proper XML format.
    I am sure this can be done through XML publisher using pl/sql procedure. By using a procedure and using the function DBMS_XMLGEN.getxml to generate the output in XML format & storing it in a variable declared as CLOB type. The reports are running fine smaller result set but its giving error "Value or Numeric Error' for larger resul set. Following is the way i am using the function:
    select DBMS_XMLGEN.GETXML('select * from dual') into result from dual;
    Where result is declared as CLOB Type.
    Can anyone help please?
    Thanks.

    I used a different approach.
    I registered a concurrent program with executable as XDODTEXE and output as XML.
    I added a XML data definition (which contains my SQL query) on XML Publsiher admin and Registerd a template against that XML data definition.
    This solved my problem.
    Thanks all.

  • Display a value from PLSQL code to screen

    How to display a value from PLSQL code to screen without loading or refreshing the page?
    im using ajax to call the javascript to run the PLSQL code. i desire to view some value in the screen when i run the PLSQL code
    skud.

    anything that you print from the PLSQL code(using htp.p, htp.prn etc) with will available in Javascript as the server response. You can parse that string it in javascript and display it on screen or modify page items or create dynamic items/elements using those values.
    A minimal example
    Ondemand PLSQL process : TEST_PROCESS
    begin
      htp.prn('hello world');
    end;Javascript Code
    var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=TEST_PROCESS',0);
    ajaxResult = ajaxRequest.get();
    alert(ajaxResult);Will display an alert message "hello world"
    You can construct the string in JSON/XML format in PLSQL to pass complex data structures(or multiple values) or even HTML code, then do the required processing in Javascript, for example extract out item values from it and set items, convert the JSON array to a select list item in the page or put the HTML code with a div element in the page.

  • Xml report output in excel format without using options tab in EBS

    How to get xml publisher report output in excel format without using options tab in EBS?
    I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
    But i want to get excel output automatically.
    Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
    Thanks in advance
    Sandeep V

    Hey Sandeep,
    I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
    Thanks,
    Sunil

  • Run PLSQL code by click on button usin javascript

    Hi
    I want to run plsql code
    on click button using javascript
    javascript is ok but code of plsql is not run
    suggest me
    APEX 4.2.1
    Oracle !!XE
    Windows Server
    Firefox 17.0.1
    Theme Cloudy
    thanks in advance
    bUTTON CODE IN PLSQL CODE AND SEND_RMNDE IS PROCEDURE
    '<button type="button" name="button1" onclick="send_rmndr('
    ||NO_DUES_MASTER.CERT_ID
    ||');" value ='
    ||NO_DUES_MASTER.CERT_ID
    ||'> '
    ||'Remind'
    ||'</button>'
    JAVASCRIPT
    <script type="text/javascript">
    function send_rmndr(pThis)
    var params='x= '+pThis;
    var get=new htmldb_Get(null,null,null,&APP_PAGE_ID.,null,'send_reminder',params);
    gReturn = get.get();
    //alert(gReturn);
    alert ('inside script ' +params);
    //get=null;
    </script>
    Edited by: 969091 on Feb 1, 2013 9:13 PM

    send_reminder needs to be defined as an application process
    Alternatively, you can define a dynamic action and do this more declaratively.
    It's easy to define a DA that fires on click of a button that runs PL/SQL, and you can also define which page items are sent to and received from the plsql via session state.
    Scott
    blog: [url grassroots-oracle.com]grassroots-oracle.com
    twitter: [url twitter.com/swesley_perth]@swesley_perth
    -- please mark any useful posts as helpful or correct, in the end it helps us all

  • Publish PLSQL Package as webservice using Jdeveloper

    Hi All,
    I have developed an PLSQL package that select records based on search criteria. I want to publish this as an web service. I have published another PLSQL package that inserts to a table as a web service, which is working fine(Using Jdeveloper and SOA Suite(Application Server)). I am getting error as "cannot create target" when i published as a web service for select.
    Procedure has 4 IN Parameters and 4 OUT Parameters in which one of the OUT Parameter is of table type. When i click invoke button the error details are as follows
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>Error creating target: hr.Select_Employee_Records_V1User</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Please suggest me how to proceed further
    Thanks and Regards,
    Mahesh
    Edited by: MAH on Nov 2, 2008 10:33 PM

    Have you tried using the DB adapter for stored procedures? Is your "record" type a PL/SQL record type? Or is it a SQL object type? If it's the former then the adapter will automatically generate corresponding object types. A package is also generated that contains a wrapper API for your original procedure. The package also includes conversions to convert between the record and the object types. If it's the latter, then the adapter does nothing special as it can handle object types. Once deployed, your API will be executed with an included instance XML for the inbound parameters. XML will be generated containing values of outbound parameters. In your case, if the data type is a PL/SQL record, the problem may be that record is not a supported data type.

Maybe you are looking for

  • What is s.m.a.r.t? where do I get it?

    What is s.m.a.r.t? where do I get it?

  • Newbie having issues with .svg

    I'm new to Illustrator, but a seasoned pro with Photoshop and Adobe's video production software. I was just given an svg file containing layers, but every time I attempt to open it in AI it crashes the software... not a hard crash where it just up an

  • Rman archivelog backup fails with rman-03002,ora-19563

    Hi, D:\ Oracle- -\BIN\RMAN TARGET / NOCATALOG RMAN> backup archivelog all; RMAN-03002: Error with backup command on 06-25-2013 ORA-19563: Header-Validation is not successful.     fails with the given errors. 11.2.0.2 PROD DB on Windows Server 2008  R

  • Dealer invoice excise duty..?

    Hi all Can anybody explain me about , wht is dealer invoice with excise duty. How it wil difffer from other invoice .. What are the other excise invoices are there while purchasing ..? Thanks sap-mm

  • Can not access Itunes Store.

    I've never had a problem before, but I have been unable to connect the last few days. I have tried the Troubleshooting tips. When I try to connect it says that my network connection was refused. Any help? Thanks.