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?

Thanks
Thusitha

On Wed, Mar 29, 2017 at 12:01 PM, Abimaran Kugathasan <[email protected]>
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 : [email protected]
> 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
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to