Hi Thusitha,

On Wed, Mar 29, 2017 at 12:04 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Abimaran,
>
> In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
>> org.wso2.msf4j.Interceptor.
>> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
>> works correctly.
>> I debugged MSF4JMessageProcessor, there is a method named
>> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
>> haven't hit when I send GET.
>
> This is the entry point for MSF4J. If that doesn't get hit, it implies due
> to some reason the http message doesn't reach to MSF4J side through the
> transport. But that is strange. COuold you please verify that?
>

I'm getting 405 for GET, who is responding with 405? How can I verify? I
thought MSF4J uses carbon-transport as underlying framework for HTTP
transport.



>
> Thanks
> Thusitha
>
> On Wed, Mar 29, 2017 at 12:01 PM, Abimaran Kugathasan <abima...@wso2.com>
> wrote:
>
>> Hi Dev,
>>
>> In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
>> org.wso2.msf4j.Interceptor.
>>
>> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
>> works correctly.
>>
>> I debugged MSF4JMessageProcessor, there is a method named
>> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
>> haven't hit when I send GET.
>>
>> Which component calls this method? Also is there any configuration to
>> decide which HTTP verb should be served?
>>
>> Appreciate your responses.
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>
>> <http://stackoverflow.com/users/515034>
>> <http://lk.linkedin.com/in/abimaran>
>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
>> <https://twitter.com/abimaran>
>>
>>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog      alokayasoya.blogspot.com
> About    http://about.me/thusithathilina
> <http://wso2.com/signature>
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimarank>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to