XmlBeansSettingsImpl settings = request.getSettings();
if( !settings.getBoolean( WsdlRequest.INLINE_RESPONSE_ATTACHMENTS ) && responseContentTypeHeader != null
&& responseContentTypeHeader.getValue().toUpperCase().startsWith( "MULTIPART" ) )
{
return new WsdlMimeMessageResponse( request, httpMethod, requestContent, context );
}
else
{
return new WsdlSinglePartHttpResponse( request, httpMethod, requestContent, context );
}