No i tried with 404, 503 but its the same

On Tue, Mar 22, 2016 at 11:51 AM, Viraj Senevirathne <vir...@wso2.com>
wrote:

> Hi Sam,
> Is it working for other status code?
>
> On Mon, Mar 21, 2016 at 8:07 PM, Sam Sivayogam <s...@wso2.com> wrote:
>
>> Hi All,
>>
>> After doing the following upgrades in APIM, Response Body is missing when
>> invoking the REST API[1] In tenant mode.
>>
>> Carbon kernel                     4.4.3 to 4.4.4
>> Carbon mediation               4.6.1-ALPHA to 4.6.1-BETA
>> Carbon multi-tenancy  4.5.0 to 4.5.1
>>
>> I was also able to reproduce the same issue in the latest build which I
>> got from [2]. I added the REST API[1] in super tenant mode and tenant mode.
>> when I invoke the API in super tenant mode it works perfectly and I get a
>> JSON response with HTTP Response code 200. But when I Invoke the same API
>> in tenant mode the response body is missing and the HTTP Response code is
>> 200 . In the attached wire logs you can see that response body is coming
>> from backend service and its dropped when sending back the response to
>> client. Is this a known issue ?
>>
>> [1]
>> <api xmlns="http://ws.apache.org/ns/synapse";
>>      name="testapi"
>>      context="/testapi">
>>    <resource methods="GET" url-mapping="/get">
>>       <inSequence>
>>          <send>
>>             <endpoint>
>>                <http uri-template="https://httpbin.org/"/>
>>             </endpoint>
>>          </send>
>>       </inSequence>
>>       <outSequence>
>>          <send/>
>>       </outSequence>
>>    </resource>
>> </api>
>>
>> [2]
>> https://wso2.org/jenkins/view/product-builds/job/product-esb/lastStableBuild/org.wso2.esb$wso2esb/
>>
>> Thanks,
>> Sam
>> --
>> *Sam Sivayogam*
>>
>> Software Engineer
>> Mobile  : +94 772 906 439
>> Office   : +94 112 145 345
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Viraj Senevirathne
> Software Engineer; WSO2, Inc.
>
> Mobile : +94 71 958 0269
> Email : vir...@wso2.com
>



-- 
*Sam Sivayogam*

Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to