Hai Sumedha, APIM team,

                                     As I spoke to the APIM team I have
done the following steps in order to integrate the Greg REST API with APIM
functionalities.

1) I have built the latest APIM and Greg.

2) The Greg rest api is running at http://localhost:9763/resource context.

3) I have published an API via API publisher. The following details have
been given when added an API

*) name of an api - rest
*) context - /reg
*) version- 1.0.0
*) production url/target endpoint url - http://localhost:9763/resource
*) Tier - bronze.
*) API resources - /comments* and http method - GET.

4) published the added api.

5) Logged in to the API store and api appeared.

6) subscribed to that api.

7) generated the access token.

8) Called the api manager. the URL was http://127.0.0.1:8281/reg/1.0.0.
since I have set the offset to 1 the port number was 8281.

9) I have tried the following URL from the rest client with the generated
bearer token. http://127.0.0.1/8281/reg/1.0.0/comments?path=/_system/2.xml

10) therefore when I give the above call it suppose to append the
/comments?path=/_system/2.xml to the *target endpoint url *which is *
http://localhost:9763/resource* .

11) But i have got the following exception "Endpoint reference for the
operation not found. /reg/1.0.0/comments?path=/_system/2.xml".

12) When I give the rest call straight from the REST client to the registry
rest api it works fine.

APIM team please suggest me  that how can I over come this problem.


Thanks!
Ragu
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to