public class FixContentTypeOutInterceptor
extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
Older versions of Axis 2 only accept our message if the content-type
contains a type of "text/xml". The CXF AttachmentSerializer
does not set this field. Therefore, we add it with this interceptor.
Constructor and Description |
---|
FixContentTypeOutInterceptor()
Constructs the interceptor.
|
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage message) |
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
Copyright © 2018 Open eHealth Foundation. All rights reserved.