RSS

Consuming a SOAP service using WSO2 API Manager with Consumer Key And Consumer Secret

09 Oct

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

Advertisements
 
1 Comment

Posted by on October 9, 2012 in wso2

 

Tags: , , ,

One response to “Consuming a SOAP service using WSO2 API Manager with Consumer Key And Consumer Secret

  1. Neha

    September 29, 2015 at 1:18 pm

    Thank you for nice example. However I am interested in developing the same with Spring MVC Restful web services. Could you please provide us such steps, plese?

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: