You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Steven Thein <st...@oracle.com> on 2010/04/27 21:31:20 UTC
CXF2.2.2 to CXF2.2.7....
Hi,
I have a client side outbound interceptor added to the interceptor chain with the following overridden method
public void handleMessage(SoapMessage message)
throws Fault
{
SoapVersion version = message.getVersion();
try
{
SOAPMessage soapMessage = message.getContent(SOAPMessage.class);
WSSOAPEnvelope wsEnvelope = new WSSOAPEnvelope(soapMessage.getSOAPPart().getEnvelope());
WSSecurity sec = WSSecurity.newInstance(wsEnvelope.getOwnerDocument());
.
..
}
catch(Exception e)
{
}
In CXF2.2.2, message.getContent() returns valid information, but in CXF2.2.7 message.getContent() returns null. Is this a bug in CXF2.2.7? Is there a different method that I can use instead of getContent()?
Thanks
Steve