Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Davanum Srinivas

[EMAIL PROTECTED] please subscribe first using rampart-dev-subscribe@

On 3/1/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:

Hi Sebastian,
> thanks for the answer. I know that Rampart is able to secure MTOM
> messages. But utilizing MTOM is not usable for large messages. The
> amount of required memory is that high it is not usable for our
> project...
There can't be any difference between the memory consumption of SwA &
MTOM in Axis2, since they both are using the same logic underneath,
unless you explicitly reads in the MTOM attachments to memory (by
retrieving the actual binary).

> I don't know the excact reasons for that, but in our
> performance tests the MTOM approach requires a lot of additional memory.
If your use case is securing the messages together with the binary
attachments, then all the MTOM attachments might needs to be read in
to the memory. It'll be the same if you are able to secure SwA type
attachments..
A test case to figure this out would be very useful for us to fix
this, if there is any such behaviour.

> The MTOM approach with file caching needs additional excecution time.
> Therefore we try to implement processing of large messages(more than
> 100MB) with SwA and java streams.
Once again, the underlying layer is the same.. So theoretically they
should take the same time..

>
> Do you know where I can ask questions concerning the roadmap of specific
> components of Axis2? Maybe this is the wrong mailing list for such kind
> of question.
Security (rampart) was moved out to a separate project very recently.
I'm not sure whether the mailing list is up yet..

~Thilina
> But anyway, thanks for your answer...
>
> Regards,
> Sebastian
>
>
> Thilina Gunarathne schrieb:
> > Rampart has the capability to secure attachments send using MTOM..
> >
> > I'm not sure whether is there or planned support for SwA..
> >
> > Thanks,
> > Thilina
> >
> > On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]>
> > wrote:
> >> Hello,
> >>
> >> due to memory efficiency I work with SwA to send messages based on java
> >> streams. Is there a possibility to secure such messages with Rampart? Is
> >> there any support for SwA in Rampart planned for future releases?
> >>
> >> Regards,
> >> Sebastian
> >>
> >>
> >>
> >
> >
>
>
>
>


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne

Hi Sebastian,

thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project...

There can't be any difference between the memory consumption of SwA &
MTOM in Axis2, since they both are using the same logic underneath,
unless you explicitly reads in the MTOM attachments to memory (by
retrieving the actual binary).


I don't know the excact reasons for that, but in our
performance tests the MTOM approach requires a lot of additional memory.

If your use case is securing the messages together with the binary
attachments, then all the MTOM attachments might needs to be read in
to the memory. It'll be the same if you are able to secure SwA type
attachments..
A test case to figure this out would be very useful for us to fix
this, if there is any such behaviour.


The MTOM approach with file caching needs additional excecution time.
Therefore we try to implement processing of large messages(more than
100MB) with SwA and java streams.

Once again, the underlying layer is the same.. So theoretically they
should take the same time..



Do you know where I can ask questions concerning the roadmap of specific
components of Axis2? Maybe this is the wrong mailing list for such kind
of question.

Security (rampart) was moved out to a separate project very recently.
I'm not sure whether the mailing list is up yet..

~Thilina

But anyway, thanks for your answer...

Regards,
Sebastian


Thilina Gunarathne schrieb:
> Rampart has the capability to secure attachments send using MTOM..
>
> I'm not sure whether is there or planned support for SwA..
>
> Thanks,
> Thilina
>
> On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> due to memory efficiency I work with SwA to send messages based on java
>> streams. Is there a possibility to secure such messages with Rampart? Is
>> there any support for SwA in Rampart planned for future releases?
>>
>> Regards,
>> Sebastian
>>
>>
>>
>
>







--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne

Also, some research I did indicated (if I understood it correctly) that in
Axis1.1.1 MTOM doesn't really work as an attachment - it ALWAYS will get
encoded as Base64 embedded in the message - there was a config option
previously (in Axis1.0) that allowed some sort of parameter to define binary
data nodes, but it seems to have disappears.

AFAIK it is working as expected... Can you give us more specific
clues... Please use TCPMON to capture messages.. SOAPMonitor has a bug
which shows all the attachments as inline base64..

~Thilina


-Original Message-
From: Sebastian Roschke [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 5:04 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2][Rampart] Rampart and SwA

Hi Thilina,

thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project... I don't know the excact reasons for that, but in our
performance tests the MTOM approach requires a lot of additional memory.
The MTOM approach with file caching needs additional excecution time.
Therefore we try to implement processing of large messages(more than
100MB) with SwA and java streams.

Do you know where I can ask questions concerning the roadmap of specific
components of Axis2? Maybe this is the wrong mailing list for such kind
of question.
But anyway, thanks for your answer...

Regards,
Sebastian


Thilina Gunarathne schrieb:
> Rampart has the capability to secure attachments send using MTOM..
>
> I'm not sure whether is there or planned support for SwA..
>
> Thanks,
> Thilina
>
> On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> due to memory efficiency I work with SwA to send messages based on java
>> streams. Is there a possibility to secure such messages with Rampart? Is
>> there any support for SwA in Rampart planned for future releases?
>>
>> Regards,
>> Sebastian
>>
>>
>>
>
>





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Ryan Nelsestuen
I have done some investigating in the Rampart module and one reason it uses
a lot of memory is that in the RampartEngine it creates a RampartMessageData
which appears to convert the entire message to a DOM and then back to OM.
Bypassing this processing by modifying the Rampart module.xml allows us to
do "true" streaming (but of course, you can't do that if you actually want
Rampart to modify the outbound or inbound message).

Also, some research I did indicated (if I understood it correctly) that in
Axis1.1.1 MTOM doesn't really work as an attachment - it ALWAYS will get
encoded as Base64 embedded in the message - there was a config option
previously (in Axis1.0) that allowed some sort of parameter to define binary
data nodes, but it seems to have disappears.

-Original Message-
From: Sebastian Roschke [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 5:04 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2][Rampart] Rampart and SwA

Hi Thilina,

thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project... I don't know the excact reasons for that, but in our
performance tests the MTOM approach requires a lot of additional memory.
The MTOM approach with file caching needs additional excecution time.
Therefore we try to implement processing of large messages(more than
100MB) with SwA and java streams.

Do you know where I can ask questions concerning the roadmap of specific
components of Axis2? Maybe this is the wrong mailing list for such kind
of question.
But anyway, thanks for your answer...

Regards,
Sebastian


Thilina Gunarathne schrieb:
> Rampart has the capability to secure attachments send using MTOM..
>
> I'm not sure whether is there or planned support for SwA..
>
> Thanks,
> Thilina
>
> On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> due to memory efficiency I work with SwA to send messages based on java
>> streams. Is there a possibility to secure such messages with Rampart? Is
>> there any support for SwA in Rampart planned for future releases?
>>
>> Regards,
>> Sebastian
>>
>>
>>
>
>





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Sebastian Roschke
Hi Thilina,

thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project... I don't know the excact reasons for that, but in our
performance tests the MTOM approach requires a lot of additional memory.
The MTOM approach with file caching needs additional excecution time.
Therefore we try to implement processing of large messages(more than
100MB) with SwA and java streams.

Do you know where I can ask questions concerning the roadmap of specific
components of Axis2? Maybe this is the wrong mailing list for such kind
of question.
But anyway, thanks for your answer...

Regards,
Sebastian


Thilina Gunarathne schrieb:
> Rampart has the capability to secure attachments send using MTOM..
>
> I'm not sure whether is there or planned support for SwA..
>
> Thanks,
> Thilina
>
> On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> due to memory efficiency I work with SwA to send messages based on java
>> streams. Is there a possibility to secure such messages with Rampart? Is
>> there any support for SwA in Rampart planned for future releases?
>>
>> Regards,
>> Sebastian
>>
>>
>>
>
>




signature.asc
Description: OpenPGP digital signature


Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne

Rampart has the capability to secure attachments send using MTOM..

I'm not sure whether is there or planned support for SwA..

Thanks,
Thilina

On 3/1/07, Sebastian Roschke <[EMAIL PROTECTED]> wrote:

Hello,

due to memory efficiency I work with SwA to send messages based on java
streams. Is there a possibility to secure such messages with Rampart? Is
there any support for SwA in Rampart planned for future releases?

Regards,
Sebastian






--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]