473,714 Members | 2,572 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[HELP]Using Oracle9i db to call .Net Web Service from Java Stored Procedure

Hi all,

I am trying to make use Oracle9i db to call an external .Net Web
Service from a JAva Stored Procedure.

I created the .Net Web Service and use JDeveloper 9.0.3.4Build(12 47)
to create the Client Stub Java class(ie: serviceClientSt ub.java).

Following the instruction from the article"Calling External Web
Service from Java Stored Procedure",
http://otn.oracle.com/sample_code/te...nt/Readme.html,
I connected to the database using SQL Navigator4.3 tried to load the
required jar files(with Create public synonym and Resolve option
checked) into Oracle9i database(ver 9.2.0.1.0). They are loaded in the
following order:

[OC4J_HOME]/soap/lib/soap.jar
[OC4J_HOME]/lib/dms.jar
[OC4J_HOME]/jlib/javax-ssl-1_1.jar
[ORACLE_HOME]/lib/servlet.jar
[OC4J_HOME]/jdk/jre/lib/ext/mail.jar
Where [OC4J_HOME] refers to Oc4j_extended that I downloaded from
Oracle website.
[ORACLE_HOME] refers to oracle/ora90

However, most of the java classes failed to compiled. When I loaded
the Client Stub class, it failed to compile as well.

This is the error message that I got:
ORA-29521: referenced name javax/mail/Flags could not be found
ORA-29521: referenced name javax/mail/MessageExceptio n could not be
found
ORA-29521: referenced name javax/mail/MethodNotSuppor tedException
could not be found

Any ideas how to resolve these issues?

Also, besides using the Client Soap stack library(above method), is
there another way to be able to load the Client Stub class in the
database, have it compiled successfully?

Your assistance will be highly appreciated!
Jul 19 '05 #1
0 2214

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3456
by: bughunter | last post by:
When I try call sql stored procedure on version 7 (win) server from 8.2 fixpack 9 (win32) I got: C:\SQLLIB\bnd>db2 "call proc(1)" SQL1109N The specified DLL "SYSIBM.SQLPROCEDURECOLS" could not be loaded. DB21085I Instance "DB2TST" uses DB2 code release "SQL07029" with level identifier "030A0105" and informational tokens "DB2 v7.1.0.98", "n040510" and
3
2757
by: rjaw | last post by:
Hi there, using the udb-type2-driver on z/OS DB version 7, we have a problem getting the connection to the database. The small program we use looks like this: Class.forName("com.ibm.db2.jcc.DB2Driver"); Connection connection = DriverManager.getConnection( "jdbc:db2:<database-name>", "<user>", "<password>" );
1
1535
by: Simon Matthews | last post by:
Hope someone can help an Access beginner! I've just started keeping my surgical logbook on access and it's a simple flat-file affair. I have created several queries that will list cases performed at different hospitals and reports based on the queries to print out the relavent details. What I would like to do is have a summary sheet in the Report Footer section that lists a grid of each type of procedure performed as well as the...
3
1717
by: ASP .NET Newbie | last post by:
I am trying to insert a new record into my database, and have it return a uniqueidentifier as the "newcatid". I don't use integers as my "id"'s, but rather uniqueidentifiers. Here's my Stored Proc: ALTER PROCEDURE dbo.spNewCat ( @newcatidID uniqueidentifier OUTPUT, @catname varchar(50) ) AS INSERT INTO Categories (catname) VALUES (@catname)
6
1312
by: segis bata | last post by:
Hello everyone, I'm writing you because I need help in something that's taking too long. I want to build a Stored Procedure to be accessed by an ASP page and I need that Stored Procedure to do a couple of things: 1.. Depending on parameters sent by the ASP page, do a SELECT statement to a table (tblX01) and if it returns ZERO records, the SP should insert some info into other table (tblX02) and if returns ONE record, it won't insert into...
3
1534
by: david | last post by:
I have trouble with it. I have created a sproc in SQL Server, called SearchClass, which returns a searched key from a table. I have tested this procedure in Analyzer and it works fine. However, in the client side, when I use ExecuteNonQuery as follows --- Me.SqlConnection1.Open() classKey = Me.SqlCommand2.ExecuteNonQuery() Me.SqlConnection1.Close() --
6
1617
by: Catch_22 | last post by:
Hi, I have a large SQL Server 2000 database with 3 core tables. Table A : 10 million + records Table B : 2 million + records Table C : 6 million + records One of the batch tasks that I have to perform firstly builds a list of all keys for records from each of the three tables that I need to
4
2273
by: Dia | last post by:
Hi there, I struggle to get this going i would like to insert data into 2 tmp tables in a view. If i run the code on it's own it works perfectly until i want to create a view it complains about the INSERT this is my code
1
2794
by: tezza98 | last post by:
I need some help. Im using a dtsrun command to import 9 tables into an Access database, most of the tables have about 1000 rows, but one has 20000+ rows and grows everyday. Im Using Access 2003 and SQL Server 2000. on a WinXP Machine When the database is opened a stored procedure drops all the tables and then imports the csv files using dtsrun. The database is only used for reporting and the data is entered into the csv files using 3rd...
0
8796
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8704
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9071
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7946
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5943
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4462
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4715
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3155
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2514
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.