axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohitganjam <rohit.gan...@tcs.com>
Subject Response Validation with Rampart
Date Mon, 24 Oct 2011 07:55:48 GMT

Hi,
I'm trying to run an asynchronous web service using SOAP over JMS with
security enabled through rampart.
I'm able to send messages properly, referring to the policy file and then
using fireAndForget to generate the message.

However, while receiving the message, i get a String buffer, which i set
into a SOAP envelope and put that into a MessageContext. Then i use
RampartReceiver.invoke method to validate the response message.
The problem is that when i do this, my policy file defines the UsernameToken
as Initiator Only, but my incoming message fails saying that its expecting
the UsernameToken in request. My incoming message is a response, not a
request, but its getting validated as a request instead.. Is there any way
to make this a response??
-- 
View this message in context: http://old.nabble.com/Response-Validation-with-Rampart-tp32708557p32708557.html
Sent from the Axis - User mailing list archive at Nabble.com.


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


Mime
View raw message