RMI and Web services

Hi,
I have a question about the scalability of RMI with Oracle JVM.
What we intend to do is have about 10 SOAP webservices all interacting with our Oracle 8i instance. One of the developers suggestion is to use the Sun Java/SOAP Toolkit to make the WS stub code on UNIX and write java classes on the UNIX box to talk to more Java Classes in Oracle (using RMI), which in turn then pass data to Oracle PL/SQL packages which do the main bulk of the work (and the same of course happens in reverse). Our webservices will be called very often however (maybe about 1 call every 10 secs) at the moment possibly increasing to several calls per second in busy periods.
However i have heard that RMI really does not scale well at all (in fact another group of people I've talked to in our organisation advise us not to use it, and claim Oracle advise the same).
My suggestion was to handle it all in PL/SQL and use the utl_tcp package to handle the http traffic (with the possibility of migrating to Oracle 9i + utl_http). (along the same lines as http://otn.oracle.com/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html)
Any suggestions on this would be most appreciated.
Thanks.

In general I would concur with your thoughts on RMI. For some doc backup check out two pieces:
http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96656/invokeap.htm#1011867
and then also the de-support of J2EE characteristics in general:
http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96656/intro.htm#1006743
The basic focus of the Java engine is on J2SE applications.
To answer the SOAP approach, the development effort is primarily focussing on using the SOAP Java stack and loading it into the database as per this paper and example:
Paper: http://otn.oracle.com/tech/webservices/htdocs/dbwebservices/Database_Web_Services.pdf
Example:
http://otn.oracle.com/sample_code/tech/java/jsp/samples/wsclient/Abstract.html
This gives the same result as the PL/SQL example you point to but on a service by service approach a fairly simplified development approach. This should work in 8i as well (use these instructions to set up the stack: http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.htl)
That said, the PL/SQL approach should also work (though like you say it needs to be tailored to 8i's PL/SQL capabilities) but you don't get much help from the product beyond UTL_HTTP whereas the Java approach gives a pre-built infrastructure that can also be upgraded as we move to JAX-RPC, the emerging standardized Java approach to implementing Web services.
Mike.

Similar Messages

  • RMI or Web Service to implement  P2P ????

    Hi mates
    Actually I'm going to develop an P2P information sharing system and I'm confused whether I use RMI or Web Service to implement this system.
    I'll relay on XML document to be sent among peers .
    could you help me please to select on of those two methods : RMI or Web Service .
    for Web Service : Do I have to install Tomcat server in each peer ?
    Thanks a lot .
    Yasseen

    yasseen wrote:
    Are you sure ?
    I get myself ready to use Web service to implement my system but you shocked me !Yes, I'm sure. (see Wiki [*Peer-to-peer*|http://en.wikipedia.org/wiki/Peer-to-peer])
    Web services uses [*SOAP*|http://en.wikipedia.org/wiki/SOAP].
    Regards,
    Joe

  • Socket, rmi or web services

    Hi,
    I am gunna use an applet to create a multi user online game. The game will be turn based (board game).
    To create a connection between two clients (through a server) can anyone advise whether to use sockets, rmi or web services?
    Thanks.

    use the one you know best.
    if you don't know any of them, it doesn't much matter. what are the advantages of each?
    (1) sockets appear simple, but you have to do all the work. lowest level of all. can't go through a firewall.
    (2) RMI will feel more like dealing with objects. you just call methods on objects; you don't have to know that it's a proxy. you don't need an app server for RMI. it'll be harder to go through firewalls unless you know how to do HTTP tunnelling and RMI over IIOP.
    (3) Web services are XML and HTTP based. You can go through firewalls to connect to the server without a problem. Complex if you don't know Web services.
    %

  • J2EE and Web Services

    Hi forummates,
    In the traditional architecture, the communication between EJB is RMI/IIOP. Web Services can be looked as a communication between classes on SOAP/HTTP.
    How should we use Web Services in J2EE in the maximum effeciency? Is there any good example of using Web Services in J2EE (1.4 is a must?) ? Please advise.
    Lawrence.

    Hi Lawrence,
    I would look at the J2EE blueprints on web services to get started. You may also want to take a look at the J2EE tutorial and web services tutorial. Links below:
    http://java.sun.com/blueprints/guidelines/designing_webservices/
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    http://java.sun.com/webservices/docs/ea1/tutorial/

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • Can't run wiki and web services at the same time?

    I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months.  I'm up to Server 10.7.4.
    I've been trying ever since the first installation of Server to get the wiki service running.  I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app).  With the web service off, it all starts up fine and I created my first wiki (woohoo).  Turning web service back on kills access to the wiki.  I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
    Are the Wiki and Web services mutually exclusive?  Or is there a way around this?
    I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service.  Traffic comes in on port 8080, where my web sites are on port 80.
    Thanks for any pointers...
    edbok

    LR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL.  You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.

  • Message Monitoring and Web services Sequences  .. SOAMANAGER

    When can I use Mesage Monitoring and Sequence Monitoring .
    We are making a proof a concept and we are the following.
    1. A program which executes a proxy and with this proxy we are consuming a web services.
    2. The proxy and web services were implemented in the same Abap Machine .
    3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
    Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
    We don´t have any XI installation and for that we wonder if we can monitorize the  webservices  sequences ?
    Any idea about if we can realize such king of actions ..
    Many Thanks

    Hi
    I assumes u have dual stack.
    You can do the sequence monitoring with or without PI. But without PI you would achieve that thing on the local machine.
    You have to do those things at Java End using SAP NWA.
    Please see this link
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/b00c2a99930764e10000000a1553f6/content.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/9cb2b57ded371ae10000000a11466f/content.htm

  • SSL certificates and Web Services Usage inside Oracle Database Questions!

    We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
    Service1 is already working, and we can call the service from PL/SQL without troubles.
    However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
    Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
         - SSL Certificates:
    1- Can installed certificates in the Database put in risk the stability of the database?
              2- Can installed certificates in the Database generate performance issues?
              3- Can installed certificates reloading the Databases?
              2- Can installed certificates in the Database generate security issues?
         - Web services:
    1- Can web services calling from the Database put in risk the stability of the database?
    2- Can web services calling from the Database generate performance issues?
    3- Can web services calling from the Database generate security issues in the DMZ?
    Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
    Those are the links describing the procedure mentioned above.
    1 -http://www.kotti.es/2009/11/oracle-wallet/
    DB: Oracle 9i.
    Average number of lines in file: 300
    Periodicity: Twice at day.

    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

  • Custom Portal Services and Web services

    Can you please tell me what exactly are "custom portal services" and "web services" with a business like/ real life example?
    How do you go about developing deploying and utilizing these services in Portal?
    Thanks.

    Hi navin,
    Thanks for the par file.
    Duly awarded points.
    I need your help again.
    I wish to use the method
    public String getWelcomeString(String name)
    in my own portal application to test usage of portal services.
    So I uploaded your par file on my server.
    Then I added the api and core jar files which came along with your par in my project as external jar files.
    I imported com.wickes.WickesService.*;
    Next, to use the service I coded:
    IPortalRuntimeResources rs =
    PortalRuntime.getRuntimeResources();
         IWickesService ws = (IWickesService) rs.getService(IWickesService.KEY);
    But now I am stuck and I dont know how to proceed.
    Please help.

  • Enterprise services and Web services

    Hi Everyone
         I need documents about Invoking enterprise services from Netweaver PI and web services from Netweaver PI, I can find only NetWeaver CE, but not PI. So help, any links?? or pdfs?? or ideal would be some demo example of invoking a web service using PI.
    Thank you
        Vijay

    Hi,
    Since you would need to wet your hands by playing with webservice and PI. Please consider the following links.
    SOAP scenario
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
    Regards
    joel
    Edited by: joel trinidade on Mar 25, 2009 10:41 AM
    Edited by: joel trinidade on Mar 25, 2009 10:43 AM

  • GTC Connector using SPML Format Provider and Web Services Transport Provide

    Hello All,
    Did any body create a GTC connector which uses SPML Format for Format Provider and Web Services format for Transport Provider?
    Is there any doc which talks about the same?
    I need to provision to a system over web services and I thought GTC using the above formats should be an easy approach. Am I right?
    I was trying to follow:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/devgtc.htm#BABDFDFE
    But Iam getting lost in the immerse details.
    Thanks in advance.

    Hi ,
    I tried creating one and am getting the following error while provisioning:
    SPML Response failed V2 schema validation
    Th eoracle document says :Ensure that the SPML response returned by the target system conforms to the SPML V2 standard specification
    Please help me with the same. What is it that needs to be done here.
    Thanks
    WIP

  • Error during EAR deployment with EJB and web service

    I created a simple stateless EJB with one method called echo that returns a string.  I created a web service using the wizard, did a build and deployed.  The deployment did not report an error, but the logs in the visual administrator showed the follwoing message, and the web service did NOT deploy.
    Am I missing something related to EJB and web service security?
    PLEASE HELP ME.
    >>> Warning: delete security configuration [apps/com.areva/ear/ejb/security/com.areva~ejb.jar]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.ejb.EJBAdmin.remove(EJBAdmin.java:2538)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:321)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3028)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:820)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

    I have the same message. I am running sp11.
    Does anyone have an answer for this?????
    >>> Warning: delete security configuration [apps/avalero.com/rtfa-ear/contextRoot]
    [EXCEPTION]
    java.lang.Exception
         at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.removeSecurityResources(WebContainerHelper.java:905)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.remove(WebContainerHelper.java:447)
         at com.sap.engine.services.servlets_jsp.server.container.RemoveAction.remove(RemoveAction.java:50)
         at com.sap.engine.services.servlets_jsp.server.container.WebContainer.remove(WebContainer.java:150)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
         at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:821)
         at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:255)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
         at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
         at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
         at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

  • Messages Monitoring and Web Services Sequences .... SOAMANAGER

    When can I use Mesage Monitoring and Sequence Monitoring .
    We are making a proof a concept and we are the following.
    1. A program which executes a proxy and with this proxy we are consuming a web services.
    2. The proxy and web services were implemented in the same Abap Machine .
    3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
    Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
    We don´t have any XI installation and for that we wonder if we can monitorize the  webservices  sequences ?
    Any idea about if we can realize such king of actions ..
    Many Thanks

    hi,
    short answer: you can't. to my knowledge there is no such thing as message/sequence monitoring outside of PI/XI.
    the only thing you can do is to enable debugging and access some debugging info from ST22. other than that you do not have access to the original (XML) message, the HTTP headers or the ST(simple transformation) info or anything else.
    regards,
    anton

  • Struts and web services

    If you want to use Struts and web services, what approach do you take? If you want to use reliable messaging,
    you need to have a web service client as well as the web service being called.
    What is the recommended way to set this up?
    Do you call a local web service from the action class and then have that web service do all of the business logic including calling remote web services?
    I am just starting to look at this so I am probably not close but I would like some guidance on what, in general, is the correct approach.

    The jars you are referring to are not SAP BusinessObject specifics jars: struts and JiBX. There are open source java framework. For more information about the struts refer to:
    http://en.wikipedia.org/wiki/Apache_Struts
    for more information about jibx refer to:
    http://en.wikipedia.org/wiki/JiBX
    Normally the core jars for a SAP BusinessObjects webservice SDK are:
    The core jar files to use for Web Services Java SDK  applications are:
    dsws-bicatalog.jar
    dsws-biplatform.jar
    dsws-common.jar
    dsws-publish.jar
    dsws-queryservice.jar
    dsws-reportengine.jar
    dsws-saveservice.jar
    dsws-session.jar
    wilog.jar
    And the jars you have mentioned are part of the
    The dependent jar files to use for Web Services Java SDK  applications are:
    activation-1.1.jar
    axiom-api-1.2.5.jar
    axiom-impl-1.2.5.jar
    axis2-kernel-1.3.jar
    axis2-saaj-1.3.jar
    axis2-xmlbeans-1.3.jar
    backport-util-concurrent-2.2.jar
    commons-codec-1.3.jar
    commons-httpclient-3.0.1.jar
    commons-logging-1.1.jar
    log4j-1.2.14.jar
    mail.jar
    stax-api-1.0.1.jar
    struts.jar
    wsdl4j-1.6.2.jar
    wstx-asl-3.2.1.jar
    xbean-2.2.0.jar
    XmlSchema-1.3.2.jar
    In any cases it is recommended not to have duplicated jars in your deployment and also check if the version of the jars to use is supported by the version of the JDK used.
    Thanks

  • Apex and web services

    Hello everyone,
    I've started looking into SOAP and web services, and have used Tyler Muth's tutorial to email and FTP BI publisher reports using APEX.
    I was wondering if it is possible to create an on-screen report (i.e. an interactive report) using a web service?
    I've managed to return values to form fields using web services...I was always under the impression, from before I looked at web services, that creating an on-screen report using data from a web service was one of the main things you could do....
    Please could someone let me know if this is possible, and roughly how you'd go about doing it?
    Thank you in advance.
    Robin

    Hi Robin,
    I think I have implemented the same thing which you are trying to do
    The followinf is the response of a web service from BI Publisher. You can check the response using the statement
    select clob001 from wwv_flow_collections where where collection_name = <name_of_the_collection_u_specified_while_sending_the web_service_request>
    <getScheduledReportInfoResponse xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:JobInfo" xmlns:ns1="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <ns1:burstingOption>false</ns1:burstingOption>
    <ns1:createdDate>2009-11-23T06:03:10.000Z</ns1:createdDate>
    <ns1:deliveryDescription xsi:nil="true"/>
    <ns1:deliveryParameters xsi:nil="true"/>
    <ns1:endDate xsi:nil="true"/>
    <ns1:jobGroup>administrator</ns1:jobGroup>
    <ns1:jobID>366</ns1:jobID>
    <ns1:jobName>603219960-ADMIN-Smaller result set</ns1:jobName>
    <ns1:locale>en_GB</ns1:locale>
    <ns1:reportName>Adhoc report</ns1:reportName>
    <ns1:reportParameters xsi:type="ns1:ParamNameValue">
    <ns1:multiValuesAllowed>false</ns1:multiValuesAllowed>
    <ns1:name>SORT_COLUMN_ADHOC</ns1:name>
    <ns1:values>
    <ns1:item>09-NOV-2009 07:02:00|11-NOV-2009 07:02:00|2077927020;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns1:item>
    </ns1:values>
    </ns1:reportParameters>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportParameters xsi:nil="true"/>
    <ns1:reportSet>false</ns1:reportSet>
    <ns1:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns1:reportURL>
    <ns1:runType>Run Once Only</ns1:runType>
    <ns1:scheduleDescription xsi:nil="true"/>
    <ns1:scheduleParameters xsi:nil="true"/>
    <ns1:startDate>2009-11-23T06:03:10.000Z</ns1:startDate>
    <ns1:status>Unknown</ns1:status>
    <ns1:username>administrator</ns1:username>
    </getScheduledReportInfoReturn>
    <getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:JobInfo" xmlns:ns2="http://xmlns.oracle.com/oxp/service/PublicReportService">
    <ns2:burstingOption>false</ns2:burstingOption>
    <ns2:createdDate>2009-11-20T13:00:44.000Z</ns2:createdDate>
    <ns2:deliveryDescription xsi:nil="true"/>
    <ns2:deliveryParameters xsi:nil="true"/>
    <ns2:endDate xsi:nil="true"/>
    <ns2:jobGroup>administrator</ns2:jobGroup>
    <ns2:jobID>365</ns2:jobID>
    <ns2:jobName>603219960-ADMIN-test again</ns2:jobName>
    <ns2:locale>en_GB</ns2:locale>
    <ns2:reportName>Adhoc report</ns2:reportName>
    <ns2:reportParameters xsi:type="ns2:ParamNameValue">
    <ns2:multiValuesAllowed>false</ns2:multiValuesAllowed>
    <ns2:name>SORT_COLUMN_ADHOC</ns2:name>
    <ns2:values>
    <ns2:item>20-SEP-2009 13:55:00|20-NOV-2009 13:55:00|01*;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns2:item>
    </ns2:values>
    </ns2:reportParameters>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportParameters xsi:nil="true"/>
    <ns2:reportSet>false</ns2:reportSet>
    <ns2:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns2:reportURL>
    <ns2:runType>Run Once Only</ns2:runType>
    <ns2:scheduleDescription xsi:nil="true"/>
    <ns2:scheduleParameters xsi:nil="true"/>
    <ns2:startDate>2009-11-20T13:00:44.000Z</ns2:startDate>
    <ns2:status>Unknown</ns2:status>
    <ns2:username>administrator</ns2:username>
    </getScheduledReportInfoReturn>
    </getScheduledReportInfoResponse>
    I use the following query to show a report in top of this response
    select extractValue(value(t),'/*/burstingOption','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "burstingOption"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/createdDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "createdDate"
    , extractValue(value(t),'/*/deliveryDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "deliveryDescription"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "endDate"
    ,replace(replace(substr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,1,(instr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'.')-1)),'T',' '),':','-') "endDate1"
    , extractValue(value(t),'/*/jobGroup','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobGroup"
    , to_number(extractValue(value(t),'/*/jobID','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')) "jobID"
    , extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobName"
    , substr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,(instr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'-')+1)) "jobName1"
    , extractValue(value(t),'/*/locale','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "locale"
    , extractValue(value(t),'/*/reportName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportName"
    , extractValue(value(t),'/*/reportSet','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportSet"
    , extractValue(value(t),'/*/reportURL','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportURL"
    , extractValue(value(t),'/*/runType','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "runType"
    , extractValue(value(t),'/*/scheduleDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleDescription"
    , extractValue(value(t),'/*/scheduleParameters','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleParameters"
    , replace(trim(trailing 'Z' from extractValue(value(t),'/*/startDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "startDate"
    , extractValue(value(t),'/*/status','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "status"
    , extractValue(value(t),'/*/username','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "username"
    from wwv_flow_collections c, table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getScheduledReportInfoResponse/getScheduledReportInfoReturn','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"'))) t
    where c.collection_name = 'SCHEDULED_JOB_REPORT'
    Regards,
    Vishal

Maybe you are looking for

  • Is there any way to bypass MacBook Pro passwords?

    Hi everyone! I have the newest model MacBook pro and me and my moms side of the family are currently fighting and my stepdad decided to take my MacBook pro from me (which I worked all summer for to buy) and threatened me that if I don't give them the

  • How to access a variable from one program to another (independent)

    Hi, My requirement is to use a variable(value) from one program(prog1) to another (prog2). how is it possible. Regards Arani Bhaskar

  • Java.lang.ClassCastException while creating array descriptor

    ( This post was moved from SQL / PLSQL forum to here ) Hi everyone, i used to pass string array from java to plsql. I wrote a java source, then i load db with loadjava. And i wrote java spec. Then i run the function but i am getting this error : java

  • Variable not visible in query designer

    Hello, I have 4 variables created for an InfoObject. But for one of my query written on Infoset, under that InfoObject in query designer it only shows me 2 variables. Any ideas what is causing the other 2 variables not to be visible? Thanks in advanc

  • Exit Apllication problem

    Hey for everybody, i'm rather new, and it's my first topic over here. I was trying to find a solution for my problem, which is in simple thing: Using NetBeans, I created a single Desktop Application, and there i need to change the command on the [x]