First you have to follow the Charitha’s blog Consuming a SOAP service using WSO2 API Manager
and create the API for your service.
In the above example its using the given “Access Token” to invoke the API now here what I’m going to explain how to invoke the API using “Access Token” generated by using “Consumer Key”,”Consumer Secret”
Take the “Consumer Key”,”Consumer Secret” and Encode to Base64 format. You can do this with the following web site http://www.base64encode.org/ What you have to do is give the “<Consumer Key>:<Consumer Secret>” as follows and take the encoded value
Download the Jmeter project created for invoke the login API in API manager In this project you have to replace the Authorization value as follows
“Basic<Space>Your Encode Base64 Value” and run the jmeter script then take the “access_token” as follows
This access token you can use to access the API