Hi The issue[1] is fixed now. Problem was that the pull request[2] was not merged in to wso2-synapse. The pull request[2] was supposed to fix the issue[3] which was introduced by the fix done for issue[4]. Missing the fix[1] in synapse-nhttp-transport with carbon kernel 4.4.4 having the fix[4], led to this issue.
PR[1] is merged and now APIs are working fine for tenant as well. [1] https://wso2.org/jira/browse/ESBJAVA-4512 [2] https://github.com/wso2/wso2-synapse/pull/450 [3] https://wso2.org/jira/browse/ESBJAVA-4386 [4] https://wso2.org/jira/browse/CARBON-15759 Thanks, Nuwanw On Tue, Mar 22, 2016 at 5:26 PM, Sam Sivayogam <[email protected]> wrote: > No i tried with 404, 503 but its the same > > On Tue, Mar 22, 2016 at 11:51 AM, Viraj Senevirathne <[email protected]> > wrote: > >> Hi Sam, >> Is it working for other status code? >> >> On Mon, Mar 21, 2016 at 8:07 PM, Sam Sivayogam <[email protected]> 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 : [email protected] >> > > > > -- > *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 > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Nuwan Wimalasekara Senior Software Engineer - Test Automation WSO2, Inc.: http://wso2.com lean. enterprise. middleware phone: +94 71 668 4620
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
