Re: [AXIS2]
robertlazarski <[email protected]> Fri, 10 Aug 2018 07:54:13 -0600
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBWLBW9c2Kgm9E_a40e1MYpXx0cOtQNz_mdpDfizqyx3KA@mail.gmail.com> |
On Fri, Aug 10, 2018 at 7:48 AM Viji <[email protected]> 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";