Hi Manu, Remove NO_ENTITY_BODY property which is in axis2 scope.
<property name="NO_ENTITY_BODY" scope="axis2" action="remove"/> On Mon, Mar 23, 2015 at 12:36 PM, Manuranga Perera <[email protected]> wrote: > I created following dummy API in ESB 4.8.1 , please help me figure out why > it returns an empty body. > > <api xmlns="http://ws.apache.org/ns/synapse" name="imgs" context="/imgs"> > <resource methods="GET"> > <inSequence> > <payloadFactory media-type="json"> > <format>{"hello":"world"}</format> > <args></args> > </payloadFactory> > <property name="messageType" value="application/json" > scope="axis2"></property> > <respond></respond> > </inSequence> > </resource> > </api> > > -- > With regards, > *Manu*ranga Perera. > > phone : 071 7 70 20 50 > mail : [email protected] > -- *Isuru Udana* Senior *Software Engineer* WSO2 Inc.; http://wso2.com email: [email protected] cell: +94 77 3791887 blog: http://mytecheye.blogspot.com/ twitter: http://twitter.com/isudana
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
