Database Web Services with Oracle 10g

Forgive my lack of knowledge on this issue, but we are still researching our options and we have very little experience with these new technologies.
We have been using Oracle Database server for years and we are looking now into integrating or applications to offer farther solutions to our customer as well as to implement a b2b solution.
Our b2b solution consist of a relationship between Partners of our customer via a hub server that would reside on our quarters. In other words our customers servers would communicate with their partners via our server and vice versa.
We are planning to use Fusion to implement our Hub server and my question is:
"Should we deploy A J2EE container to our customer where 'client services' would run to maintain a runtime communication with our hub or can we skip the J2EE container by using Database Web Services?"
And a related question:
"What Oracle components are required for Database Web Services to work? How are they implemented?"
Thank you!

After farther reading about Database Web Services, it seems that you still need at least OC4J on the customer side to run Database Web Services. Is that correct?
So if the best approach is to deploy OC4J to our customers, how difficult is to do so and how can I configure each one of my customers so my hub server can uniquely identify each one of them?

Similar Messages

  • Need idea : Integration of CRM On Demand web services with Oracle SOA 10g

    Hi Al,
    Can anyone have any idea on integration of CRM on Demand Web service with Oracle SOA 10g specially BPEL 10g.
    If you have any idea please share with us. Or if you know any good link on the same... please let me know.....
    Thanks in advance
    Debarshi

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Error deploying Web Service in Oracle 10g AS (10.1.3.0)

    When deploying a secured web service from Oracle EM 10.1.3 i'm getting the following exception
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    The same web service (.ear) file is getting uploaded without exception when deploying directly from Oracle JDeveloper 10.1.3.0

    The problem solved when creating a webservice ear file with the keystore generated in the machine where the application server is installed.
    We created a secure web service (in client machineA) with public/private key encryption (AES 256) and tried deploying it in an application server instance (Server machineA). Doing this gives the following expection (when deploying the ear file through EM)
    "Failed in uploading archive. Invalid archive file: Invalid value: AES-256"
    We solved the problem by creating a keystore file in the application server instance machine (instead of doing it in client machine) and used the same keystore file to create the ear file which got deployed succesfully.
    Thanks for your help

  • Consuming Axis web service from Oracle 10g database

    Greetings,
    I have a working web service that I want my Oracle 10.2 database to consume. I've taken the wsdl file from the web service and run it through Apache Axis' wsdl2java function, thus creating the Java client stubs required.
    Is it possible to:
    -Call a PL/SQL function which:
    --Calls a Java class which:
    ---Calls the webservice which calculates an answer and passes it all the way back to the db?
    I can get the db to call Java functions through PL/SQL and I can call the webservice from Java if I call the Java from the command line, but I can't seem to put it all together. When I upload all my Java to the db and attempt to call the method, I get:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    Java.lang.ExceptionInInitializerError
    If this is possible, could you please give me some direction as to where to go about doing it?
    Thanks.

    Using Axis libraries within the database may not be the easiest way to get started.
    Try this: Calling a Web Service From The Database
    Best,
    -Eric

  • Create web service in oracle 10g r2

    Hi guys, I am trying to expose a package function as a web service in the database (10g r2) for outside clients to call on. I saw a good example on the following url in 11g http://www.oracle-base.com/articles/11g/NativeOracleXmlDbWebServices_11gR1.php in which you use the dbms_xdb package to configure a port and servlet for accessing the function in the db. However, the 10g r2 version of the dbms_xdb package does not have some of the functions in the 11g version. Eg. dbms_xdb.addservlet, deleteservlet, etc.
    How can i go about doing this (without using Jdeveloper)? Jdeveloper creates the web service but the uses your localhost and web logic port in the generated wsdl. I would like something similar to the example above. Can somebody provide an example that works in 10g or point me towards some article that explains how to accomplish this?
    Any help is appreciated!
    Thanks

    If the intention is merely to web enable that procedure, allowing it to be called directly via http, then it can be done 10g using XDB.
    XDB supports WebDAV and has a mod_plsql (PL/SQL module interface for web servers) servlet. You configure the Oracle Listener to accept http connections on port 8080 for example and hand it over to this mod_plsql module in XDB. In XDB you configure the behaviour of (and URL signatures supported by) this module.
    Note that this deals merely with the connectivity and interface (http to PL/SQL) side - whether that procedure exposes a web services (and returns XML) or whether it returns images or html or text is immaterial from a connectivity viewpoint.

  • Digital Certificates and Web Services with Oracle APEX

    Hi people,
    I am working to implement Web Service communication using Oracle Apex. I need to create an application that calls an external public Web Service in Apex. So far, so good, and i am able to work with a public WS without any problems.
    However, this particular WS I'm calling has two peculiarities:
    1) It is SSL-Secured (HTTPS). This means i have to communicate using SSL and Public/Private Certificates.
    2) The message i pass (payload) must be digitally signed using XMLDsig Standard (www.w3.org/TR/xmldsig-core/)
    The first requirement i am still testing, but it will probably work if i import the public and private keys using Oracle Wallet and point to this Wallet, just as PayPal sample in OTN samples does, don't you think? Should i have any problems with this?
    The second one is more complicated, all APIs i have seen for XML Digital Signing are Java-based or .NET-based, i have found nothing based in PL/SQL packages or such. Can you point me some other options to sign this XML?
    Please bear in mind that, since the WS has more than one method, i am using plain old UTL_HTTP to call it (just like the PayPal sample in OTN). PayPal requests that all communication be SSL-enabled, but has no mention whatsoever for Digital Signatures.
    Can anybody help me out with this? any help is highly appreciated.
    Regards
    Thiago

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Web services with oracle 9ifs

    hi,
    could someone help me out in this error..
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
    Thanks
    Arvind

    Hi Mike,
    yes ! i am trying to make XML/SOAP based Web services work with iFS
    Let me give u the exact details of the what i am trying to achieve.
    I have a stateless session bean method which i am exposing as a webservice.
    This method invokes the IFS API.
    I do something like this :
    // inside the webservice method
    callingIFS( );
    =====================================================
    public void callingIFS() {
    LibraryService service = LibraryService.startService("IfsDefault", "ifssys");
    CleartextCredential cred = new CleartextCredential("system","system");
    ====================================================
    When it comes to the LibraryService it fails to start the service.
    ======================================================
    oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
    oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
    =========================================================
    It is unable to locate the properties file.
    Thanks'
    Arvind

  • Web Services with Oracle Forms 6.0.8

    Hey ,
    Does anyone have any how to guide / tutorials / examples for using web services on forms 6.0.8 ?
    cheers
    C.

    ODP.NET requires Oracle Client 9.2 or higher.
    You can find additional information about ODP.NET from the FAQ:
    http://www.oracle.com/technology/tech/windows/odpnet/faq.html
    and the ODP.NET homepage:
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    Hope that helps,
    Mark

  • Calling a web service from Oracle 10g forms

    Hi Everybody
    I want to send SMS from my 10g forms.... I searched for the topic and I got the following link
    "http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html"
    Now I have downloaded "wsclient_extended_101320.zip"
    1. extracted the jar file,
    2. copied the jar file in "c:\ids10\WSclient"
    3. Specified jar file name in "default.env" "formsweb.cfg"
    4. Also specified the jar file name in "CLASSPATH" environment variable
    5. restarted OC4J instance
    6. Restarted Fotm Builder
    But I couldn't see the "webServiceProxy.proxy.SendServiceSoapClient" in Form Builder "JAVA CLASS iMPORTER"
    Can anyone plz help.....
    Wat may be the problem??
    Do I hav to follow the steps to create service as specified in demo page....or is it sufficient to download the jar file ??
    Or is there any other setting that I m missing???
    Thanx in advance....

    I created a new folder "WSclient" in "c:\ids10\forms"
    and added full path name in CLASSPATH......

  • "In-Memory Database Cache" option for Oracle 10g Enterprise Edition

    Hi,
    In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
    databases (platform - Solaris 9i).
    TimesTen holds application information which needs to be accessed quickly
    and Oracle 9i is a master application database.
    Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
    database. While exploring about Oracle 10g features, came to know about
    "In-Memory Database Cache" option for Oracle Enterprise Edition. This made
    me to think about using Oracle 10g Enterprise Edition with "In-Memory
    Database Cache" option for our application.
    Following are the advantages that I could visualize by adopting the
    above-mentioned approach:
    1. Data reconciliation between Oracle and TimesTen is not required (i.e.
    data can be maintained only in Oracle tables and for caching "In-Memory
    Database Cache" can be used)
    2. Data maintenance is easy and gives one view access to data
    I have following queries regarding the above-mentioned solution:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    In "Options and Packs" chapter in Oracle documentation
    (http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
    #CIHJJBGA), I encountered the following statement:
    "For the purposes of licensing Oracle In-Memory Database Cache, only the
    processors on which the TimesTen In-Memory Database component of the
    In-Memory Database Cache software is installed and/or running are counted
    for the purpose of determining the number of licenses required."
    We have servers with the following configuration. Is there a way to get the
    count of processors on which the Cache software could be installed and/or
    running? Please assist.
    Production box with 12 core 2 duo processors (24 cores)
    Pre-production box with 8 core 2 duo processors (16 cores)
    Development and test box with 2 single chip processors
    Development and test box with 4 single chip processors
    Development and test box with 6 single chip processors
    Thanks & Regards,
    Vijay

    Hi Vijay,
    regarding your questions:
    1. What is the difference between "TimesTen In-Memory Database" and
    "In-Memory Database Cache" in terms of features and licensing model?
    ==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
    2. Is "In-Memory Database Cache" option integrated with Oracle 10g
    installable or a separate installable (i.e. TimesTen installable with only
    cache feature)?
    ==> Seperate Installation
    3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
    Connect to Oracle" option in TimesTen In-Memory Database?
    ==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
    This explains the differences.
    4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
    access will happen only through Oracle sqlplus or OCI calls. Am I right here
    in making this statement?
    ==> Please see above mentioned papers
    5. Is it possible to cache the result set of a join query in "In-Memory
    Database Cache"?
    ==> Again ... ;-)
    Kind regards
    Mike

  • How to call web services from oracle database 10g

    Hi all ,
    How can i call web services from oracle database 10g ?
    thanks ...

    abdou123 wrote:
    but how can i get complex result
    for example
    i pass input parameter like National Id Number
    and get the person details ( name , age , date of birth , ............ ) .Basic approach to web services using UTL_HTTP explained in {message:id=10448611}.
    An example of using a pipeline table function as a data transformation process (turning web data into rows and columns) in {message:id=10158148}.

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • Database Web Services and OC4J in Oracle Database Standard Edition

    Hi all,
    Oracle Database Standard Edition has database web services, which require OC4J if the database is to be used as web service provider. So, can OC4J be used in production with Oracle Database Standard Edition?
    Thank you for this clarification :)
    Mitko

    Yes. :)

  • Web Service with Drop Down Lists for database selections

    Hello,
    I want to define a Web Service with the JDeveloper which can do the following.
    I´ve got a database table with several columns which represents a customer adress and name.
    On a WebSite I like to have three Drop Down Lists to search in that table. The first list should include the field "name". When I select a name there the second list should show all streets (field "street") where people with the selected name live. When I select the street the third list should show me the house numbers (field "hn") of the customers with the selected name and street.
    What have I to do to define a application, a project and so on?
    Many Thanks!

    Hello,
    This question is not directly related to Web Services, since in this case you can consider that the Web Service is your "model" providing data to your view (JSP). One of the question I would like to ask you is: why do you want to use a Web Service to do that? and how you want to deploy this?
    In a general manner, if you use Web Service it is to be able to reuse the business logic in other projects, so based on this statement I would create a specific project that will contain you "model" so all your services.
    The to consume it from your JSP you have different ways:
    - create a Java proxy, or use @WebServiceRef to call the client
    - use Javascript to call the service directly from the HTML page, take a look to the Oracle Web Service endpoint page, where you can see some Javascript stub links.
    Please give more details about your project and needs and I will try to give you a proper answer.
    Regards
    Tugdual Grall

  • Calling web service from oracle forms 10g

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://gend:83/DesignService.svc?wsdl
    The service was developed by us.
    Calling the web service using JDeveloper works fine but when I complie in Oracle Forms it returns wrong number of types of arguments in call SENDHELLO.
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    xo ora_java.jobject;
    rv varchar2(2000);
    ex ora_java.jobject;
    str varchar2(100);
    BEGIN
    jo := GendServiceClient.new;
    rv := GendServiceClient.sendHello('Nora');
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;
    Any help/ideas on this is greatly appreciated. Thanks.
    Edited by: KE Nora Loera on Jun 1, 2012 1:24 PM

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

Maybe you are looking for