Hi,

I use CXF to provide web service and one of my class is MTOM enabled :

        <jaxws:endpoint id="MyService" 
                implementor="beb.ws.provider.impl.MyService"
                address="/MyService">
                <jaxws:properties>
                        <entry key="mtom-enabled" value="true" />
                </jaxws:properties>
        </jaxws:endpoint>

All the soap response received from this web service has the following
content-type "application/xop+xml"

The problem is when i throw exception in my web method.
An exception is sent and transformed as Soap Fault but the soap response
doesn't have anymore MTOM content-type "application/xop+xml" but
"text/xml;charset=UTF-8"

The client which consume my webservice is coded in .NET (WSE 3) and display
an error because it expect "application/xop+xml" instead of
"text/xml;charset=UTF-8"

There is a solution with interceptor or something like that?

Thanks in advance

-- 
View this message in context: 
http://old.nabble.com/Force-MTOM-Fault-tp27714482p27714482.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to