axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffmo <j...@rtr.com>
Subject Re: Signing a message?
Date Thu, 04 Nov 2010 17:22:03 GMT

Thanks for responding.  Yes, that was the starting point for my code changes
(mostly sample 11).  I haven't had any luck.  I feel like this should be a
VERY simple thing yet I've spent many hours without success.


Samisa Abeysinghe-2 wrote:
> 
> Have you looked into Rampart samples?
> 
> Look for signing with a policy that specifies part of the SOAP body to be
> signed.
> 
> On Thu, Nov 4, 2010 at 9:20 PM, jeffmo <jeff@rtr.com> wrote:
> 
>>
>> I have been trying to sign a simple message for a while and I must be
>> missing
>> something simple.  I have the code working fine without a signature.  I
>> use
>> a ServiceClient.sendReceive(payload) and it works fine without trying to
>> sign anything.  "payload" is an OMElement.
>>
>> When I tried setting OutflowSecurity in my axis2_default.xml file, I can
>> see
>> the signature in the debug log, but it's part of a document which has my
>> original document wrapped in an extra soap envelope and even though I see
>> it
>> in the debug log, the document that gets sent is the original unsigned
>> document.
>>
>> I have attempted to explicitly sign the payload in my code and haven't
>> had
>> much more luck there.
>>
>> Does anyone have a simple example of how to sign an XML document which is
>> stored as an OMElement?
>>
>> Thanks!
>> --
>> View this message in context:
>> http://old.nabble.com/Signing-a-message--tp30133371p30133371.html
>> Sent from the Axis - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>  Samisa ...
> 
> http://samisa-abeysinghe.blogspot.com/
> 
> 

-- 
View this message in context: http://old.nabble.com/Signing-a-message--tp30133371p30134264.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message