Re: JDBC datasource from Web Service

2004-01-30 Thread __matthewHawthorne
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

RE: JDBC datasource from Web Service

2004-01-29 Thread Richard Martin
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

RE: JDBC datasource from Web Service

2004-01-29 Thread christopher justin
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

RE: JDBC datasource from Web Service

2004-01-29 Thread Richard Martin
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

JDBC datasource from Web Service

2004-01-29 Thread christopher justin
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

Problem with DataHandler and DataSource (Bug ?)

2003-10-23 Thread De Closmadeuc, Etienne
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'

ByteArrayDataSource equivalent DataSource in Axis?

2002-12-17 Thread Shrotriya, Sumit
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

RE: DataSource

2002-06-18 Thread Pavel Bernshtam
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

DataSource

2002-06-18 Thread Pavel Bernshtam
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