Can use PLSQL to develop PLSQL web services?

Hi,
I know we can use JDeveloper to create PLSQL web services.
How about if we want to develop plsql web services using PLSQL itself, is that possible?
Please advise.
Thank you.

I found the article on how to call web services from within database.
http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html?_template=/ocom/technology/content/print
The example is for oracle9iR2.
It's looks like it's quite a bit of work compare to use java to call web services. I wonder with Oracle10g database, is there any improvement that will simply the steps? Would appreciate some advice as i don't have oracle10g environment in my place.
Thank you.

Similar Messages

  • Help using CollatorEntry for Repository Framework Web Services

    Hi All,
    Just wondering what are the pre-requisites needed for my KM repository before I can use the collator functionality in web services such as the findResrouces function from the Repository Framework web service?
    Should my repository be setup with an index or something? I've been reading the Javadocs and trying a few things out using the WSDL navigator but I have no idea what values I should be putting in for CollatorEntry object. What "name" values should I be putting which correspond to properties?
    Could anyone please provide example inputs to put into the WS Navigator say for the method findResources?
    When I test out the findResources method
    when I input rid: /documents/
    CollatorEntries - element1 - name = displayname
    ascending = false
    I keep getting the error:
    Unable to compare: /documents, /documents/.system
    hmmm searching SDN doesn't really seem to come up with much information except Collators aren't being used in client applications so they won't be discussed in detail
    Any help would be appreciated!

    So I have figured out that I need to be putting in the namespace+localname into this collator entry name field but I have been unable to apply an ascending sort based on the accessRid.
    I've found using the findResources operation I am getting back resource objects that are not in a file heiarchal order (ie. nodes further down the file directory are being returned before their parentRids.)
    Is there a way for me to ensure that findResources returns a sorted array that starts from the top of the document tree and each resource object returned is in the same order as what I see in KM content browser?
    Must be a setting or a property that I am missing, when I  do a getOrderMechanism operation I notice it is an unordered type. I can't set server order mechanism as its not supported yet....
    Does anyone have any suggestions?

  • Need some direction on developing a web service.

    Hi,
    My requirement is to develop a web service and expose 8 Oracle views as methods that can be invoked that will give the data within those views in XML format.
    What is the best approach in doing this?
    I've tried developing a PLSLQ procedure and publishing it as a web service but see that there are limitations related in using a PLSQL record type as out variable
    Not sure if I can do this by developing a BPEL process.
    Appreicate your help on this..
    Thanks
    -Prapoorna

    Here are some sample apps and tutorials that might help:
    http://brianchau.wordpress.com/2008/02/12/flash-media-server-3-demos/
    especially the VideoRecorder one.

  • How can I create a query with web service data control?

    I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.

    Hi,
    This might help
    *054.     Search form using ADF WS Data Control and Complex input types*
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • Using Native Oracle XML DB Web Services - REST POST web service possible?

    My goal is to expose some pl/sql procedures as a REST web services.
    The Database is 11gR2
    The request method needs to be a POST (not GET as a request will perform insert/updates ) - the request body will contain a xml structure
    Have setup XMLDB Database-native Web Services as per
    11g documentation "Using Native Oracle XML DB Web Services"
    It seems this setup support only SOAP requests!?
    RESTful webservice with GET is (sort of) supported using
    Embedded PL/SQL Gateway as describer here:
    http://ora-00001.blogspot.com/2009/07/creating-rest-web-service-with-plsql.html
    Although no support for POST
    Obviously the post is from 2009 so just want to know if anything changed since.
    Has anyone found a way to expose pl/sql procedures using XML DB or other approach as a REST POST web services?
    (As the relative low number of calls/hour and also the aim to have the least amount of moving parts therefor looking for a DB centric solution)
    Thanks
    Pete

    I think the post referred to was more an exercise of what could be achieved. The quickest way, nowadays, to get this done with not too much hassle is via APEX
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35128/restful_svc.htm
    M.

  • Use case for describing a web service

    Dear all,
    I have a fundamental question for describing a web service.
    An analyst will first write (1) a use case for describing the web service and (2) wsdl and xsd files for describing the web service.
    As a developer, I would say that artifact (2) is enough. As an analyst, I would still need to document the requirement in the format of use case specification. However, it is not clear for me what should be put in this use case specification and what is the added value of such a use case.
    Have you any sample example of this kind of use case in order to describe a web service?
    Thanks in advance.
    Pengyou

    wpafbuser1 wrote:
    First, don't post twice. I'd rather see you bump a post then repost the same question.
    Have you any sample example of this kind of use case in order to describe a web service?First, searching Google will show you millions of use cases you can use as examples. Second, why would you think writing a use case for a Web Service would be any different than any other use case?Sorry for posting twice. I thought the first one failed due to a system error but I was wrong.
    From millions of use case I can not find a "good" one.
    I have in fact two conceptual questions:
    1. I have not much to say about the flow of events. It is simply a request and a response. This is much simpler than a "normal" use case. Am I right?
    2. However, I don't know where to put the description of business logic: 2.1 the data sets to be put in the request and response; 2.2 the business logic to construct the response from the request.
    I would appreciate any hint or discussion.
    Pengyou

  • How can I authenticate and authorize with Web Service on ESB ?

    Hello,
    I want to authenticate and authorize client with Web Service published
    by HTTP/SOAP BC.
    Simply if it is an Web Service as J2EE application, I will use
    Basic Authentication with JAX-RPC and Realm.
    But I think that Web Service published by HTTP/SOAP BC is not belong
    to J2EE Application. Threre is no place to describe security role mapping
    (like web.xml).
    JBI 1.0 the section "5.5.1.1.3 Normalized Message Properties" comments
    JAAS Subject is given in the NM Properties. Really in this package
    com.sun.jbi.internal.security.*
    implements JAAS autentication and authorization (at JaasAuthenticator).
    But I can't see how to configure my Service to use this.
    How can I authenticate and authorize with Web Service on ESB ?
    I referred to the resources.
    Mutual Authentication for Web Services: A Live Example
    http://developers.sun.com/prodtech/appserver/reference/techart/mutual_auth.html
    XML and Web Services Security
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html
    JAAS Authentication Tutorial
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
    Thanks,
    Takurou
    - environment ---------------------------------------------
    OpenESB : Project Open ESB Starter Kit
    AppServer : Sun Java Systems Application Server 9.0 PE
    OS : Windows XP
    I don't assume to use SSL (if It's necessary I will try).
    User information is stored in a LDAP Server.
    -----------------------------------------------------------

    Hello,
    I read this resource.
    SecurityDesign
    http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=SecurityDesign
    Then I think [non-ssl and ssl/tls and so on] securing by basic authentication is ongoing feature at this time.
    But I can't see well why this page comments 'HTTP over SSL, TLS'.
    HTTP/SOAP Binding Component Overview
    http://download.java.net/general/open-esb/docs/jbi-components/httpsoap-bc.html
    Does BC support only "SSL server authentication" ?
    Doesn't BC support "SSL client authentication" by username/password ?
    Thanks,
    Takurou

  • Use OWB with java or web service

    Instead of using Oracle warehouse builder GUI design and control center, may I use Java or Web services to access the functionality of warehouse builder.
    where can I find these Java or web services API document.
    Thanks

    I think I can answser my own question by some investigation now. Javadoc is here:
    http://download-west.oracle.com/docs/html/B12155_01/index.html
    but looks like this never been metioned. does it means code to Java API is not recommanded?
    also, still not able to find any tutorial about using this APIs except javadoc

  • Developing a Web Service

    Hi,
    I'm fairly new at doing this and although i've read almost every blueprint and doc on it, I'm in need of a little advice.
    I've created a 'Web Application' within Sun Studio 7, and I'm creating order entry and order display info in parts of the web application. It is here that I would like to develop a web service to interact with the customer. I've 'added' a 'webservice' to the web application and then linked it to some of my classes. I've created a 'test' client and this is where the problem occurs. I 'execute' the client and it brings me to a page much like the 'CurrencyConverter' demo. However once I enter my data I get a Error 404 message. That is my first problem. The second is once I deploy this, how do I use the client against a real server. My tests are just to localhost:8080.
    Thanks.

    if external web service is hosted in BizTalk, then most probably we are talking about WCF services, is it correct? In order to start working with them the simplest way is to add Service reference in Visual Studio (see e.g.
    How to: Add, Update, or Remove a WCF Data Service Reference). It will generate proxy for your application (regular C# class which will have all complexity related with remote calls
    hidden from you, so you will work with it by the same way as it would be any other C# class). Important moment however is that VS will also generate configurations which are necessary for consuming remote service (bindings, endpoints, etc.). You will need
    to copy these configurations to web.config of Sharepoint sitem when will move it to event receiver (in case you will choose synchronous events), or configure WCF proxy them programmatically in Sharepoint.
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

  • Using a control in a web service

    Hi,
    I've got a problem where I using a WebServiceControl in a web service is giving me errors when I build.
    The error is:
    Error with publish task 'WebServicesProjectBuildTask'.
    Web services in payment have errors
    Web services with errors cannot be compiled.
    Error(s) occured during publish assembly. No modules will be published.
    I have a web service I've created called PaymentWebService. This web service uses a web service control to call another web service. It seemed to be working fine until I try and use the web service control inside the PaymentWebService. If I comment out the web service control it deploys fine.
    The error above is all it gives me, and I've checked through the code quite a few times and there are no build errors or anything like that.
    Does anyone have any idea about this? It's driving me nuts.
    Thanks,
    Daniel

    Hi,
    Do you have errors in the weblogic log file?
    Best regards,
    Stéphanie

  • Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

    Can anybody tell how to access web service from Message Driven bean

  • 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

  • Can I alter soapAddress using script before making a web service connection

    Originally I set up a data connection on Data View using a local wsdl file.
    I found following codes on the XML source:
    <connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.1/">
       <?originalXFAVersion http://www.xfa.org/schema/xfa-connection-set/2.1/?>
       <wsdlConnection name="WebServiceDC" dataDescription="WebServiceDCgetAddressXMLDD">
          <soapAddress>https://myURL/myWebServiceFunction</soapAddress>
          <wsdlAddress>.\myWebServiceFunction.wsdl</wsdlAddress>
          <soapAction/>
          <operation input="getAddressXMLRequest" output="getAddressXMLResponse">getAddressXML</operation>
          <?templateDesigner fileDigest shaHash="uKcwzAn9YOsLHWypIz9ycuoeBPE="?></wsdlConnection>
    </connectionSet>
    Does it mean that if I use the form on another machine, I need to place the same file myWebServiceFunction.wsdl on the exact location of the form as well?
    Another question:
    How about I set up a data connection on Data View using a wsdl file from web.
    Then is it possible to change the <soapAddress> from script to alter the connection before I issue:
    xfa.connectionSet.WebServiceDC.execute(false);
    I need to do this because the wsdl's soapAddress point to another endpoint that I need to change.
    Or should I write script at all to make the data connection?
    Rgds.

    Just find from the forum that it cannot be altered but need to be cloned first:
    var oCS = xfa.connectionSet.WebServiceDC.clone(1);
    oCS.soapAddress.value = "http://pgdell:8080/soap/services/WebServiceTest";
    oCS.execute(0);
    But I have a question, how can I access the data returned from the cloned connection oCS?
    Originally in the postExecute event of WSResponsePreProc :
    var rootXml = null;
    var soapFault = null;
    if (xfa.event.soapFaultCode)
         soapFault = {code:xfa.event.soapFaultCode, message:xfa.event.soapFaultString};
    else
         rootXml = xfa.datasets.connectionData.WebServiceDC.Body;               <=========  how can I refer to the cloned oCS  ??
    preProcessor.processResponse(rootXml, soapFault);
    Rgds.

  • Can I Monitor Xamp(apache) hosted web service(OpenEMR) using scom 2012 sp1

    i have installed OpenEMR using xamp(apache,mysql) and now i want to monitor what are the various that has been done by the OpenEMR webisite on my local machine, can any one just help to finding out these things.

    Hi,
    Based on my research, this software can be installed as service or not as service, if it is installed as service, then we can use SCOM to monitor the service status. And if it is not installed as service, to monitor it, we may need to analysis logs written
    by this software.
    And if you want to know what this software did to your computer, I think this should be known by the software vendors, you may need to post thread there. And what I can tell is that we can monitor the computer healthy therefore to know whether something
    is wrong with the computer, and then analysis the issue to know whether it is caused by the software.
    Regards,
    Yan Li
    Regards, Yan Li

  • Using Identity Management for Securing Web Services

    My goal is to associate my services with an Oracle Internet Directory. I made some attempts to set up SAML authentication for the web services, but it didn't have the right outcome.
    (My identity management server and OID is up and running and I have successfully made authentication modules for other web applications)
    Here is what I did:
    1. I wrote a simple java file, used jdeveloper tools to create and deploy it as a web service to OC4J. I associated an identity management server with this service through OC4J web tools as security provider.
    2. I made a data control for the web service and put it in an ADF application . (client)
    3. I deployed the client project(2) to OC4J.
    I could use the web service through the page.
    Then
    I secured the webservice to expect SAML for authentication.
    Surprisingly, the client could still communicate with the webservice, Why? Shouldn't it have rejected the request because of the problem in SAML token? (The proxy and the data control were not secured, and didn't provide any SAML tokens)
    4.
    I added login page to my client project (through ADF security wizard). It used idenity management for authentication successfully. login process completes and web service data control is displayed.
    5. I want the authentication information to be propagated through the page so that the web service receives the data and uses Identity Management.
    I know I should add <property name="oracle.security.wss.propagate.identity" value ="true"/>
    to one of the configuration files, but don't know where exactly.
    Best Regards,
    Farbod

    It doesnt matter whether the service is invoked as part of your larger process or not, if it is performing any business critical operation then it should be secured.
    The idea of SOA / designing services is to have the services available so that it can be orchestrated as part of any other business process.
    Today you may have secured your parent services and tomorrow you could come up with a new service which may use one of the existing lower level services.
    If all the services are in one Application server you can make the configuration/development environment lot easier by securing them using the Gateway.
    Typical probelm with any gateway architecture is that the service is available without any security enforcement when accessed directly.
    You can enforce rules at your network layer to allow access to the App server only from Gateway.
    When you have the liberty to use OWSM or any other WS-Security products, i would stay away from any extensions. Two things to consider
    The next BPEL developer in your project may not be aware of Security extensions
    Centralizing Security enforcement will make your development and security operations as loosely coupled and addresses scalability.
    Thanks
    Ram

Maybe you are looking for