Hi Peter,

Are you using wss4j?

Dimuthu.

----- Original Message -----
From: "pacow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 29, 2004 8:00 AM
Subject: XML signature format issue in request?


> I'm having trouble getting my signature verified by the host server
> (who is remote and uses ibm software), in my code i call:
>
>   FileOutputStream f = new FileOutputStream(fileName);
>   f.write(requestMessage.getSOAPPartAsBytes());
>   f.flush();
>
> to observe the request as it is sent, one curious thing i note
> is that the signature is broken up, and displayed over three lines:
>
> <ds:SignatureValue>
>
STnDSvXfwg5DupPnQOK2JR5yLYSTn32FPM5c7T4YlFxZZUBtU44QY2rkhXMXZqXW+vnMinY5Tfcs
>
TLrgbscpDTb4jRhDuvlKKIvgY1W3wURpPuvuSVFwjBqUOjiZJL/gxOsgUMLZFLitzdn4u8/zbwfn
> I2JQWSVU5LSNa+7T+ek=
> </ds:SignatureValue>
>
> is this a problem? shouldn't it be like this:
>
>
<ds:SignatureValue>STnDSvXfwg5DupPnQOK2JR5yLYSTn32FPM5c7T4YlFxZZUBtU44QY2rkh
XMXZqXW+vnMinY5TfcsTLrgbscpDTb4jRhDuvlKKIvgY1W3wURpPuvuSVFwjBqUOjiZJL/gxOsgU
MLZFLitzdn4u8/zbwfnI2JQWSVU5LSNa+7T+ek=</ds:SignatureValue>
>
> ?
>
> thanks,
> -peter

Reply via email to