473,327 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

priority on soap extension

Hi,

If I have two soap extensions, one to encrypt data, and
the other to compress data, which should have higher
priority on the client, and on the server?

The information I have indicates that priority determines
the order in which soap extensions are applied. But I
would think they would be applied in reverse order for
serialization vs. deserialization too (as this case would
require)?

Thanks,

Jon Paugh
Nov 23 '05 #1
3 2854
Hello Jon,
Whatever order you choose at the client the reverse order needs to be applied
on the server side.
Client if the priorities are like this Compression 0 - Encryption - 1 means
its going to compress first and encrypt after

Server needs to have the priorities like this Compression 1 - Encryption
- 0 means its going to decrypt first and uncompress later

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi,

If I have two soap extensions, one to encrypt data, and the other to
compress data, which should have higher priority on the client, and on
the server?

The information I have indicates that priority determines the order in
which soap extensions are applied. But I would think they would be
applied in reverse order for serialization vs. deserialization too (as
this case would require)?

Thanks,

Jon Paugh

Nov 23 '05 #2
Thanks Dilip ,

Are you sure that you want to reverse the priorities on
the client vs the server? I cannot find any reference for
this. I am wondering if maybe the priority indicates the
order for soap message send, and the reverse order is
used for soap message receipt? That would be more
consistent.

I guess I should test it. Would love a MSDN reference for
this.

I am confused about what group is for too. I see the
reference :

The three relative priority groups for SOAP extensions
are: SOAP extensions configured using an attribute and
SOAP extensions specified in the configuration file with
a group setting of 0 or 1. SOAP extensions configured
using an attribute are members of the medium group. SOAP
extensions configured using a configuration file with a
group setting of 0 have the highest relative priority.
Those with a group setting of 1 have the lowest relative
priority.
But not sure what this means exactly.

Jon Paugh

-----Original Message-----
Hello Jon,
Whatever order you choose at the client the reverse order needs to be appliedon the server side.
Client if the priorities are like this Compression 0 - Encryption - 1 meansits going to compress first and encrypt after

Server needs to have the priorities like this Compression 1 - Encryption- 0 means its going to decrypt first and uncompress later

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi,

If I have two soap extensions, one to encrypt data, and the other to compress data, which should have higher priority on the client, and on the server?

The information I have indicates that priority determines the order in which soap extensions are applied. But I would think they would be applied in reverse order for serialization vs. deserialization too (as this case would require)?

Thanks,

Jon Paugh

.

Nov 23 '05 #3
Hello Dilip,

[0] - http://msdn.microsoft.com/library/de...Extensions.asp
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hello Jon,
Whatever order you choose at the client the reverse order needs to
be applied
on the server side.
Client if the priorities are like this Compression 0 - Encryption - 1
means its going to compress first and encrypt after

Server needs to have the priorities like this Compression 1 -
Encryption - 0 means its going to decrypt first and uncompress later

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi,

If I have two soap extensions, one to encrypt data, and the other to
compress data, which should have higher priority on the client, and
on the server?

The information I have indicates that priority determines the order
in which soap extensions are applied. But I would think they would be
applied in reverse order for serialization vs. deserialization too
(as this case would require)?

Thanks,

Jon Paugh

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
Hi everyone, I wonder how is it possible to make PHP SOAP extension convert the returned complex type to an instance of one of my classes. Here I give you a short example: complexTest.wsdl:...
4
by: Ramon de Klein | last post by:
I have created a SOAP extension that can be enabled using a SoapExtensionAttribute. This attibute holds two additional properties that are used to configure the SOAP extension. This works fine, but...
0
by: Matt Wood | last post by:
Hi, I have written a Web Service for a customer which expects a SOAP message with Document/Literal encoding, and uses RoutingStyle=SoapServiceRoutingStyle.RequestElement to route the SOAP body...
0
by: zac# | last post by:
i interesting to try using soap extension, and i using sample on msdn. but when i debug my soap extension, i have error message... i invoke soap extension using client desktop application, i want...
0
by: Robert Rotstein | last post by:
I want to write a SOAP extension that gets activated from both the client and the server. From whast I have read, this should be quite easy to do. Yet I can only activate it from the server. I...
0
by: Robert Rotstein | last post by:
I want to write a SOAP extension that gets activated from both the client and the server. But so far, I have only been able to activate from the server. I have a service (.asmx file) which...
2
by: Frederik Vanderhaegen | last post by:
Hi, I'm writing a simple soap extension for a webservice I developed (without the use of an extension the webservice works perfect). The extension is registered through the web.config files of...
0
by: maraujo | last post by:
Hi, I have built a customized soap extension in order to log soap messages in client side. Is it possible? On every webservice call, I want to log all soap messages in client side (c:\log.txt...
1
by: klerik123456 | last post by:
I try set soap extension attributes on client side. For example: Implementation in web service: public class EncryptMessageAttribute : SoapExtensionAttribute { private string...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.