On Fri, Aug 10, 2018 at 7:48 AM Viji <vijim...@gmail.com> wrote:

> yes you are right, same issue i had reported in developer mail list. I got
> subscribed to developer mail list by mistake. so I've unsubscribed and
> added account in user list .
>
> Regarding the issue ,
>
> In mimebuilder
>  String type = ct.getParameter("type");
>  Builder builder = MessageProcessorSelector.getMessageBuilder(type,
> msgContext);
>
> here type is null so builder is getting as null.
>
> setting contetn type in request
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "1000");
> options.setProperty(Constants.Configuration.DISABLE_REST, Boolean.TRUE);
> options.setProperty(Constants.Configuration.DISABLE_SOAP12, Boolean.TRUE);
> options.setProperty(Constants.Configuration.CHARACTER_SET_ENCODING,
> "UTF-8");
> options.setProperty(Constants.Configuration.CONTENT_TYPE,
> org.apache.axiom.soap.SOAP11Constants.SOAP_11_CONTENT_TYPE);
>
> But i have no idea, how can fix this
>
>
See if this works for you:

options.setProperty(Constants.Configuration.CONTENT_TYPE,
Constants.MIME_CT_TEXT_XML);

Which is:

    public static final String MIME_CT_TEXT_XML = "text/xml";

Reply via email to