Thanks Mr. Daniel Kulp !  I am glad to see you rely. I found you know
well about CXF.

Let me back to this topic. If I build up an String instead of an SAAJ
model,the sm is always null.

The Program like that:

*********************************************************
    public void handleMessage(SoapMessage msg) throws Fault {

                // TODO Auto-generated method stub
                String soapContent ;
                String sm = msg.getContent(String.class);
                /*sm always is null*/

        }
*********************************************************

But when I saw the msg variable values in the eclipse debug mode. I can see
the head of response soap message that include
"{javax.xml.ws.wsdl.port={http://helloimpl.service.****.**/}HelloServiceImplPort,
org.apache.cxf.service.model.MessageInfo=[MessageInfo OUTPUT:
{urn:dslforum-org:cwmp-1-0}sayHelloResponse]...........".

However, I could see the contents field of msg variable is always null in
the eclipse debug mode.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-Interceptor-get-Soap-Message-is-null-tp4516145p4516314.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to