9ias and webservices

I've designed a webservices out of a simple java class using JDeveloper 9.0.3. This webservices connects to a Oracle Database, reads some data as a XMLQuery and returns the data as XML-String. Deploying that Webservices on a standalone OC4J-Instance was no problem, the webservices runs without problems and the HTML-Frontend to test the webservice is accessible.
Now I have deployed to a 9iAS Release 2 and have two
Problems:
- Calling a simple webservice is ok, but if I try to launch the HTML-Frontend of a webservice I get the message "Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me." WHAT TO DO?
- How to use XMLQuery within 9iAS? What to Install? How to configure it? In Oc4j standalone i had nothing to configure!

Could you elaborate on what you mean by "XML-Querys" - do you mean the "XML SQL Utility" (xsu12.jar) that is part of the XDK?
If so, probably the problem is that in 9.0.2 it simply isn't on your application classpath. There are a number of approaches to dealing with this ... the lazy man's way, if all you are trying to do is get the app running, is put xsu12.jar in the <j2ee_home>\lib directory and that library will be globally available.
A more correct and detailed discussion on how classes are loaded in OC4J and alternatives for how to handle adding external libraries can be found at:
http://otn.oracle.com/oramag/oracle/02-sep/o52oc4j.html
Mike.

Similar Messages

  • How can i add a new viewer to 9iAS and push client to run it ?

    Dear All,
    I hosted a page on Oracle9iAS which has links to documents of different types of desktop applications, for example: MS word, Excel, AutoCad ......
    And i've a mutiformat viewer which i need to install it on Oracle9iAS to be run when a client tries to access any of the listed documents. So, how can i install this viewer to Oracle 9iAS and push client to run it ?

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

  • How to install mod_perl in 9iAS and run perl ?

    i am running 9iAS on winnt 4 , i want to install perl module in 9iAS and run oraperl / perl ? any ideas?
    null

    You may want to take a look at WebMin - besides an all-round great way to manage a server, it provides in depth tinkering w/Apache, albeit not so much for the faint-of-heart at times. You'll have loads of control over Apache, but deciding how to wield it can be intimidating until you've gotten settled in.
    In any case, the things that are made easier far outweigh any learning curve on the few that demand more.

  • Making a call over HTTPS with LoadVars, XML.load(), and WebService - Yes or No?

    Hello, do LoadVars, XML.load(), or WebService support HTTPS-based endpoints, Yes or No?
    BACKGROUND
    ============
    I've been trying to get a LoadVars to actually make a call to an HTTPS endpoint. There is nothing in the documentation that says it can't. I know that there's also XML.load() and WebService class, but from the looks of it they don't do HTTPS.
    During my tests I have absolutely no issues with making calls to the same service over HTTP. When I change it to HTTPS I don't see HTTPStatus or even failures. Also, netstat on my server will show a connection being established with the endpoint when using HTTP but not when using HTTPS. I've also tried setting SSLVerifyCertificate to "false" in my Server.xml and after a restart of AMS it doesn't help, same symptom.
    I've also googled and looked through all Adobe forum posts that I can find:
    https://forums.adobe.com/message/4938426#4938426
    https://forums.adobe.com/thread/1661461
    https://forums.adobe.com/thread/782037
    https://forums.adobe.com/message/74981
    https://forums.adobe.com/message/5107735#5107735
    https://forums.adobe.com/message/7815#7815
    https://forums.adobe.com/message/53870#53870
    https://forums.adobe.com/message/87797#87797
    WebService Class - http://stackoverflow.com/questions/5619776/webservice-and-fms
    The best I found from the posts above is a non-commital answer from adobe staff at https://forums.adobe.com/message/4938426#4938426 and a 3rd party person saying that Webservice doesn't work at http://stackoverflow.com/questions/5619776/webservice-and-fms.
    All I need is an official supported/not-supported from the Adobe staff. Shouldn't be to hard after 5 years or so of ignoring the questions in the forum right?

    Adobe, please provide some details to your current and possibly potential customers, in at least one of the many unanswered posts about making HTTPS requests from AMS.
    P.S.
    realeyes_jun,
    RealEyes Media has been an inspiration to me for many years, and I would like to thank them for their efforts to better the media streaming community.
    Also, would it be possible to please release the source to REDbug?

  • BPM and Webservices

    I'm new in using of BPM and Webservices
    Netweaver version  is  CE 7.2 SPS03
    I use Web dynpro to write a ap to trigger web service for start BPM process.  
    It took about 40 sec for waiting response when i trigger the synchronous web service.
    And i get a exception  "DEFAULT_WS_METADATA_DEST. The server response timed out"
    But  i check my process status, it is running ok.
    When I tested for asynchronous web service ,I get quick response for it
    Does this version only support asynchronous web service?
    Do I need another configuration to use synchronous web service?

    Hi
    For process start you need a asynchronus web service (no output / response).
    Also, you can use a synchronus one if you are aware of this: If you use a synchron web service, you have to model a parallel split at the beginning of the process and finishing one of both tokens directly. This way, a response is generated when the first token hits the end event and the rest of the process is handled asynchronus.

  • BPM 11g: JAVA API and Webservice API

    Who knows BPM 11g: JAVA API and Webservice API?
    Customer want to call BPM 11g between Heterogeneous systems, such .net framework. One way is use webservice API, I think, but where can find it? thank you

    When you create a BPM application in 11g, you're actually creating a SOA composite application with a BPMN component in the composite. From within the BPMN editor, you can specify the interface (parameters) of each start node in the process. If you select a start node, look at the implementation tab, you'll see a properties group that lets you define the interface one property at a time, or by selecting an interface from the catalog.
    By defining these properties you're also defining the shape of the Web Service interface that will automatically be created in the composite. If you switch to the composite view, you'll see your BPMN process with a wire to it from a Web Service that's generated from the interface defined in the BPMN editor. The naming convention is the BPMN process name with ".service" appended. When you deploy the BPMN process, the web service will also be deployed, since it's also part of the composite. From Enterprise Manager (EM) you can test the service and get the WSDL, which could be used by other applications (e.g. .NET) to start and interact with a process instance.
    This is one of the advantages of the 11g architecture. The composite exposes services to consumers/clients. The implementation could have been BPEL, BPMN, a Mediator, Java/EJBs, or any combination working together. To the consumer, it's just a web service.
    In case your next question was about security ... you won't see properties about security in the BPMN editor. You use Web Service Manager to apply security or other constraints to the web service endpoint.

  • 9IAS and Java 1.4.2_06

    Hi all,
    I have installed 9IAS and Java 1.4.2 on Solaris 8, as per Oracle's own documentation I have changed the JDK to point to my Java installation in /usr/j2se in order for out Java based application to work, however the EM process will now not start it time's out and aborts. This means I am unable to access the website I just recive an Internal Server error.
    Any ideas on how to get Oracle to use the new Java?
    Thanks.

    Hi,
    I had this same issue when upgrading from 9.0.4 to 10.1.2.2. Someone else in the forum had a solution. You could probably search for it. However, here are the details:
    The fillowing are the notes from Oracle:
    Applies to:
    Oracle Discoverer - Version: 10.1.2.2 to 10.1.2.3 This problem can occur on any platform.
    Symptoms
    The user interaction performance using Discoverer Plus 10g (10.1.2) when configured with Sun java plug-in (JRE/JVM) 1.6.0_03 or higher.
    Every action in Discoverer takes longer. For example:
    displaying the Create/Open Workbook wizard
    displaying the Help > About window.
    The problem does not exist with JInitiator or with Sun plugin 1.4 or 1.5 and earlier versions of 1.6
    JRE 1.6.0 - works correctly, runs with 1.5.0-like speed JRE 1.6.0_01 - works correctly JRE 1.6.0_02 - works correctly JRE 1.6.0_03 - here the problem is observed for the first time. The issue is then observed in all subsequent versions (e.g., _04, _05, _06, _07 and the new_10)
    The problem does not exist when an entry for the Discoverer server exists in the local hosts file on the client PC (C:\WINDOWS\system32\drivers\etc\hosts).
    Cause
    Sun's Java plug-in performs reverse DNS lookups when connecting to the Application Server. This can be observed with a network sniffer trace (Wire Shark).
    There is a change in the DNS handling in Sun plug-in 1.6.0_03 and higher.
    This issue may be more prevalent if you are accessing Discoverer Plus via a firewall, proxy server
    Solution
    To implement the solution, please execute the following steps:
    Ensure the external facing IP address of the Discoverer server has a reverse DNS entry in the DNS server.
    For example:
    nslookup <IP address> must resolve to the <machinename.domainname>
    and
    nslookup <machinename.domainname> must resolve to <IP address>
    An alternative or temporary solution would be to add an entry to the local PC host file as described above.
    Hope this helps,
    Nancy

  • 9iAS and 9iDS Forms

    Hi,
    I've install Oracle 9iAS and 9iDS on one pc, both as default, just different home.
    I've made simple Form, but I can't run it.
    Browser show me next message : "The page cannot be displayed"
    1. What I have to run and configure?
    2. Is it good idea to use 9iAS and 9iDS on one pc?
    Thank you

    To start off, just work with iDS - so to run your form in that case you need to manually start OC4J - use the option in the Start menu for this -
    Oracle 9i Developer Suite -> Forms Developer -> Start OC4J Instance
    By default, that OC4J will be listening on port 8888,
    so your url would be something like:
    HTTP://<yourmachine>:8888/forms90/f90servlet?form=myform

  • Oracle 9iAS and OWB 9i dependency

    Is Oracle 9iAS installation necessary for OWB 9i installation?. I dont want to install Oracle Portal, which is installed as part of 9iAS, and if that restricts OWB Browser then that is fine. Oracle Portal is needed for Oracle Workflow, and Oracle Workflow is key to OWB Browser, at least thats what the OWB Installation Guide says, and on contrary it lists Oracle Workflow as an optional component, but OWB Browser as necessary.
    If 9iAS is must for OWB to work then can I just install few components of 9iAS and get going with OWB or I have to install the whole 9iAS suite for OWB?
    OS is Windows 2K Advanced Server, Database 9iR2, OWB 9i.
    Thanks,
    Steve

    Please see my answer in the thread:
    Re: sql error (ORA-01722: invalid number)
    Regards
    Pavna Jain
    Oracle9iAS Product Management

  • SLD conf for JDBC and webservice

    Hi,
    I am coonecting to source and target via webservice or JDBC.Do we need any configuration in SLD for systems.Driver and webservice has all details to connect to source and target system.Please confirm me if I am wrong.

    When you have complete tech details of the system, you can create a Business System for the same and import it into your ID.
    In short, a Business System represents a physical system.
    When you don't have complete info for the system, you can create a business service in your ID.It represnts an abstract service that makes connection to the source/target system.
    The choice depends on our own.

  • Unable to add XML and Webservices Datasource in Crystal Reports

    Hi,
        when I am trying to add a Web service datasource upon clicking the XML and Webservices Datasource in Database Manager I get the following error.
    Invalid Arguments Provided.
    Details: Java server startup failure. Verify PATH (JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.xml file. In addition, verify that you are using JDK 1.5.
    I am using Windows server 2003 OS. Java is version 1.6. I tried the below things but none of them worked.
    1.Edit the crconfig.xml file to add classpath and license information
    2.reverted to java 1.5
    3.uninstalled and installed the CR 2008 software. None of these worked. Please help.

    Thanks Don but my issue is not proxy related.
                        I am not using a proxy though I am using a VPN to be in the network of the Webservice hosting server. Also, my problem is that I am not able to even enlarge the XML and Webservices Data source to add any xml or web service file let alone the one I want to.
    Edited by: iamkhader on May 10, 2010 7:26 AM

  • EAI and Webservices

    Which is the intersection point between EAI and Webservices?
    Regards.

    Hi Harmeet,
    I hope its because ODI is an E-LT and OWB is ETL tools. As i said in the previous post E-LT approach needs less servers and provides good speed.
    Thanks,
    Guru

  • Starting scripts for 9iAS and Storage tiers.

    Can someone point me to where are or how to start up 9iAS and Storage layers. I have both installed and ready to install Col Suite and wanted to have the other tiers up and running.
    Env: Red Hat 7.3
    512MB
    Thanks.

    Michael,
    in the proc directory you can do cat sem.
    Your output should be 250 32000 32 128
    Reset the values by doing echo 250 32000 100 128 >sem
    I also changed shmmax to totalram/2.
    echo 268435456 >shmmax
    I think this values will be lost after you restart your system.
    Need to find a place to have them perm.
    I have not installed the last component. Need to find out how to startup infra and midtier. Documentation does not seem to have that.
    Roman

  • Can i install 9ias and infrastructure on a dektop which is not in network

    hi
    my question is can i install both oracle 9ias and 9i database on a single desktop machine which is not in network, if YES , Please let me know how to do it?
    thankx

    William,
    It is not possible to install BusinessObjects Enterprise XI Release 2 alongside of Crystal Enterprise 10.  You will have to upgrade the servers in place.  Although speaking through my experience this process is fairly seemless and hardly ever has issue.  If you are looking to do side by side installs and saving costs for your customer base I would recommend looking at using a virtualization product like VMware Server or Workstation as a temporary bridge to get both products installed side by side.  Also one other thing you mentioned you are a progress shop, but you should know that the CMS repository database that runs the application can not be hosted on progress.  MySQL, SQL Server, Oracle, UDB DB2 and Sybase your only options for the CMS.  For reporting you can use a wider range of products.

Maybe you are looking for

  • What happens to FPGA code when a module it expects is missing?

    Hi Folks, I want to know what happens if you have FPGA code that expects a module to be present running on a system where the module is missing. We have a RT control system that runs on a cRIO 9014 with a 9111 backplane. There are only two modules in

  • Java swing dynamic forms (in a loop)

    Hi All, Is it possible to dynamically create forms using java swing? What I mean to ask is that if I have the necessary information in a table, like the label and a corresponding text field, I can loop through and create the required number of fields

  • Ampersand in XML causes error. Is there a workaround?

    I've discovered that an ampersand (&) anywhere in XML data (any content between the opening and closing tags) causes an error when the XML is imported. Does anyone know of a workaround for this? Some of my text needs to include ampersands.

  • Linking and then sending linked PDFs to other people

    I have a PDF with 50 references at the end, I want to link the references to separate reference files, zip the files and be able to send everything to people. At the moment, if I send the files to people the linking doesn't work as the actual referen

  • SQL Server Communication Issues

    I have a VMWare machine running MS SQL Server 2008 STD and for some reason it keep dropping communications to my shop floor application every night at 12:07 AM. This outage lasts 4 to 5 seconds and everything returns to normal. Other than that, it ru