Re: Sending response as stream

2003-12-29 Thread Scott Nichol
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 29, 2003 10:20 AM Subject: Re: Sending response as stream > Hi Scott, > Even after sending the response as InputStream on the server side, its > coming as DataHandler on the client side. When I cast the return value to

Re: Sending response as stream

2003-12-29 Thread Praveen Peddi
sure that its an expected behaviour on the client side. Praveen - Original Message - From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 5:42 PM Subject: Re: Sending response as stream The one advantage I can think of wi

Re: Sending response as stream

2003-12-22 Thread Scott Nichol
end e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. - Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 5:29 PM Subject: Re: Sending response as st

Re: Sending response as stream

2003-12-22 Thread Praveen Peddi
api. Praveen - Original Message - From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 4:48 PM Subject: Re: Sending response as stream Or, you can add a mapping in your deployment descriptor to specify MimePartSerializer

Re: Sending response as stream

2003-12-22 Thread Scott Nichol
- From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 4:40 PM Subject: Re: Sending response as stream Is your method declared to return a ByteArrayInputStream? It should be declared to return an InputStream. Scott Nichol Do no

Re: Sending response as stream

2003-12-22 Thread Scott Nichol
Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 2:59 PM Subject: Re: Sending response as stream > I tried this and I got the following error: > No Serializer found to serialize a java.io.ByteArrayInputStream' > > Do I have to writ

Re: Sending response as stream

2003-12-22 Thread Praveen Peddi
; Sent: Monday, December 22, 2003 2:42 PM Subject: Re: Sending response as stream As I said, or at least implied, in a prior posting, I believe you can return an InputStream from your method, and its contents will be serialized as an attachment. Have you tried that? It would be something like

Re: Sending response as stream

2003-12-22 Thread Scott Nichol
l from specific mail lists. - Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 10:17 AM Subject: Re: Sending response as stream > I serialized the List to byte[] and sent it as attachment (DataHandle

Re: Sending response as stream

2003-12-22 Thread Martin Gainty
something specific you are driving at? -Martin - Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 10:17 AM Subject: Re: Sending response as stream > I serialized the List to byte[] and sent it a

FW: Re: Sending response as stream

2003-12-22 Thread Martin Gainty
Is there something specific you are driving at? -Martin - Original Message - >From: "Praveen Peddi" <[EMAIL PROTECTED]>>To: <[EMAIL PROTECTED]>>Sent: Monday, December 22, 2003 10:17 AM >Subject: Re: Sending response as stream > > > > I serialize

Re: Sending response as stream

2003-12-22 Thread Martin Gainty
something specific you are driving at? -Martin - Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 22, 2003 10:17 AM Subject: Re: Sending response as stream > I serialized the List to byte[] and sent it as atta

Re: Sending response as stream

2003-12-22 Thread Praveen Peddi
ot; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 3:51 PM Subject: Re: Sending response as stream Looking at SOAPMappingRegistry, the following classes are all serialized as attachments. javax.mail.internet.MimeBodyPart.class, java.i

Re: Sending response as stream

2003-12-19 Thread Scott Nichol
ason I do not want to use soap specific classes is because our soap > services are plain java classes and designed such a way that we can swith to > any soap tool in the future. > > Thanks. > > Praveen > > - Original Message - > From: "Martin Gainty&

RE: Sending response as stream

2003-12-19 Thread Keith Hall
t but there are many zip utilities available if for instance your client is a vb. -Original Message- From: Praveen Peddi [mailto:[EMAIL PROTECTED] Sent: 19 December 2003 16:32 To: [EMAIL PROTECTED] Subject: Re: Sending response as stream Hello all, Is there a way a method in a soap servic

Re: Sending response as stream

2003-12-19 Thread Praveen Peddi
o any soap tool in the future. Thanks. Praveen - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 1:15 AM Subject: Re: Sending response as stream > Read this > http://www.w3.org/2000/x

Re: Sending response as stream

2003-12-16 Thread Martin Gainty
Read this http://www.w3.org/2000/xp/Group/2/07/SOAP-AF/aftf-soap-af.html Regards, Martin - Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 11:32 AM Subject: Re: Sending response as stream

Re: Sending response as stream

2003-12-16 Thread Scott Nichol
- Original Message - From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 11:32 AM Subject: Re: Sending response as stream > Does it mean that attachments are sent as streams and not part of soap > envelop? T

Re: Sending response as stream

2003-12-16 Thread Praveen Peddi
: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 10:54 AM Subject: Re: Sending response as stream Attachments are the one way I can think of to minimize the processing Apache SOAP will do. Scott Nichol Do not send e-mail directly

Re: Sending response as stream

2003-12-16 Thread Scott Nichol
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 10:30 AM Subject: Sending response as stream HI all, We are using apache soap both on serverside and on client side. I am trying to write a method in soap service that returns thousands of objects that are conve

Sending response as stream

2003-12-16 Thread Praveen Peddi
HI all, We are using apache soap both on serverside and on client side. I am trying to write a method in soap service that returns thousands of objects that are converted into xml elements. Returning the whole response as an xml string is taking for ever. I am wondering if I can send the re