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-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org