attachments

2005-03-01 Thread John Hawkins
Hi Folks, attachment specifications (mTom, attachment profiles ?) are a mystery to me. Could someone tell me (briefly) what type we are supporting in the current implementation? The serialisation code looks remarkably simple ! thanks, John.

attachments

2005-04-11 Thread John Hawkins
Hi Folks, how is the attachment support coming along?

Attachments

2005-04-25 Thread Mark Whitlock
Hi, I was looking at the attachment support. Does anyone know... - whether attachments are currently being worked on and whether this support will be completed in 1.6? - whether Axis C++ will support attachments defined in the wsdl and referenced from the soap body? Or will these

Attachments

2005-05-05 Thread Rangika Mendis
Hi All, I tested attachments (on server side)in Windows using VC (Not using ANT build) & it's working. I couldn't test with the ANT build because ANT is not building properly. Once ANT is working I can check in Windows & Linux.Till then I'm not committing the code sin

Attachments

2005-05-16 Thread Mark Whitlock
Hi Damitha, Rangika, I am very interested in attachment support in the client. If possible, I would like to work with you on completing this. In particular I would like doc-literal support - so if your current support is rpc-encoded, I could add in doc-literal support. I was expecting to see a

Attachments

2005-06-13 Thread Mark Whitlock
Hi, I'm starting to implement client side attachments, including attachments referenced from the soap body. I'm intending to... - Add the attachments methods that are currently on IWrapperSoapSerializer to Call as well - Add in AttachmentReference (internal implement

Re: attachments

2005-03-01 Thread Rangika Mendis
Hi John,   Attachment specification we used is SOAP Messages with Attachments, W3C Note 11 December 2000the link is given below,http://www.w3.org/TR/SOAP-attachmentsThe above specification describes a  standard way to associate a SOAP message with one or more attachments in

Re: attachments

2005-04-17 Thread Rangika Mendis
Hi John,   Server side ws-attachments is complete.   Regards, Rangika - Original Message - From: John Hawkins To: axis-c-dev@ws.apache.org Sent: Monday, April 11, 2005 7:30 PM Subject: attachments Hi Folks, how is the attachment support coming along?

RE: attachments

2005-04-17 Thread Samisa Abeysinghe
Hi Rangika,     How can we test those? Do we have a sample? Thanks, Samisa…   -Original Message- From: Rangika Mendis [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 10:44 AM To: Apache AXIS C Developers List Subject: Re: attachments   Hi John

Re: attachments

2005-04-18 Thread John Hawkins
elopers List" To "Apache AXIS C Developers List" cc Subject Re: attachments Hi John,   Server side ws-attachments is complete.   Regards, Rangika - Original Message - From: John Hawkins To: axis-c-dev@ws.apache.org Sent: Monday, April 11, 2005 7:30 PM Subject:

Re: attachments

2005-04-18 Thread Rangika Mendis
Hi Samisa,   I will test attachments with a sample client & if it's working will send it to you.       Rangika - Original Message - From: Samisa Abeysinghe To: Apache AXIS C Developers List Sent: Monday, April 18, 2005 10:42 AM Subject: RE: at

Re: attachments

2005-04-18 Thread John Hawkins
Hi Rangika, so, is this a CPP client? "Rangika Mendis" <[EMAIL PROTECTED]> 18/04/2005 13:36 Please respond to "Apache AXIS C Developers List" To "Apache AXIS C Developers List" cc Subject Re: attachments Hi Samisa,   I will test a

Re: attachments

2005-04-18 Thread Rangika Mendis
Hi John,   Yes it's a cpp client.   Rangika - Original Message - From: John Hawkins To: Apache AXIS C Developers List Sent: Monday, April 18, 2005 10:26 PM Subject: Re: attachments Hi Rangika, so, is this a CPP client? "Rang

Re: attachments

2005-04-18 Thread Rangika Mendis
Hi John,   I'm sorry for the earlier reply. The client that I'm using is a socket program that's just used for testing.It will just send couple of attachments to the server port & & then the engine will handle the attachments.   Rangika       - Origina

RE: attachments

2005-04-18 Thread Samisa Abeysinghe
So as I understand, you write the raw SOAP message directly to the server.   Still I think this client would help us when implementing Client side attachments. Please attach this client to a Jira issue.   Thanks, Samisa…     -Original Message- From: Rangika Mendis [mailto

Re: attachments

2005-04-18 Thread Rangika Mendis
derstand. Request header field is missing ':' separator. start="<1505912FEDEB53D396BC22103DA3A51A>"; Apache/2.0.48 (Win32) Server at abc Port 80 Can anyone help me on this???   Regards, Rangika - Original Message - From: Samisa Abeysinghe To:

RE: attachments

2005-04-18 Thread Samisa Abeysinghe
PROTECTED] Sent: Tuesday, April 19, 2005 12:36 PM To: Apache AXIS C Developers List Subject: Re: attachments     Hi Samisa,     I tested attachment support with the socket client in February and it worked. But now when I tried to see whether it's working I get the following

Re: attachments

2005-04-19 Thread John Hawkins
that's fine :-) I'm still not clear though - maybe it's me :-( Do attachments work in Axis CPP or not (I think not). If not do you have any idea if you are going to be able to finish them or not. If not - can you leave some docs or something to give others the way forward?

Re: attachments

2005-04-19 Thread Nithyakala Thangaraja
Hi, Attachments was working in Axis CPP for Server Side,  but currently there seems to be a problem with the stimulated client request message. Need to check on it. Design document was posted on the mailing list. Regards, Nithya On Tue, 19 Apr 2005 09:46:29 +0100, John Hawkins wrote

RE: attachments

2005-04-19 Thread Samisa Abeysinghe
Hi Nithya,     Do we have some partial implementation of client side (not server side) attachments?     I see some mime related code included in HTTPTransport class of axis3. I think this is an attempt to implement attachments. Any thoughts on how much work is remaining

RE: attachments

2005-04-20 Thread Nithyakala Thangaraja
Hi Samisa, Client side support for ws-attachments was undertaken by Damitha,  I am not very sure about the depth of work completed. Regards, Nithya On Wed, 20 Apr 2005 10:30:04 +0600, Samisa Abeysinghe wrote > Hi Nithya, >     Do we have some partial implementat

Re: Attachments

2005-04-25 Thread Rangika Mendis
= --=MIME BOUNDARY We're working on this currently. Regds Rangika - Original Message - From: "Mark Whitlock" <[EMAIL PROTECTED]> To: Sent: Monday, April 25, 2005 7:26 PM Subject: Attachments > > > > > Hi, > > I was looking at the attachment supp

Fw: Attachments

2005-04-25 Thread Mark Whitlock
25/04/2005 15:12 cc Please respond to Subject "Apache AXIS C Re: Attachments

Re: Attachments

2005-04-25 Thread Rangika Mendis
t; <[EMAIL PROTECTED]> To: Sent: Monday, April 25, 2005 9:03 PM Subject: Fw: Attachments > > > > > Hi Rangika, > Thanks for your quick response. Users will benefit from the attachment > support that you're putting in :-) > > I noticed that the soap message i

RE: Attachments

2005-04-26 Thread Lilantha Darshana
May be this is not a question to ask:   Is the return value: ?   Base64 encoded?   thanks -Lilantha   -Original Message- From: Rangika Mendis [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 10:13 AM To: Apache AXIS C Developers List Subject: Re: Attachments   Hi

Re: Attachments

2005-04-26 Thread Rangika Mendis
pache AXIS C Developers List Sent: Tuesday, April 26, 2005 7:40 PM Subject: RE: Attachments May be this is not a question to ask:   Is the return value: ?   Base64 encoded?   thanks -Lilantha   -Original Message-From: Rangika Mendis [mailto:[

Re: Attachments

2005-05-05 Thread John Hawkins
IS C Developers cc Subject Attachments Hi All, I tested attachments (on server side)in Windows using VC (Not using ANT build) & it's working. I couldn't test with the ANT build because ANT is not building properly. Once ANT is working I can check in Windows & Linux.Till

Re: Attachments

2005-05-05 Thread Rangika Mendis
5/2005 08:10 > Please respond to > "Apache AXIS C Developers List" > > > > >To > Apache AXIS C > Developers c- > [EMAIL PROTECTED]> >cc > > Subject > Attachments > > > &g

Re: Attachments

2005-05-05 Thread Rangika Mendis
gt; The requested URL /axis/Ref was not found on this server. > > Apache/2.0.53 (Unix) Server at 127.0.0.1 Port > > > > > Regds > Rangika > > > > > > > On Thu, 2005-05-05 at 08:30 +0100, John Hawkins wrote: > > > > Hi Rangika, > >

Fw: Attachments

2005-05-05 Thread Mark Whitlock
lease respond to Subject "Apache AXIS C Re: Attachments

Re: Attachments

2005-05-05 Thread Samisa Abeysinghe
o] SimpleRef - Client Execution - FAILED > > > > testSuite: > > > > BUILD SUCCESSFUL > > Total time: 7 seconds > > > > Then I gave the testPort = in build/build.Linux.Properties & put > > target port as 80 & listen port in the

Re: Attachments

2005-05-05 Thread Rangika Mendis
localhost:13260/axis/Ref > > > [stopwatch] [SimpleRef.timer: 0.592 sec] > > > [echo] SimpleRef - Execution Time - 0.592 sec > > > > > > stopMonitor: > > > > > > validateTestClient: > > > [echo] SimpleRef - Client Execution -

RE: Attachments

2005-05-05 Thread Samisa Abeysinghe
Please commit the program used to test as well. Thanks, Samisa... -Original Message- From: Rangika Mendis [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 10:23 AM To: Apache AXIS C Developers Subject: Re: Attachments Hi Samisa, yes, the sample is in \c\samples\server\mime

RE: Attachments

2005-05-05 Thread Samisa Abeysinghe
--- From: Rangika Mendis [mailto:[EMAIL PROTECTED] Sent: Friday, May 06, 2005 10:23 AM To: Apache AXIS C Developers Subject: Re: Attachments Hi Samisa, yes, the sample is in \c\samples\server\mime Attachment support is only added to Apache 2 currently. I'm trying to put it for Apache

Fw: Attachments

2005-05-06 Thread Mark Whitlock
Hi Rangika, Unfortunately the attachments code now does not compile on AIX (only AIX) with this strange error... [cc] /build/nw00_PA/obj/src/server/apache/AttachmentHelper.cpp: [cc] /usr/vacpp/exe/xlCentry -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX50 -D_AIX51 -D_IBMR2 -D_POWER

Re: Attachments

2005-05-17 Thread Rangika Mendis
Hi Mark, I'm not involved in attachment support client side.I was only involved in server side.Damitha is working on client side I'm not sure how far he has done.I think he wouldn't mind you working on it. Regds Rangika On Mon, 2005-05-16 at 13:31 +0100, Mark Whitlock wrote: > > > > Hi Damit

Fw: Attachments

2005-05-17 Thread Mark Whitlock
Re: Attachments Deve

Fw: Attachments

2005-05-18 Thread Mark Whitlock
Hi Rangika, We build but we don't test the Axis C++ server. We run all our tests against WebSphere Application Server. So unfortunately I don't know whether server-side attachments work on AIX. Mark Mark Whitlock IBM - Forwarded by Mark Whitlock/UK/IBM on 18/05/

Deserializing attachments

2005-06-07 Thread Mark Whitlock
Hi Rangika, >From looking through the code, deserialization of a mime message seems to be missing. The SoapDeSerializer passes the SOAPTransport through to the XMLParser, but a MIME message is not XML. I will go ahead and implement this function, unless this is something that you have implemen

Attachments wsdl

2005-07-04 Thread Mark Whitlock
I have added in support into WSDL2Ws for attachments. Attachments are described in the WSDL as types (DataHandler, Image, etc) in the http://xml.apache.org/xml-soap namespace. Unfortunately WSDL2Ws uses axis.jar which uses function that requires a JAF and JavaMail implementation, when the WSDL

Re: Fw: Attachments

2005-05-05 Thread Rangika Mendis
Apache AXIS C Developers > 05/05/2005 13:06 > cc > > Please respond to

Re: Fw: Attachments

2005-05-06 Thread John Hawkins
so this means attachements will not work for apache 13? Mark Whitlock/UK/[EMAIL PROTECTED] 05/05/2005 16:58 Please respond to "Apache AXIS C Developers List" To axis-c-dev@ws.apache.org cc Subject Fw: Attachments Hi Rangika, I've fixed the ant buil

Re: Fw: Attachments

2005-05-08 Thread Rangika Mendis
Hi Mark, I'm so sorry that attachments didn't work on AIX.Since we don't have AIX installed in any machine I couldn't test attachments on it. So after the change you did does attachments work properly on AIX? Regds Rangika On Fri, 2005-05-06 at 17:15 +0100, Mark Whitlock

Re: Fw: Attachments

2005-05-17 Thread Rangika Mendis
Hi Mark, Yeah sure, post the changes that you intend to make in the mailing list so that we may be able to help you whether your changes will fit in with our design or not. BTW are attachments (server side) running on AIX? Rangika On Tue, 2005-05-17 at 17:34 +0100, Mark Whitlock wrote

Attachments in WS-I

2005-05-20 Thread Mark Whitlock
I propose to add in support to wsdl2ws to allow mime bindings in the wsdl binding so that attachments are described by the wsdl. Attachments are passed to the client as a parameter on the web service itself. This is required by WS-I http://www.ws-i.org/Profiles/AttachmentsProfile-1.0-2004-08

Soap with Attachments support

2007-09-05 Thread Jamie Lyon
Hi, Is there planned support for SwA for the client in Axis2/C within the very near future? A project I am working on requires that I support SwA, as it doesn't support MTOM (and redeploying the service is not an option). If this is not planned, then would it be possible for you to give me

Re: Attachments in WS-I

2005-05-21 Thread Samisa Abeysinghe
+1 for taking mime bindings into account. Samisa... On 5/20/05, Mark Whitlock <[EMAIL PROTECTED]> wrote: > > > > > I propose to add in support to wsdl2ws to allow mime bindings in the wsdl > binding so that attachments are described by the wsdl. Attachments are >

Re: Soap with Attachments support

2007-09-05 Thread Samisa Abeysinghe
Jamie Lyon wrote: Hi, Is there planned support for SwA for the client in Axis2/C within the very near future? A project I am working on requires that I support SwA, as it doesn’t support MTOM (and redeploying the service is not an option). We do not have anyone working on it right now, hen

Caching support for large attachments

2008-03-13 Thread Manjula Peiris
Hi devs, In the current MTOM implementation we are keeping the whole attachment in memory until passing it to the reciever. The [1] is on supporting some sort of caching in order to handle large attachments. Axis2/Java does this by writing the attachment to a file when it exceeds a certain

SoapSerializer was modified to support attachments.

2005-01-07 Thread Rangika Mendis
Hi All,   We added  functionalities to  the serializer to serialize soap attachments. The following files were added for that purpose.   1. SoapAttachmentHeaders 2. SoapAttachment   New API  allows to add Soap Attachment objects to the

Re: Caching support for large attachments

2008-03-13 Thread Dinesh Premalal
Manjula Peiris <[EMAIL PROTECTED]> writes: > Before implementing this I would like to know your suggestions regarding > this. +1 thanks, Dinesh -- http://nethu.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Caching support for large attachments

2008-03-14 Thread Thilina Gunarathne
Hi Manjula, Sounds great.. Just a small clarification.. > What we can do in our implementation is after extracting the binary > content write that to a file In Axis2/Java case we do write the attachment content directly from the InputStream to the File when the attachment size is larger than the

Re: Caching support for large attachments

2008-03-14 Thread Manjula Peiris
nd the attachment size with out searching for the mime boundaries ? In Axis2/C the problem we have is we will be aware of the size of the attachment only after extracting the attachments. We can't determine it from the content length. Because a message with a large soap envelope or a message with

Re: Caching support for large attachments

2008-03-14 Thread Thilina Gunarathne
Hi, > > In Axis2/Java case we do write the attachment content directly from > > the InputStream to the File when the attachment size is larger than > > the threshold. This avoids loading the whole attachment to the memory > > at all. > > In this case to find out the attachment size don't you

Re: Caching support for large attachments

2008-03-14 Thread Senaka Fernando
Hi Thilina, What is the upper limit? And, we also can use a buffer of say 1MB and keep reading the content into it until we find the end, and in the mean time write to a file, if we exceed this buffer. This way, we can do the necessary tracking in real time. Meaning that the MIME parts will be pa

Re: Caching support for large attachments

2008-03-14 Thread Samisa Abeysinghe
is an IO to the disk. This is where the optimal buffer size comes into play, if we keep on flushing too small buffer, it gets too slow. BTW, this whole discussion is about in path, that is reading an incomming message. How about the out path? We have the same problems when sending attachments.

Re: Caching support for large attachments

2008-03-14 Thread Thilina Gunarathne
> BTW, this whole discussion is about in path, that is reading an > incomming message. How about the out path? We have the same problems > when sending attachments. Right now, we read the whole file into memory > and then only we send over the wire. hmm... Why not write it in chu

Re: Caching support for large attachments

2008-03-15 Thread Manjula Peiris
On Fri, 2008-03-14 at 16:35 -0400, Thilina Gunarathne wrote: > Hi, > > What we did in Axis2/Java to overcome this is to read the data to a > byte[] buffer of up to a certain size (the size threshold). If there > are more data available in the mime part (if we have not encountered > the boundary y

Re: Caching support for large attachments

2008-03-15 Thread Senaka Fernando
>> BTW, this whole discussion is about in path, that is reading an >> incomming message. How about the out path? We have the same problems >> when sending attachments. Right now, we read the whole file into memory >> and then only we send over the wire. > hmm...

Re: Caching support for large attachments

2008-03-15 Thread Senaka Fernando
>>> BTW, this whole discussion is about in path, that is reading an >>> incomming message. How about the out path? We have the same problems >>> when sending attachments. Right now, we read the whole file into >>> memory >>> and then only we send

Re: Caching support for large attachments

2008-03-15 Thread Manjula Peiris
content-length or specified it as chunked. -Manjula. On Sat, 2008-03-15 at 13:39 +0530, Senaka Fernando wrote: > >>> BTW, this whole discussion is about in path, that is reading an > >>> incomming message. How about the out path? We have the same problems > >>&

Re: Caching support for large attachments

2008-03-15 Thread Senaka Fernando
discussion is about in path, that is reading an >> >>> incomming message. How about the out path? We have the same >> problems >> >>> when sending attachments. Right now, we read the whole file into >> >>> memory >> >>> and then

Re: Caching support for large attachments

2008-03-15 Thread Thilina Gunarathne
Hi Senaka, Looks like you are confused by my mail... > >> BTW, this whole discussion is about in path, that is reading an > >> incomming message. How about the out path? We have the same problems > >> when sending attachments. Right now, we read the whole file into

Re: Caching support for large attachments

2008-03-15 Thread Thilina Gunarathne
3:39 +0530, Senaka Fernando wrote: > >> >>> BTW, this whole discussion is about in path, that is reading an > >> >>> incomming message. How about the out path? We have the same > >> problems > >> >>> when sending attachment

Re: Caching support for large attachments

2008-03-15 Thread Manjula Peiris
. Here also I think it is same as what Thilina is saying. Thanks, -Manjula. > > > > > -Manjula. > > Regards, > Senaka > > > > > On Sat, 2008-03-15 at 13:39 +0530, Senaka Fernando wrote: > >> >>> BTW, this whole discussion is about i

Re: Caching support for large attachments

2008-03-15 Thread Senaka Fernando
ontent Length. This is a not at all expensive operation as the file >> seek will be scanning the file as a block without reading it to memory. >> The OS will manage it's efficiency. > > Here also I think it is same as what Thilina is saying. > > Thanks, > -Manjula. > >&

Re: Caching support for large attachments

2008-03-15 Thread Senaka Fernando
t to the memory. Well, you can seek through the file >>> and >>> find out the size of the content to be written. Add to it the standard >>> header block and MIME boundary demarcation string lengths and you will >>> get >>> the Content Length. This is a

Re: Caching support for large attachments

2008-03-16 Thread Samisa Abeysinghe
Senaka Fernando wrote: Hi Manjula, Thilina and others, Yep, I think I'm exactly in the same view point as Thilina when it comes to handling attachment data. Well for the chunking part. I think I didn't get Thilina right in his first e-mail. And, However, the file per MIME part may not always be

Re: Caching support for large attachments

2008-03-16 Thread Senaka Fernando
Hi Samisa, IIRC, this discussion is on handling attachments and thus, does not relate to caching. Though $subject says "Caching" what actually was discussed was a mechanism to buffer the attachment in a file, rather than in memory, and that buffer has nothing to do with a Caching,

Re: Caching support for large attachments

2008-03-16 Thread Manjula Peiris
y are > two separate concerns, so ahy are we wasting time discussing parsing > while the problem at had is not parsing but caching? No, the current implementation starts parsing after reading the whole stream. Because of that the parsing is simple and efficient. And for considerable size of la

Re: Caching support for large attachments

2008-03-16 Thread Manjula Peiris
On Sun, 2008-03-16 at 17:53 +0530, Senaka Fernando wrote: > Hi Samisa, > > IIRC, this discussion is on handling attachments and thus, does not relate > to caching. Though $subject says "Caching" what actually was discussed was > a mechanism to buffer the attachment in

Re: Caching support for large attachments

2008-03-16 Thread Samisa Abeysinghe
Senaka Fernando wrote: Hi Samisa, IIRC, this discussion is on handling attachments and thus, does not relate to caching. Though $subject says "Caching" what actually was discussed was a mechanism to buffer the attachment in a file, rather than in memory, and that buffer has nothing to

Re: Caching support for large attachments

2008-03-16 Thread Senaka Fernando
> Senaka Fernando wrote: >> Hi Samisa, >> >> IIRC, this discussion is on handling attachments and thus, does not >> relate >> to caching. Though $subject says "Caching" what actually was discussed >> was >> a mechanism to buffer the atta

Re: Caching support for large attachments

2008-03-16 Thread Samisa Abeysinghe
large attachments(eg : 100MB) also it is working well. The only problem it has is the attachment size will depend on the available system memory. Still, my argument on the separation of concerns on caching vs. parsing holds. It is a question about what takes precedence over the other. If the

Re: Caching support for large attachments

2008-03-16 Thread Senaka Fernando
ion starts parsing after reading the whole >> stream. Because of that the parsing is simple and efficient. And for >> considerable size of large attachments(eg : 100MB) also it is working >> well. The only problem it has is the attachment size will depend on the >> availabl

Re: Caching support for large attachments

2008-03-16 Thread Thilina Gunarathne
e. Also you might want to consider deferred parsing of attachments. That means read the attachment for the stream only when needed. Similar in concept to StAX parsing of XML. >This is because > many small attachments == one big attachment. Good point.. thanks, Thilina >Thus, I'

Re: Caching support for large attachments

2008-03-16 Thread Senaka Fernando
r the Chunked case. > > Also you might want to consider deferred parsing of attachments. That > means read the attachment for the stream only when needed. Similar in > concept to StAX parsing of XML. That will cause the stream to exhaust for the lifetime of the request isn't i

Re: Caching support for large attachments

2008-03-16 Thread Thilina Gunarathne
> Ideally it should be either the Content-Length or if Chunked then we'll > have to read until the end of chunks. So, if you see Content-Length, then > no need to calculate size while parsing. You already know it. But, your > proposal is valid for the Chunked case. I'm talking about calculating

Re: Caching support for large attachments

2008-03-16 Thread Senaka Fernando
e Chunked case. > I'm talking about calculating the size for a individual MIME part.. I > think I made it clear (+how we do it in Axis2/java) at the beginning > of this thread... Probably you need to reread this thread. Yep, true. The point is, as I said earlier, several small attach

Re: Caching support for large attachments

2008-03-17 Thread Samisa Abeysinghe
. And for considerable size of large attachments(eg : 100MB) also it is working well. The only problem it has is the attachment size will depend on the available system memory. Still, my argument on the separation of concerns on caching vs. parsing holds. It is a question about what takes

Re: Caching support for large attachments

2008-03-17 Thread Samisa Abeysinghe
g to file. Also you might want to consider deferred parsing of attachments. That means read the attachment for the stream only when needed. Similar in concept to StAX parsing of XML. This is because many small attachments == one big attachment. Good point.. I do not think so.

Re: Caching support for large attachments

2008-03-17 Thread Samisa Abeysinghe
I'm talking about calculating the size for a individual MIME part.. I think I made it clear (+how we do it in Axis2/java) at the beginning of this thread... Probably you need to reread this thread. Yep, true. The point is, as I said earlier, several small attachments == one big attach

Re: Caching support for large attachments

2008-03-17 Thread Samisa Abeysinghe
Also you might want to consider deferred parsing of attachments. That means read the attachment for the stream only when needed. This is what the Java does. How can you do this in C? Samisa... - To unsubscribe, e-mail

Re: Caching support for large attachments

2008-03-17 Thread Thilina Gunarathne
>> Also you might want to consider deferred parsing of attachments. That > >> means read the attachment for the stream only when needed. > > This is what the Java does. That's why I proposed you people to consider doing it in C :).. In Axis2/Java we first parse onl

Re: Caching support for large attachments

2008-03-17 Thread Samisa Abeysinghe
Thilina Gunarathne wrote: >> Also you might want to consider deferred parsing of attachments. That >> means read the attachment for the stream only when needed. This is what the Java does. That's why I proposed you people to consider doing it in C :).. In Axis2/Ja

Re: Caching support for large attachments

2008-03-17 Thread Thilina Gunarathne
> Well, the Java folks have the luxury of streams. C has to manage this at > socket level. So my question was, how are we supposed to do that with C > network handler? I'm not familiar with the workings of the C network handler. But for us the only useful part of the input stream was the read() me

Re: Caching support for large attachments

2008-03-17 Thread Manjula Peiris
part containing the soap-envelope 2. Then Read up to some threshold and search for the mime_boundary 3. If it is not found then move one half of the buffer to the file and append some content equal to that part from stream and parse The step 3 is needed because in case of multiple attachments the

Re: Caching support for large attachments

2008-03-17 Thread Manjula Peiris
t-length.. It's based on the > > size of a particular attachment. We calculate the size while parsing. > > If the size exceeds a certain limit then put everything to file. > > > > Also you might want to consider deferred parsing of attachments. That > > means read th

Sending attachments as chunked http requests

2008-06-09 Thread Manjula Peiris
Hi devs, As I understood after going through Axis2/C transport and Axiom stuff following things need to be done in order to do $subject. 1. Fix problems in the http transport when sending data as chunked. Currently it is sending the data as one chunk and in the attachment case data is missing. 2

Re: SoapSerializer was modified to support attachments.

2005-01-09 Thread Roshan Weerasuriya
ent > > * method of the IWrapperSoapSerializer interface > > * > > */ > > virtual ISoapAttachment* createSoapAttachement()=0; Here another interface called "ISoapAttachment" is used to avoid static linkage of Axis engine/library code to the web service.

Client side attachments [was Re: Fw: OpenSSL]

2005-01-25 Thread Samisa Abeysinghe
Hi Damitha, What are the sections of code (trasport, soap etc.) that would be affected by the changes you have to do to support client side attachments? Thanks, Samisa... On Tue, 25 Jan 2005 13:38:54 +0600, Damitha Kumarage <[EMAIL PROTECTED]> wrote: > Hi all, > In li

[jira] Updated: (AXISCPP-239) Supporting ws-attachments

2005-04-20 Thread Samisa Abeysinghe (JIRA)
side. How much support has been implemented is uncertain. The server side attachments are said to be complete, but we do not have a test case for this. Client side implementation is not documented nor we have a working sample. Attachment support would likely be completed in 1.6 > Supporting

[jira] Resolved: (AXISCPP-239) Supporting ws-attachments

2005-07-15 Thread John Hawkins (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-239?page=all ] John Hawkins resolved AXISCPP-239: -- Resolution: Fixed We have some limited support for attachments in 1.6 alpha. I suggest we close this issue until such time as anyone wants more

[jira] Closed: (AXISCPP-239) Supporting ws-attachments

2006-04-05 Thread Fred Preston (JIRA)
[ http://issues.apache.org/jira/browse/AXISCPP-239?page=all ] Fred Preston closed AXISCPP-239: > Supporting ws-attachments > - > > Key: AXISCPP-239 > URL: http://issues.apache.org/jira/bro

Re: Sending attachments as chunked http requests

2008-06-09 Thread Samisa Abeysinghe
Manjula Peiris wrote: Hi devs, As I understood after going through Axis2/C transport and Axiom stuff following things need to be done in order to do $subject. 1. Fix problems in the http transport when sending data as chunked. Currently it is sending the data as one chunk and in the attachment

Re: Sending attachments as chunked http requests

2008-06-09 Thread Manjula Peiris
On Mon, 2008-06-09 at 20:26 +0530, Samisa Abeysinghe wrote: > Manjula Peiris wrote: > > Hi devs, > > > > As I understood after going through Axis2/C transport and Axiom stuff > > following things need to be done in order to do $subject. > > > > 1. Fix problems in the http transport when sending da

Re: Sending attachments as chunked http requests

2008-06-09 Thread Samisa Abeysinghe
Manjula Peiris wrote: On Mon, 2008-06-09 at 20:26 +0530, Samisa Abeysinghe wrote: Manjula Peiris wrote: Hi devs, As I understood after going through Axis2/C transport and Axiom stuff following things need to be done in order to do $subject. 1. Fix problems in the http transport when s

Sending large attachments with Axis2/C with httpd

2008-01-23 Thread Manjula Peiris
use the allocator. Even the above solution does not prevent using larger amount of memory to process large attachments. So I think we need to change the mime_parser to process each block separately and concatenate them. The problem with this approach is the search string(eg : MimeBoundary) may

Re: Sending large attachments with Axis2/C with httpd

2008-02-12 Thread Manjula Peiris
ems with Sandesha2/c becasue freeng allocator (here allocator means > apr_allocator not axutil_allocator)cause problems because Sandesha2/C > creates its own threads and those threads use the allocator. > > Even the above solution does not prevent using larger amount of memory > to process lar

[jira] Created: (AXIS2C-320) Attachments handling mechanism is too restrictive

2006-10-03 Thread Nandika Jayawardana (JIRA)
Attachments handling mechanism is too restrictive - Key: AXIS2C-320 URL: http://issues.apache.org/jira/browse/AXIS2C-320 Project: Axis2-C Issue Type: Improvement Environment: linux

  1   2   >