Re: rampart and message with no parameter

2008-07-02 Thread Manjula Peiris
On Wed, 2008-07-02 at 18:52 +0530, Manjula Peiris wrote: > There can be messages with empty bodies. For example WS-Reliable > messaging sends such messages. I think this is a bug in Rampart/C. > Because what following assertion says is encrypt the first child of body > if it is there. > > >

Re: rampart and message with no parameter

2008-07-02 Thread Manjula Peiris
There can be messages with empty bodies. For example WS-Reliable messaging sends such messages. I think this is a bug in Rampart/C. Because what following assertion says is encrypt the first child of body if it is there. So if the body is not there it should not return an error. On Wed, 2

Re: rampart and message with no parameter

2008-07-02 Thread Supun Kamburugamuva
> >> The web service being developed has many messages, some of them doesn't > have any parameters, e.g GetDeviceList() . In this case, the body is empty > but the header is not empty and contains the action which is used by the > server to dispatch this message. Therefore, it makes sense to send

Re: rampart and message with no parameter

2008-07-02 Thread Frederic Heem
Samisa Abeysinghe wrote: Frederic Heem wrote: Dear, Rampart has been successfully used for messages with at least one parameter. To be precise, sec_echo has been used with scenario3. However, a problem arises when a message without parameter has to sent, indeed, in this case, the body is empt

Re: rampart and message with no parameter

2008-07-01 Thread Supun Kamburugamuva
Hi, If I'm right, most probably I'm. The problem is that in your policy you are saying to encrypt the message body i.e . But you don't have a message body. So it is perfectly normal to get this error. If this is the case please remove that part from the policy. Supun.. On Wed, Jul 2, 200

Re: rampart and message with no parameter

2008-07-01 Thread Samisa Abeysinghe
Frederic Heem wrote: Dear, Rampart has been successfully used for messages with at least one parameter. To be precise, sec_echo has been used with scenario3. However, a problem arises when a message without parameter has to sent, indeed, in this case, the body is empty and rampart refuses to

rampart and message with no parameter

2008-07-01 Thread Frederic Heem
Dear, Rampart has been successfully used for messages with at least one parameter. To be precise, sec_echo has been used with scenario3. However, a problem arises when a message without parameter has to sent, indeed, in this case, the body is empty and rampart refuses to send the message becau