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]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to