christopher justin wrote:
Does Axis know of the application specific WEB-INF/web.xml ? I have set
up Data Sources correcty when useing the JWS SDK and within that I
needed a resource identified correctly in my application specific
WEB-INF/web.xml , but Axis seems to not even care about that fil
Hi Christopher,
You are correct, all the Axis deployed webapps share the web.xml information
that Axis uses.
Regards,
Richard
-Original Message-
From: christopher justin [mailto:[EMAIL PROTECTED]
Sent: 29 January 2004 22:31
To: [EMAIL PROTECTED]
Subject: RE: JDBC datasource from
From: "Richard Martin" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: JDBC datasource from Web Service
Date: Thu, 29 Jan 2004 21:57:15 -
Hi Christopher,
Comments inline below:
>I have this working in a function called getDB() within
Hi Christopher,
Comments inline below:
>I have this working in a function called getDB() within the Web Service but
>I don't understand how it recognizes the Context it is in because I do not
>have a WEB-INF/web.xml file that would normally define the resource such as
You must have a web.xml
not understand
where my init() function that would do the JDBC resource connection would
go. For example, I want to do this in my Web Service:
Context init = new InitialContext();
dataSource = (DataSource)init.lookup( "java:comp/env/jdbc/mysql");
I have this working in a function ca
When a client want to download binary data from an axis web service, axis
uses internal class DimeBodyPart.java.
This class reads twice an InputStream :
in method "send", it calls "getDataSize", which reads the InputStream, and
then read again the InputStream to send it to the client.
First, it'
Hi could someone please let me know if there is an equivalent of the
ByteArrayDataSource
in Axis or do we need to use the MememoryManagedDataSource instead.
Regards,
Sumit
I have solved problem with exception (it was my bug), but
now I receive on client side ManagedMemoryDataSource instance with 0
avaiable bytes! :(
1) How make I creation of instance of my DataSource implementation on client
side?
2) Why ManagedMemoryDataSource instance, created on client side was
1) As I see in the source code of ManagedMemoryDataSource, it does not use
at all provided InputStream is readall parameter == false. Is it bug?
2) I really does not understand what means maxCached parameter :(
3) I try to use my own DataSource for sending binary data as attachment.
I have wrote