Hi!

It might be worth mentioning that the WSSecurityException is thrown upon an XMLStreamException in Axis2Util (line 148, when serializing envelope), with Message:

"Trying to bind URI http://www.w3.org/XML/1998/namespace to prefix "{0}" (can only bind to xml)"

Please help me, thx a lot!!!!
/Ben


Here's what i wrote yesterday:

Hi!

Here is a problem i can not solve, even though i've seen a couple similar threads by some other Rampart users, but never with a solution:

 - I am securing a web service using Rampart (the web service works perfectly otherwise), i've followed instructions from various tutorials, eliminating lots of issues, but one remains obscure: when sending a SOAP request to my service, the server is able to decrypt it (i'm only using encryption for the moment) and process it properly, but then when Rampart handles the security headers for the response, i get a WSSecurityException with message "Error in converting SOAP Envelope to Document" in org.apache.rampart.util.Axis2Util, line 158, through class org.apache.rampart.handler.WSDoAllSender at line 196: "doc = Axis2Util.getDocumentFromSOAPEnvelope(msgContext.getEnvelope(), useDoom);", which eventually throws an AxisFault, with message "WSDoAllReceiver: Error in converting to Document" (note the error in the code: it should be Sender and not Receiver, but anyway).

 - I'm using Tomcat 5.5.25, Axis2 1.3, Rampart 1.3., jdk 1.6.03

 - I can provide more details if need be, of course, but in a first mail i don't want to include overwhelming stack traces, pieces of code, etc.

Thx for your help!!!
/Ben


Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

Reply via email to