Hi,
yes .the .NET client signs everything, the timestamp and the addressing tags 
and the body. I found the mistake by myself. Look at the configuration in my 
services.xml. There I have written <signatureparts> but it must be 
<signatureParts> with a large P. That was everything. Thank you.

Greetings
Chris
----- original Nachricht --------

Betreff: Re: Rampart 1.1 Signing Timestamp
Gesendet: Di, 02. Okt 2007
Von: Dimuthu<[EMAIL PROTECTED]>

> Hi Chris,
> 
> As I understand you are using .NET client to talk to a service hosted in
> Axis2. You have configured security for the service using Rampart.
> 
> Axis2 and Rampart give this error message because they want the
> Timestamp of the incoming message to be signed (at the server side).
> 
> When you send out the message from .NET client do you sign the
> Timestamp?
> 
> Thank you,
> Dimuthu
> 
> 
> On Mon, 2007-10-01 at 08:41 +0200, Christian Mielke wrote:
> > Hello, I use Rampart 1.1 and I want to sign a timestamp. I use folowing
> configuration inmy services.xml: 
> > 
> > <parameter name="OutflowSecurity"> 
> >    <action> 
> >       <items>Timestamp Signature Encrypt</items> 
> >       <signaturePropFile>server.properties</signaturePropFile> 
> >       <user>username</user> 
> >       <signatureparts> 
> >          {Element}{http://www.w3.org/2005/08/addressing}To; 
> >          {Element}{http://www.w3.org/2005/08/addressing}ReplyTo; 
> >          {Element}{http://www.w3.org/2005/08/addressing}MessageID; 
> >          {Element}{http://www.w3.org/2005/08/addressing}Action; 
> >          {Element}{http://www.w3.org/2005/08/addressing}RelatesTo; 
> >         
> {Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity
> -utility-1.0.xsd}Timestamp; 
> >          {}{}Body; 
> >       </signatureparts> 
> >       <enableSignatureConfirmation>false</enableSignatureConfirmation> 
> >       <encryptionUser>clientusername</encryptionUser> 
> >      
> <encryptionSymAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</encrypt
> ionSymAlgorithm> 
> >       <encryptionKeyIdentifier>IssuerSerial</encryptionKeyIdentifier> 
> >       <passwordCallbackClass>handler</passwordCallbackClass> 
> >    </action> 
> > </parameter> 
> > 
> > I call the service with a .NET WCF client and I always get the error that
> the timestamp with ID xxx must be signed. Why? Timestamp is part of
> signatureparts? It would be very nice if someone could give me a hint. 
> > 
> > Greetings 
> > Chris
> -- 
> http://wso2.org
> 
> 

--- original Nachricht Ende ----

Reply via email to