Hi  Everyone, 

I'm gettngs this exception.

org.apache.cxf.interceptor.Fault: Unable to create envelope from given
source: 
        at
org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:182)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.jaxws.DispatchImpl.onMessage(DispatchImpl.java:332)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1996)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1832)
        at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:591)
        at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:179)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:124)
        at com.sxi.test.Dispatcher.main(Dispatcher.java:41)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create
envelope from given source: 
        at
com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114)
        at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:71)
        at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122)
        at
org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:126)
        ... 11 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create
envelope from given source because the root element is not named "Envelope"
        at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.lookForEnvelope(SOAPPartImpl.java:151)
        at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:118)
        at
com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:104)
        ... 14 more
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Unable to
create envelope from given source: 
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:194)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:124)
        at com.sxi.test.Dispatcher.main(Dispatcher.java:41)
Caused by: org.apache.cxf.interceptor.Fault: Unable to create envelope from
given source: 
        at
org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:182)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.jaxws.DispatchImpl.onMessage(DispatchImpl.java:332)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1996)
        at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1832)
        at 
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
        at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:591)
        at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
        at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:179)
        ... 2 more
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create
envelope from given source: 
        at
com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114)
        at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:71)
        at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122)
        at
org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:126)
        ... 11 more

The output message I'm getting starts like this

<?xml version = "1.0" encoding = "UTF-8"?>
<outputMessage>
        <cbl:SERVICEOUTPUTAREA xmlns:SOAP-ENV =
"http://schemas.xmlsoap.org/soap/envelope/"; xmlns:cbl =
"http://www.DFHMADPL.0.Response.com";>
                <dfhmah>

it's not container in a soap envelope.
Is there any way to fix this?
-- 
View this message in context: 
http://www.nabble.com/How-TO-Handle-Messages-With-No-SOAP-ENvelope-tp18908079p18908079.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to