axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mary Thompson <>
Subject Problem attaching ws-policy at message level
Date Wed, 08 Oct 2008 01:01:53 GMT
Has anyone had success in attaching ws-policy at the message level in 
the file? I am trying to get the request  messages signed 
and time stamped and the response messages just time stamped.

I have followed Nandana's tutorial at and 
used the following PolicyAttachement element

identifier="binding:soap11/operation:createReservation/in" />
identifier="binding:soap12/operation:createReservation/in" />
     <wsp:policy wsu:id="signedMsgPolicy"


The service seems to just ignore the signedParts. E.g when I send it a 
non-signed body it does not reject the message. Just to see what was 
happening, I tried attaching the policy to the response message and it 
did not sign the response.

I have also tried to put the policy in-line in the action-mapping 
element, but it made no difference.

If anyone has gotten this to work, I would love to hear how.

I'm using axis 1.4.1 and the Rampart nightly build from Oct 1 .

Mary Thompson

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message