Article: Virtualize Your Oracle Database with Web Services

http://www.oracle.com/technology/pub/articles/mensah_dws.html

http://www.oracle.com/technology/pub/articles/mensah_dws.html

Similar Messages

  • Integrating Oracle EBS with web services which use SAML authentication

    Hi,
    I have a requirement to invoke web service using PL/SQL from a Custom Form of EBS.
    The web Service is configured to use SAML as authentication mechanism.
    Coming to question!
    1) How do I make my EBS integrate with a SAML provider preferably (Oracle Identity Federation) ?
    2) How do i get the SAML token in my PL/SQL and pass it on to the web service?
    Regards
    Dharmvir

    user1983888 wrote:
    Hi ,
    We have Oracle EBS R12 (12.1.2) with Oracle Database 11gR2 (11.2.0.2) Database on Linux env.
    We want to implement Oracle Database Vault 11gR2. We are referring to Note: Integrating Oracle E-Business Suite Release 12 with Oracle Database Vault 11gR2 [ID 1091083.1].
    Do we need to install Oracle Database 11gR2 (s/w only) again on the Oracle Database Server or can we use the existing Oracle EBS Database 11gR2 Home which is already on 11.2?
    Regards,
    ThiruAs mentioned in the doc "If your E-Business Suite R12 is already integrated with 11gR2 database, you just need to enable Database Vault 11gR2 & register it with the database as per Task 3", so no installation of ORACLE_HOME is required and you just need to "Register Oracle Database Vault".
    Thanks,
    Hussein

  • Oracle update with Web Service

    I have a windows service running on IIS5 on a 2000 box. It
    runs every two hours and pulls information from an Oracle
    9i table. I package this information into an xml Docmument
    and use the httpwebrequest to send it to web service
    running on another machine. When the windows service
    receives a successful send to the other machine it updates
    the oracle table. On the second server meanwhile the web
    service there takes the xml that was send and updates a
    SQL7 table. It records a successfull or failed update to
    the sql table and packages up the results(xml) and sends
    them back to a web service running on the first machine.
    This web service then takes the xml it recieves and
    Updates the original Oracle table with a success or
    failure. In my code I call the executenonquery and find
    that 1 row was updated in the oracle table. I close the
    connection and open a new one and pull out the field I
    updated and email that result to myself. It shows that the
    field was updated. However when I look in the Oracle table
    through TOAD, or Quest Central the Table is not updated to
    what it should be. The first update from the windows
    service worked but the second update from the web service
    does not work.
    I have used the oledb provider that comes with .net, the microsoft .net provider for Oralce and ODP.NET from Oracle. I have
    written the code in the web service to run as a
    transaction and as just a straight sql statement. I have
    written it to call a stored procedure in Oracle that will
    update the table with a commit in the stored procedure. In
    all cases my code tells me that the update was successful.
    A trace running on Oracle shows my code executing with no
    errors. Yet in all cases the Oracle table does not update.
    I have since written a second windows service that runs 15
    minutes after the first one runs and pulls values from a
    temp table and does the updates this way THIS WORKS.
    I just want to know why the web service could not update
    the table directly. I think that this might be a bug in
    either the .net environment or in Oracle. I'm sure both
    Microsoft and Oracle will blame each others products but
    it would be nice to know why this is happening.
    If any other developers run into this problem be warned I
    worked on it for three weeks and wrote my code 10 ways to
    Sunday and it would not work.
    Happy coding people.

    Let me understand this correctly. You are trying to update a column value twice. First update goes through but second does not and you don't get any error for the second update. If this is the scenario, it is not supposed to work.
    Here is the reason. A column can be updated using Dataset only if the original column value in the database has not been changed. This is to avoid the dirty writes. Since the original value has not been changed for the first update, the column value is actually updated in the database. However, for the second update, since the original column value was changed by the first update, second update does not update the column value.

  • Programming the Oracle Database with Java and Web Services: sample chapter

    This will be the first book devoted to Java in the Oracle Database: read the sample chapter @ http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf
    This book also covers the latest Oracle JDBC, Oracle SQLJ, JPublisher and Database Web Services A brief description @
    http://www.elsevier.com/wps/find/bookdescription.cws_home/706089/description#description
    Thanks, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Database as Web Services Provider?

    Hello!
    Would you please forgive me my silly question but...
    My customer has purchased and is using Oracle RDBMS 10g.
    Now the customer wants the database to be accessible by web services clients.
    The customer thinks that this can be done with already purchased RDBMS (without Oracle's Application Server). The customer cites Oracle: "Database as Web Services Provider: Database operations and data retrieval are executed through Web Services mechanisms" (http://www.oracle.com/technology/tech/webservices/database.html).
    However, in my honest opinion the customer MUST install some web server. if the customer is especially insterested in Oracle's solutions, then it has to (additionally to already purchased RDBMS) buy either Oracle Application Server or WebLogic.
    Who is right?
    Sincerely Yours,
    Michail

    Michail,
    For DB 10g, you are right - the solution is to use PL/SQL Web Services for which an OracleAS/OC4J server is essential.
    For DB 11g, both you & your customer are right. In addition to the above like 10g, there is a new feature in 11g called Native XML DB Web Services within the DB which does not require any Web Server or AS. See http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm
    HTH,
    Yogesh

  • Configuring New Oracle Database with HFM Shared Services

    Hi,
    We have upgrated the oracle database to new version 11g. We are using HFM 11.1.1.3 version. When I tried to configure the new oracle database with existing HFM Shared Services, the EPM Configurator hangs. Please could you clarify the below few questions before start configuring the database.
    1. Do we want edit any properties or configuration files before starting the EPM Configurator?
    2. If we want to edit the reg.properties file, what is the password denotes in reg.properties file(Below is the structure of the reg.properties file)? Whether I need to give Oracle database schema password?
    jdbc.url=jdbc\:hyperion\:oracle\://xxxxx;
    password=?
    jdbc.driver=hyperion.jdbc.oracle.OracleDriver
    local.value=####
    username=schemaname
    Thanks,
    Aravindh K

    Is it a new database server you are trying to configure? As if it was just upgraded then you shouldnt need to do anything.
    If it is a new database server then have a read of the following doc in Oracle Support - "How To Change Shared Services Database Repository in EPM 11 [ID 976279.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sending Infopath content to a database or web service

    Hi,
    I have a sharepoint 2010 where I have 2 infopath forms used to enter data (each form has 5 por 6 fields). I need, once the data entered and validated, at the same time sent to a sql database or web service.
    Can you please let me know the best route to follow. I read in this forum and on google that it can be done as importing to excel but I do not want any intermediary.
    Thanks in advance

    Hello,
    In this video, i don't see any info about SQL OR ORACLE connector. It is simply about rest web service which can be used anywhere (with infopath, external list etc). As per my knowledge, by default there is no rest web service available in SP to connect
    with ORACLE directly. Either you have to ask third party to provide you rest API OR you can create your own as i said earlier.
    This thread will give you more idea:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/0ce0a4cd-40f8-4bbf-b963-38e3f59ede73/getting-data-from-oracle-database-to-sharepoint-list?forum=sharepointdevelopment
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Database Native web services - load balancing,  Instrumentation , security

    Hello –
    I’m proposing use of Database Native web service in our company. Our architects are asking following questions so appreciate your help
    a.     How do you load balance across the DB WS (is there a way to use the F5 to detect downtime and balance the load across the DB servers)? We will be using RAC configuration with 3 nodes.
    b.     Our architect have security concern as user id/password information are in the web service URL, which may prove to be an issue. Is there a way to mitigate this risk?
    c.     Instrumentation in this approach (db native services) is questionable due to development/auto gen of the service logic from the DB itself. We may investigate wrapping the services with OSB to give us an additional instrumentation, policy enforcement, endpoint mediation and security proxy. Thoughts??
    d.     Architect are curious regarding any potential performance issues this may have on the DB server.
    Thanks

    Hi
    We've recently begun using Native Web Services, intending to roll out this approach across the enterprise, but we've encountered 2 significant problems so far, which you may want to consider before proceeding ...
    1. NWS returns an exception if the underlying PL/SQL returns a null value - even if the PL/SQL has completed successfully, and null is a legitimate return value (see SR 3-6201969101 - it contains simple instructions to recreate the problem)
    (I raised it in this forum but there were no replies - SOAP Fault when returning null from a Native Web Service Stored Procedure
    2. The sequence of values returned in the NWS response message is the opposite to the sequence declared in the auto-generated wsdl - i.e. schema validation will fail (see SR 3-6209016991 - it also contains simple instructions to replicate)
    We have coded a workaround for problem 1. where we return <EMPTY> in place of null, and check for it in the client, but without proper resolution we're not prepared to use NWS elsewhere
    As a workaround for problem 2. we removed schema validation, again not ideal
    Both SRs were escalated 9 days ago, but are still outstanding
    Incidentally our database is 11.2.0.1, but I've tested on 11.2.0.3 and both problems are still present
    We also wrap the NWS services using an OSB Proxy Service, and came across the same security issue that you describe (b) - to provide the credentials required for the NWS, simply create a Service Account (containing the credentials) inside OSB and attach it to the Business Service which invokes the NWS (http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/service_accounts.htm)
    HTH

  • Database native web services and RAC

    The Readme in the database documentation library says :
    Database native web services used in an Oracle RAC configuration are not supported.
    Is this restriction still there for the latest release (the one which was just announced for windows)?
    Why does this restriction exist? Any plans to change this in future releases?
    What does "not supported" means? It simply doesn't work at all, or you can make it work, but Oracle Support won't help you if there are problems with it?

    Yes, unsupported means use at your own risk. Oracle hasn't "approved" what you are doing, so if you run into problems they will not be able to help you.

  • How to connect a PDF form to SQL server database through web service?

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

    Hi,
    I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
    I really appreciate your help and advice.

  • OutofMemory Error while sending file to database using Web services

    I have a file of 30MB to be written to the MySQL database. I am doing this in Axis web services and it gives me the following error:
    (I am using Tomcat as the application server and Apache as the web server, Axis 1.3 and MySQL standard 5.0.21 version. I have set the minimum and maximum heap size and it works well without using the web service (just uploading and downloading from the database using a simple java program). Another thing to notice is that I can send a file of almost 10MB size to the database using web service without any problem. But it doesn't work with the 30 MB .)
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:dbr221d.dbr.louisville.edu
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at edu.louisville.bcc_ma.ws.lab.LabServiceSoapBindingStub.storeGZIPFile(LabServiceSoapBindingStub.java:472)
         at edu.louisville.bcc_ma.lims.labclient.container.SendGZIPFile.sendFile(SendGZIPFile.java:69)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.login(LoginContainer.java:58)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.main(LoginContainer.java:44)

    Sorry for the delayed response here, forget to add it to my watchlist. I didn't catch if you were using Java 1.5 or not. Prior to 1.5 the default maximum heap space was 64MB which with the overhead of the appserver might be your problem.
    Take a look at http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and the java -Xmx <size> command line option to change the default (I believe the size argument is in bytes, but don't hold me to that). I think you can pass that as a command line option to the startup script, but you should check the doco to see if it needs to be wrapped in some other arg etc.,
    I seem to recall running into this same problem a few years back when I had a servlet doing some intense graphics processing on the fly and setting this option fixed the problem.

  • Infopath 2007 and SharePoint 2007 error with Web Service Submit and Recieve

    I have an InfoPath form with code. The code submits the form to SharePoint and to SQL DB through Web Service. The form has some workflow. When form is in a "New" state if submits to SharePoint and Database through custom web service. Works fine
    from both Client and SharePoint browser form. The database ID is returned to the form and then stored in a field. In second stage of workflow additional fields are shown for Supervisor to fill out. I then have an "update" web service to update the
    database. I set all the field values in the Web service then execute both the update Web Service and the SharePoint submit. I get an error (both if running from desktop or SharePoint) Error is
    "The string '' is not a valid AllXsd value"     
    I know sometimes this happens with dates. But I've got all the dates set. The funny thing is in the first submit there are 2 dates in the second submit there is one date. All are set the same and on the first submit no problem submits correct dates to SQL
    database through web Service. Second submit has 2 Boolean fields that I also default to a value of false. I've debugged and looked at all the values and everything has a value. I use delete NIL to make sure value in Web Service is set. I can save the data
    in the form but not submit it because I get the web service error. If I save the data in form and download it and copy all the values in the XML to my Web Service and invoke the web service works fine. So there is no error in the web service. The first
    submit submits both dates and some integer values. The only difference in second is the Boolean value but it is set to default of false for all checkboxes.  I'm going out of mind trying to see what could be wrong.   Also difference with second
    is it sends in the ID of the record that was set in form by result of first submit query sending back the DB value. That value is an integer but I also set correctly.
    Susan J. Swanger

    Hi Somatco,
    According to your description, my understanding is that you got an error when you ran report with xml type datasource.
    Please set the xml datasource credential to Use Windows Authentication (integrated security). More information, please refer to the link:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/530c29ab-7ed5-4c36-816a-910c0b51f4bd/xml-data-source-unable-to-authenticate-using-windows-authentication?forum=sqlreportingservices
    Here are some similar posts for you to take a look at:
    http://www.symantec.com/business/support/index?page=content&id=TECH190935
    http://social.msdn.microsoft.com/Forums/en-US/285e4e8c-d05c-48f8-b4f3-9d87988d823e/an-error-has-occurred-during-report-processing-rsprocessingaborted-query-execution-failed-for?forum=sqlreportingservices
    In addition, as this issue is related to SQL Server Reporting, I commend you create a new thread in SQL Server Reporting forum, more experts will assist you with SQL Server Reporting.
    SQL Server Report forum:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

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

  • Oracle 11g native web services

    Is there any formal explanation about how to configure and create Oracle 11g native web services and how to correctly secure these services? Since Oracle APEX now supports consumption of SOAP and REST web services, it makes sense to have more explanation about creating and securing web services. As many PL/SQL programmers know, it is always not an easy job to develop web services in jDeveloper to work with databases - with all those add-on technologies like jPublisher/Toplink to get tiny things work. It is not easy to find the "how-to" guide about creating and securing Oracle 11g native web services.
    Thanks.
    Andy

    Thanks for the link Tim...it is very useful. I was told that, in APEX 4.2, it will become able to create RESTful web services through APEX - if you run APEX through APEX Listener - by using resource templates in APEX Listener. I will wait for more information about this feature to come out.
    Thanks.
    Andy

  • Difference of Oracle Application Server Web Services and JDeveloper

    As new to the Webservices my Question is what is difference of:
    - 1. Web Services Assistents in JDeveloper 1.3 (JAXRPC specification, WS-Sec)
    - 2. "Oracle Application Server Web Services" 10.1.2 using WebServicesAssembler (depreciated ?)
    - 3. Apache Soap Server 2 based (deprecated ?)
    When should I use the iAS Assistent and when the JDeveloper one for generation?
    Why don't they use the same stuff?
    Does anyone have some experience for projects on this?
    Thx, Willi
    Have not found any Topic with an explanation on this. If you know someone please point me to that.
    oOracle Web Services Framework Confusion
    oracle web services framework confusion
    Web service Assembler Tool

    Thanks a lot for clearing this things to me.
    I have to start a web services projects and I am confused which tools to use - JDeveloper Assistents or the WebServicesAssembler (as pointed out before).
    Because I did not find some hints on this (expecpt your ones), it seems to me that I am missing some point or criteria on that I can do such a decision when to use what of those two tools.
    Do I understand you right, that in future JDeveloper and the WebServicesAssembler will use the same .jar files and also generate the same code?
    Thanks a lot for such valuable hints, Willi

Maybe you are looking for

  • Please help my 10.4.5 update problem!

    Hello, I'm having major problems with my computer. I'd been using 10.4.3 with absolutely no problems for awhile. I did "software update" and began downloading the 10.4.5 combo update. When it finished, it said something about the installation failed

  • Source System Conversion in Remote Process Chain

    Hi all! I' working with BI7 SP12 and facing the following problem: <b>There is no source system conversion for Remote Process Chains, when transporting Process Chains with Remote Process Chains from DEV to QA.</b> First the following warning appears:

  • Pages v.5, trouble with section break placement

    I have a document in which the first two pages should have no pagination, the Introduction is page 1, with the number placed bottom center, and the following pages should be numbered from 2, placed at upper right. I thought I knew how to do this. The

  • In-place archive and in-place hold

    Hello, I have a question concerning the archiving of the Recoverable items folder. The question refers to Exchange 2013 SP1 and in-place archive in coherency with in-place hold. First of all I have an active in-place archive with the default retentio

  • Change default audio volume from 75 to some other value

    We are running Solaris with CDE. The sound volume is too high when we reboot the machine. We can change it with /usr/dt/share/bin/sdtaudio or /usr/openwin/bin/audiocontrol with a GUI slider down to about 20. The default is 75. This works fine until w