Hello,

I have a similar problem with Axis 1.4 and Rampart 1.4.
The problem in my case appears when I am trying to send an element as CDATA
-
xmlWriter.writeCData(localPayload);
With engaged Rampart module I get the "RampartException: Error in extracting
message properties".

Did you solve your problem / found a workaround?

Thanks,
Yuri


Fabian Christ wrote:
> 
> Hi,
> 
> perhaps somebody can help:
> 
> I have a web service generated using WSDL2Java from Axis2 1.2 with ADB
> binding.
> Now the web service output is a data structure which contains any-fields.
> For
> those fields I can add any OMElement when creating the response data.
> 
> So I have a mixture of ADB bound elements with extra elements filled with
> OMElements. I think the design is OK.
> 
> Now I'm using the brand new Rampart 1.2 release for handling the security
> header
> of incoming messages. I'm using this to get a security token from the
> header
> specified by WS-Security.
> 
> In version 1.1.1 with Rampart 1.1 this works fine for my implementation.
> 
> But now comes the problem: During the Outflow raises Rampart an exception
> and
> says "Error in extracting message properties" The reason is the method
> getDocumentFromSOAPEnvelope from Axis2Util class which tries to add a
> security
> header to the outgoing message. Here the implementation crashes with
> "Error in
> converting SOAP Envelope to Document".
> 
> When deactivating Rampart the service response and the resulting XML is
> OK.
> 
> Before I open a bug in Jira with all details - has somebody similar
> problems? Or
> can somebody point me somewhere to find out how to use Rampart and Rahas
> to use
> SecurityTokenService functionalities?
> 
> Thanks,
> Fabian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscr...@ws.apache.org
> For additional commands, e-mail: axis-user-h...@ws.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-1.2-and-Rampart-1.2-Using-ADB-and-AXIOM-tp10983886p24316090.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to