Consume webservice from oracle database 10g

Hi,
I have installed jpublisher 10.2, Webservice Callout utility 10.1.3.1. My database version is 10.2.0.1.0. Jdk is 1.4. My classpath in jpub is as follows. TMPCLASSPATH=$ORACLE_HOME/jdk14/lib/dt.jar:$ORACLE_HOME/jdk14/lib/tools.jar:$ORACLE_HOME/jlib/javax-ssl-1_2.jar:$ORACLE_HOME/jlib/jssl-1_2.jar:$ORACLE_HOME/jdbc/lib/classes12_g.jar:$ORACLE_HOME/sqlj/lib/runtime12.jar:$ORACLE_HOME/jdbc/lib/nls_charset12.jar:$ORACLE_HOME/sqlj/lib/translator.jar:$ORACLE_HOME/javavm/lib/aurora.zip:$ORACLE_HOME/sqlj/lib/dbwsa.jar:$ORACLE_HOME/rdbms/jlib/xdb.jar:$ORACLE_HOME/lib/xsu12.jar:$ORACLE_HOME/rdbms/jlib/jndi.jar:$ORACLE_HOME/rdbms/jlib/aqapi.jar:$ORACLE_HOME/rdbms/jlib/jmscommon.jar:$ORACLE_HOME/lib/xmlparserv2.jar:$CLASSPATH
the loadjava script is using classes12.jar. I published a wsdl using jpub. It went fine. When i tried to run select JPUB_PLSQL_WRAPPER.GETWEATHERBYzipcode('abc') from dual it's throwing exception ORA-29541: class schema.genproxy/WeatherForecastSoapClientJpub could not be resolved. By the way I used the following usdl. http://www.webservicex.net/WeatherForecast.asmx?WSDL. I appreciate any help in this matter.
Thank you

Please refer to this document for a step by step guide:
http://www.oracleflash.com/34/Upgrade-Oracle-10g-Release-2-to-Oracle-11g-Release-2.html

Similar Messages

  • Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production

    Can anyone tell me why my Database is not starting, I have been getting this error for quite some time now
    Total System Global Area 532676608 bytes
    Fixed Size          1249992 bytes
    Variable Size          167775544 bytes
    Database Buffers     360710144 bytes
    Redo Buffers          2940928 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Release 10.2.0.1.0 - Production
    Thank you in advance

    Your Database has started. It only disconnected the session that started the database. For instance, if you are using a startuo script or dbstart.
    Why do you think it is not started?

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

  • Send mail from oracle database 10g

    Hi ,
    I need to send a test mail from oracle database 10g to my gmail account through a stored procedure .
    I will pass the list of recipents , subject and text of the mail through parameters .
    Can anyone give me the code of the storerd procedure please ,
    Thank you .

    hi, for example
    DECLARE
    mail_conn UTL_SMTP.connection;
    smtp_relay VARCHAR2(32) := '172.16.x.x';
    recipient_address VARCHAR2(64) := '[email protected]';
    sender_address VARCHAR2(64) := '[email protected]';
    mail_port NUMBER := 25;
    msg VARCHAR2(200);
    BEGIN
    mail_conn := UTL_SMTP.open_connection(smtp_relay,mail_port);
    UTL_SMTP.HELO(mail_conn, smtp_relay);
    UTL_SMTP.MAIL(mail_conn, sender_address);
    UTL_SMTP.RCPT(mail_conn, recipient_address);
    UTL_SMTP.DATA(mail_conn, 'Payment request iniated');
    UTL_SMTP.QUIT(mail_conn);
    end;

  • Database upgradation steps from Oracle Database 10g EE to 11g R2

    If any document/Steps available for the upgradation of database from Oracle Database 10g EE to 11g R2 please provide us.
    Thank you.

    Please refer to this document for a step by step guide:
    http://www.oracleflash.com/34/Upgrade-Oracle-10g-Release-2-to-Oracle-11g-Release-2.html

  • How to upgrade from oracle database 10g 10.1.0.3 to 10.1.0.5 or 10.2.0.4

    I have a oracle database 10g version 10.1.0.3 on solaris 10 x86. I can't find the recent patches suitable to my database.
    How can I upgrade it to 10.1.0.5 or higher (10.2.0.4)?
    Thanks.

    take a looks at this metalink doc for all upgrade needs...
    sub: Complete checklist for manual upgrades of Oracle databases from anyversion to any version on any platform (documents only from 7.3.x>>8.0.x>>8.1.x>>9.0.x>>9.2.x>>10.1.x>>10.2.x>>11.1.x)
    Doc ID:      421191.1

  • Data Transfer from Oracle database 10g to Oracle database 9i

    Hi Experts,
    We need to insert records at the speed of min 10,000 records per sec in the following condition.
    Source : Oracle 10 g and Oracle 9i
    We need to select the data from Oracle 10g and insert into Oracle 9i database.
    Here we not allowing to create database link and also not allowing to create view or materialized view
    because this two database is not on same network.
    So we developing the small java application on intermediate server where we write process to get the connection of this two database servers.
    From java application we call the procedure for selecting data from Oracle 10g and insert into oracle 9i database.
    What is the best way to achieve?
    Or You also suggest any other way to achieve
    ( As per this scenario materialized view is working ? )

    Thanks freiser,
    But it create another problem as per my business logic, There will be two database server , one is online server where online user fill the form which is generated by java, spring , hibernate and using database 10 g.
    at day end i need to execute a process that transferring data from online server to offline server that is in oracle database 9i. This process is scheduled. Some security reason client do not kept this two database on same network.
    My challenge is that transfer data from online server to offline server with applying client security norms.
    I have option like
    1) Using Oracle replication method, creating materialized view on remote server , refreshing it at regular interval. but database connectivity is not contineous, should i go for that ?
    2) Write java application on intermediate server where we write process to get the connection of this two database servers. From java application we call the procedure for selecting data from Oracle 10g and insert into oracle 9i database and using flag on both data to identified how many rows are transfered and how many remaining for trasfer.
    Please tell me what is best way to acheive this ?

  • Getting no data when it got changed from Oracle Database 10g to 11G

    Hi All,
    Below decode column is not working in Oracle database 11G but it is working in 10g. Please advise.
    {DECODE('Y',DECODE(cr.segment4,DECODE(cr.segment5,'007','32020','N'),'Y','N')
    ,DECODE(SIGN(DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost ))),-1,DECODE(INSTR(pae.expenditure_type,'Accrual'),0
    ,pae.project_exchange_rate*DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost )),pae.project_exchange_rate*DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost ))*-1),( -1*pae.project_exchange_rate*DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost )) ))
    ,DECODE(dr.segment4,DECODE(dr.segment5,'007','32020','N'),'Y','N'),DECODE(SIGN(DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost ))),1
    ,pae.project_exchange_rate*DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost )),( pae.project_exchange_rate*DECODE(pacd.line_num_reversed,NULL,pae.raw_cost,( -1*pae.raw_cost)) ))) "Amount"
    Regards,

    WRONG FORUM!
    This forum is for sql developer questions only.
    Since this is not a SQL Developer question it should be posted in the SQL and PL/SQL forum
    PL/SQL
    Please mark this question ANSWERED and repost it in the other forum.

  • Upgrading from Oracle 9.1.0.8 to Oracle Database 10g Release 2 (10.2)

    Hello everyone;
       We are in the process of looking into  upgrading from our current Oracle 9.1.0.8 to Oracle Database 10g Release 2 (10.2): Windows
    We would like to download and install the 10.2.0.1 base release (Oracle Software).   When I go on SAP Marketplace
    https://websmp210.sap-ag.de/oracle-download  and goto the (Software Download) section and click on
    Oracle 10.2 Software (32-bit versions) to download  I receive a error  NO DATA AVAILABLE.
    Is there another area to download the Oracle Software? or do I need to purchase a CD from SAP or can I download this base release straight from Oracle? 
    Thanks for your time and have a great day.

    Hello Pellegrino,
    just download it from the SAP container for each product .. for example
    -> Installations and Upgrades - Entry by Application Group -> SAP NetWeaver -> SAP NETWEAVER 7.0 -> Windows Server -> ORACLE
    Regards
    Stefan

  • Problem when connecting locally to Oracle Database 10g from Java code

    Good afternoon,
    I try to connect to my local Oracle 10g from JAVA code. Could somebody tells me what are the 'values' to enter in place of 'value1, value2, value3' in the following:
    final String connectionURLThin = "jdbc:oracle:thin:@value1:value2:value3";
    I tried to put my 'user' and 'pw' credentials I used when connecting with SQL*PLUS:
    value1=my_user_name
    value2=my_pw
    value3=my_schema
    but it doest work. Besides where could have I to put the 'WORKSPACE" name?
    Thanks for any help.
    Claude
    Details:
    ERR MESSAGE----------------------
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:365)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:854)
    at java.sql.DriverManager.getConnection(DriverManager.java:620)
    at java.sql.DriverManager.getConnection(DriverManager.java:200)
    at javaapplication6.ConnectionExample.driverManager(ConnectionExample.java:138)
    at javaapplication6.Main.main(Main.java:36)
    Caused by: java.lang.ClassNotFoundException: oracle.dms.instrument.ExecutionContextForJDBC
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 8 more
    Java Result: 1
    BUILD SUCCESSFUL (total time: 0 seconds)
    ---------------------ERR MESSAGE
    JAVA code------------------it compiles but throw an error when running there -> (*)...
    final String driverClass = "oracle.jdbc.driver.OracleDriver";
    final String connectionURLThin = "jdbc:oracle:thin:@jeffreyh3:1521:CUSTDB";
    final String userID = "scott";
    final String userPassword = "tiger";
    final String queryString = "SELECT" +
    " user " +
    " , TO_CHAR(sysdate, 'DD-MON-YYYY HH24:MI:SS') " +
    "FROM dual";
    public void driverManager() {
    Connection con = null;
    Statement stmt = null;
    ResultSet rset = null;
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection(connectionURLThin, userID, userPassword); // (*) prob here
    stmt = con.createStatement ();
    rset = stmt.executeQuery(queryString);
    rset.close();
    stmt.close();
    } catch (SQLException e) {e.printStackTrace();
    --------------------JAVA JDK 1.6
    My system ------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    Yes, the network connection could not be established. Like the error said.
    What you're asking about is the exact reason, but that could be any number of things and not at all related to code. You could have the wrong host, the wrong port. A firewall could be blocking the outgoing connection, a firewall could be blocking the incoming connection. Etc. etc.

  • Connection issue from sqldeveloper to Oracle Database 10g

    I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 on my machine having platform Windows vista
    Now i have install sqldeveloper but i am not able to connect to oracle databse.
    GETTING AN ERROR Network adapter could not make it connection
    after that i have tried to check listners.ora through tnsping orcl getting following result
    C:\Users\Kailas>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.3.0 - Production on 08-APR-2
    011 00:20:05
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = kailasLa
    pi)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    TNS-12541: TNS:no listener
    Please let me know What should i do i want to start my practice sessions on sqldeveloper
    I am new in Oracle pl/sql development
    Please guide me on this.........................

    SQLDeveloper 3.0 production is supplied with the thin driver 11.2.0.2
    it needs 11.2.0.2 version to use thick which has a few additional features over thin.
    To avoid confusion with other Oracle software you can set the ORACLE_HOME in the session you start sqldeveloper in as described below:
    The version mismatch is often because SQLDeveloper is trying to use the 'thick' driver and 11.2.0.2 thick is not available,
    try
    thin by:
    1/(uncheck Tools->preferences->Datababae->advanced->use OCI/thick driver, and
    2/If necessary, set ORACLE_HOME for your cmd.exe session where sqldev is started from to where sqldeveloper is where %ORACLE_HOME%\jdbc\lib exists, (so SQLDeveloper does not try your existing ORACLE_HOME) and
    3/If using connection type TNS, use Connection Type TNS -> Network Alias.
    4/You may need to set Tools->preferences->Datababase->advanced->Tnsname directory to the directory containing tnsnames.ora
    -Turloch
    SQLDeveloper Team

  • How can i convert data from DBF to oracle database 10g?

    Sir,
    How can i convert data from DBF to oracle database 10g?

    I assume you at least know how to dump the contents of foxpro dbf file into CSV format.
    Regarding SQL*Loader, hope this demo makes it a bit clear to you...
    http://www.princeton.edu/~storacle/sqlloader_demo.shtml
    I agree that it is an old web page (references Oracle 8.0.5) but basics remain the same.
    If it is still unclear to you after referring above link, then get an Oracle consultant.

  • How can I install Oracle Database 10g for Solaries (SPARC) from the console

    Dear Forum Members,
    In my office, I have to installed Oracle Database 10g for Solaries (SPARC). But I have to do it without DISPLAY Monitor.Is it possible install it by remote login to this server using response file (silent mode) or something like that?
    If yes. Then How?
    If anyone have the exact solution, then I need your feedback. I shall wait for your reply.
    Thanks
    Aungshuman Paul

    There are 2 possible ways to accomplish this.
    First,
    Silent installation
    http://www.informit.com/articles/article.asp?p=174771&rl=1
    Second, (cut/paste from other site)
    How to install Oracle software remotely?
    Remote Software Installation Steps: (For Solaris only)
    If you want to install Oracle Software remotely, you should perform the following steps. These steps are applicable only if your source and target machine are running Unix.
    For example, you can install Oracle Software from your home from Washington, DC to a target source in California.
    1. Pick your source server or machine for remote installation.
    2. Check that your CD is in your source CD-ROM drive.
    3. On the target machine, find your target machine name with the output of the /usr/bin/hostname
    4. On the source machine, login as a user.
    5. On the source machine, enable client access: % /usr/openwin/bin/xhost + target-machine-name
    6. Become root user by typing: su (don’t use -)
    7. Check that Volume Manger is running. # ps –ef |grep vold (if you see an entry that contains /usr/sbin/vold, Volume Manager is running. Then skip to Step 10.
    8. If not then do the following: # mkdir –p /cdrom/your-cd-file-name
    9. # mount –F hsfs –r cdrom-device /cdrom/your-cd-file-name
    10. Add the following line to your /etc/dfs/dfstab file: # share –F nfs –o ro /cdrom/your-cd-file-name
    11. Verify whether your source machine is an NFS server: # ps –ef | grep nfsd
    12. If you see an entry that contains /use/lib/nfs/nfsd –a 16, then nfsd is running and skip to Step 16.
    13. If nfsd is running, then type: # /usr/sbin/shareall
    14. If nfsd is not running, then start nfsd by typing: # /etc/init.d/nfs.server start
    15. Verify whether your source machine is an NFS server again by typing: # ps –ef | grep nfsd
    16. Make sure your source machine is exporting your product directory by typing: # /usr/sbin/dfshares
    17. Now, log in to the target machine by type: # rlogin target-machine-name –l user (not root)
    18. Then log in as the root user by typing: # su
    19. Go to the source machine by typing: # cd /net/source-machine/cdrom/your-cd-file-name ,then Skip to 24.
    20. If you cannot change to that directory in Step 19 and you do not have an auto-mounter on your network, then create amount point by typing the following commands.
    21. # mkdir /remote_products
    22. # /usr/sbin/mount –F nfs –r source-machine:/cdrom/your-cd-file-name /remote_products
    23. # cd /remote_products
    24. Redirect the target machine display to source machine by typing: # DISPLAY=source-machine:0; export DISPLAY (if you use a Bourne or Korn shell).
    25. Start the Web Start Installer by typing: # ./installer (or whatever the installer name program is).

  • OCA Exam 1Z0-042 - focus on Oracle Database 10g R2 from Nov 1st.

    I was planning to take the OCA (Exam 1Z0-042) next week. But I recently saw that starting November 1, the focus of the exam will be on Oracle Database 10g R2.
    I have been preparing with the hlep of the Oracle10g Administraton I book from Sybex. Will the topis differ to a great extent now that the exam will focus only on R2? Has anyone taken this exam after November 1 and found a great difference?
    Thanks,

    Thanks bhuttie. I do plan to take the selftest exams but I was just thrown off with the words " focus on Oracle Database 10g R2" on Oracle's website. Did you take the exam after November 1 as well ?

  • Important--Bug(ORA-22813) fixes in Oracle Database 10g  Release 10.2.0.4

    Hi,
    I found that in SELECT STATEMENTs where we use "xmlagg() functions with a GROUP BY/ORDER BY,it fails with ORA-22813 if the result is too large.
    This happens as there is a hard coded limit on the result size. (max 30k)
    Next,i confirmed that and when i removed a portion of the XML agg() values and executed it---Wonders,it runs perfectly fine.
    This means that ""xmlagg() functions with a GROUP BY/ORDER BY,fails with ORA-22813 since the result is too large.
    I have come to know that patch "Release 10.2.0.4" has the fix for Bug-22813 for "xmlagg() functions with a GROUP BY/ORDER BY".
    Could you all please confirm that "Oracle Database 10g Release 10.2.0.4" (patch 10.2.04) fixes the issue?
    Based on your confirmation,i can go ahead to get the patch installed.
    Current Version:-Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    Thanks
    Mainak

    Your query should be written something like this..
    select d.*
      from fbnk_customer,
           XMLTABLE
              '//c3'
              passing XMLRECORD
              columns
              C3_VALUE varchar2(60) path 'text()'
           ) d
    where recid='1001400'; Although it would be better to use an extact path expression rather than '//c3'

Maybe you are looking for