Hi Swapnesh, If you explain your requirement bit more we might can propose a proper solution with Axis2. It seems you can use Axis2 builder formatter approach, where build get your non XML message and convert it to a well formed XML message which backend service require. Axis2 has JSON support in this way. Saying that if there are more detail on exact requirement thenwe can propose a good solution.
Thanks, Shameera. On Fri, Aug 1, 2014 at 4:26 AM, Martin Gainty <mgai...@hotmail.com> wrote: > why would you want SOAP Service such as CXF or AXIS accept request or > respond with non-XML? > It is outside the scope of the SOAP Protocol 1.1 and outside the SOAP > Protocol 1.2 spec then neither CXF or Axis can support it > > Synapse should provide a converter to SOAP1.2 > If not we can write them one ...but not for free of course > > Saludos, > Martin > ________________________ > > > ------------------------------ > From: swapnesh.gan...@jeppesen.com > To: java-user@axis.apache.org > Date: Thu, 31 Jul 2014 16:01:05 -0600 > Subject: Make axis2 deliver non XML messages to service > > > Is it possible to make Axis2 accept non XML messages? I know it can take > Rest messages, but I have a requirement to accommodate some older products > which won't send a well formed XML message to the services. We are > currently using synapse, it acts as proxy in between client and services > but we are trying to get away from synapse. > > In short I want Axis2 to deliver message to a service whether or not it's > Valid according to Axis2. > > > > > -- Best Regards, Shameera Rathnayaka. email: shameera AT apache.org , shameerainfo AT gmail.com Blog : http://shameerarathnayaka.blogspot.com/