Usage of WSO2 API Manager's login api
Login uri in API Manager gateway is acting as another API. Actually what it does is expose OAuth2 login functionality as API. Once we send request with /login as context gateway will send to...
View ArticleHow to deploy WSO2 API Manager with BAM
Create database named am_stats_db to store summarized data from BAM. You don't need to create any tables inside database (analyzer scripts will create them when need).configure the data source...
View ArticleAdd custom dashboards to BAM2 to monitor API usage
The gadget generation tool is a step by step wizard that allows you to generate gadgets for your dashboard in a few simple steps. These steps are:Enter JDBC data source detailsEnter SQL to fetch...
View ArticleWhat happen when token generation and token validation in WSO2 API manager
WSO2 API Manager is a complete solution for publishing APIs, creating and managing a developer community and for scalably routing API traffic. It leverages proven, production-ready, integration,...
View ArticleWSO2 API manager data migration to 1.4.0 from 1.3.1
WSO2 API Manager is a complete solution for publishing APIs, creating and managing a developer community and for scalably routing API traffic. It leverages proven, production-ready, integration,...
View ArticleThrottling Support at API Resource Level and http verb level in WSO2 API manager
We will add Throttling Support at API Resource Level in API manager 1.5.0 and onwards. Here is a brief description on what we have done here.In WSO2 API manager we have API level throttling support and...
View ArticleHow to convert token API response into xml format WSO2 API manager - json to...
Here in this post i have described how to convert token/login API response into xml format WSO2 API manager. This is similar to json to soap conversion in WSO2 ESB. Here is the updated token API....
View ArticleHow to convert xml formatted authentication faliure error into JSON errors in...
For this we need to add additional sequence which convert message into JSON. Then we need to add that sequence to auth failure sequence so authentication faliure message will be convert and sent to...
View ArticleWSO2 ESB JSON to XML transformation sample
1. Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. goto wso2esb-4.7.0/samples/axis2Client/SimpleStockQuoteService/ Then run ant command to build sample(type ant)...
View ArticleHow to increase maximum number of Proxies using JMS Listeners - WSO2 ESB
Here we will see how we can increase maximum number of Proxies using JMS Listeners. When you create JMS proxy services in WSO2 ESB you might see something like below(if you created at-least 20 JMS...
View ArticleHow to get client IP from out going requests of WSO2 Elastic load balancer...
Normally when requests pass through load balancers client IP for actual back end server would be load balancers IP. But sometimes actual back end server may need actual client and load balancers (all...
View ArticleWSO2 ESB - How to secure API with Basic Auth
01. You can download basicAuth JAR file from the following location[1], copy it to the repository/component/lib directory, and restart the ESB. 02. Please copy this configuration to your synapse...
View ArticleHow to limit number of connections to cassandra server - WSO2 BAM2
We might need to limit number of connections to cassandra server due to some fine tuning purposes. Here we will see how we can do that.For this we can use rpc_max_threads parameter. Description about...
View ArticleRecommended system requirement for WSO2 carbon 4.2.0 based products
Here are list of recommended hardware configurations for WSO2 carbon 4.2.0 based products. With following specifications we can get maximum output of servers.Physical : 3GHz Dual-core Xeon/Opteron (or...
View ArticleHow to use AuthenticationAdmin service to authenticate user against WSO2...
In WSO2 products we use client server architecture within our servers. Any functionality available to you via WSO2 Carbon management console can also be invoked via a web service call. To invoke an...
View ArticleHow to fix issue in subscription page of the WSO2 API Manager due to missed...
Sometimes you may not able to view subscriptions in the Store of the WSO2 API Manager due to missing API from registry. When you visit subscription...
View ArticleHow Clustering and caching effect for WSO2 API Manager 1.2.0 distributed...
So here is a small description about caching and clustering configurations and parameters we used in WSO2 API manager. Lets see how clustering and caching effects for API manager. 1.2.0.Gateway...
View ArticleHow to create multipart file upload API in WSO2 API Manager
I tried this scenario in my local machine with multi part file upload sample[1]. Please refer my instructions below.01. Deployed file uploading war file into webserver(for this example i used WSO2...
View ArticleHow to add sleep interval or delay between 2 mediators -WSO2 ESB
You can add thread.sleep by using script mediator. See following synapse configuration block. You can add it to between your operations. <script...
View ArticleTest gzip encoded response in WSO2 ESB and App server
For this example i used WSO2 ESB 4.8.0 and AS 5.2.1. Here we will deploy echo service in application service and create API in ESB and invoke it.01. Enable gzip encoding in Application server Go...
View Article