wso2-am

Multipart form data file upload using WSO2 API manager?

狂风中的少年 提交于 2019-12-17 19:56:18
问题 I have rest service to upload files and it is working fine.Now I created API in API manager and also given the same file upload service as the production endpoint. But now I am getting an error in my backed server while uploading the file using API manager endpoint. 回答1: I got the solution,Need to enable Binary Relay builders in axis2.xml file to use the multipart/form-data message formatting and also ensure that there is no custom header with request to handle multipart data. <messageBuilder

wso2 am 1.10.0 API Store: “Error occurred while executing the action generateApplicationKey” with “ Invalid credentials provided.”

非 Y 不嫁゛ 提交于 2019-12-17 17:28:05
问题 Product: WSO2 AM 1.10.0 DB: MSSQL Security: SAML2 integrated with PingIdentity OS: Linux When I tried to create or generate keys from "/store/site/pages/subscriptions.jag" page, UI gave me: Error occurred while executing the action generateApplicationKey Here is what's in the log: Summary of the errors: Error while obtaining the application access token for the application:safsa org.wso2.carbon.apimgt.api.APIManagementException: Error occurred while Creating Keys. at org.wso2.carbon.apimgt

WSO2 API Manager issues with solr

痴心易碎 提交于 2019-12-17 10:01:23
问题 I have setup a new setup of WSO2 API Manager integrated with WSO2 Identity Server. When starting the WSO2 API Manager I start getting the following error: SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! {org.apache.solr.update.SolrIndexWriter} TID: [-1] [] [2017-03-07 10:38:31,745] ERROR {org.apache.solr.update.SolrIndexWriter} - Error closing IndexWriter {org.apache.solr.update.SolrIndexWriter} java.lang.NullPointerException at org.apache

javax.net.ssl.SSLPeerUnverifiedException: Host name does not match the certificate subject provided by the peer

天大地大妈咪最大 提交于 2019-12-17 09:14:26
问题 I follow many links on stackoverflow and tried many solutions, but none of them worked for me. I'm using WSO2 API manager version 1.9.1 . I am facing following error: Exception in thread "main" javax.net.ssl.SSLPeerUnverifiedException: Host name 'XXXXXXXXX' does not match the certificate subject provided by the peer (CN=localhost, O=WSO2, L=Mountain View, ST=CA, C=US) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:465) at org.apache.http

WSO2 API Manager end user registration from Mobile(Android and iOS) Application using google or facebook sign-in

旧时模样 提交于 2019-12-14 04:09:10
问题 We are using WSO2 API Manager 1.10 and WSO2 Identity server 5.1.0 for managing back end REST APIs which will be consumed by Android and iOS application.For a end user(Mobile App user) to access the APIs exposed,process followed is:- 1.User registers to WSO2 IS server using WSO2 SCIM create user API. 2.User request for access token which will be used for accessing the APIs. We are planning to add Google and facebook sign in feature in our Mobile app which will help end user avoid user creation

why The API could not be invoked by postman or httpclient?

跟風遠走 提交于 2019-12-14 03:31:45
问题 The API's Ip address is 172.17.0.1. Thus, I invoke it in postman,how can The browse or postman find the ip address? and I think it is the reason why postman or browse could not invoke the API gererated by AM 回答1: The problem is that you are trying to invoke a private IP. Also, I don't think what you are trying to call is an API in WSO2 API cloud. URLs of APIs in WSO2 API cloud look like this. http://gateway.api.cloud.wso2.com/t/mytenant/pizzashack/1.0.0 回答2: As per the chat we had, you should

wso2 api manager database

∥☆過路亽.° 提交于 2019-12-14 02:43:17
问题 I don't understand how can I access the data of APIs (api_id) USER (user_id), subscriptions (is a user 'x' subscribed to API 'y'?) ... how can I perform such controls by connecting to some db? 回答1: Though your question is not much clear,hope you want to know how WSO2 API Manager implemented database data accessing part.I'll explain how WSO2 API Manager did controlling over database data. You could found the database scripts[it contains h2/mysql/oracle dbscripts] use by WSO2 API Manager from

How to send account confirmation e-mail after self sign up on WSO2 API Manager

微笑、不失礼 提交于 2019-12-13 18:17:50
问题 We managed to lock the user store account after self registering an account in the store, but the only way we figured it out to unlock the account is using the admin console (CARBON). We've been trying to make the confirmation e-mail work after self sign up, but we had no luck until now. How could we achieve that? We are using the WSO2 API Manager 2.5.0. Community Edition. 回答1: I am also stopped in this point. I only see how to configure this on WSO2 Identity Server, here. But how can I do

Configuring WSO2 STATS_DB

流过昼夜 提交于 2019-12-13 14:18:03
问题 I have configured API Manager 2.0.0 & API Manager Analytics Pack to use MySQL databases. For each server, there exists a WSO2AM_STATS_DB. I have given these differing names on my MySQL server. I have also pointed my datasources in master-datasources.xml(for APIM) & stats-datasources.xml(for Analytics) to the relevant databases. I couldn't find any relevant schema(dbscripts) for these databases in their respective packs. On running, the Analytics database is populated but the APIM database isn

Hi All, Getting the below error. Does anyone have ever faced a similar issue.?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 09:48:37
问题 Getting the below error. Does anyone have ever faced a similar issue.? TID: [-1] [] [2018-10-11 08:10:31,330] ERROR {org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory} - Error acquiring a Connection from the JMS CF : jmsEventPublisher using properties : {transport.jms.ConcurrentPublishers=allow, java.naming.provider.url=repository/conf/jndi.properties, java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, transport.jms.DestinationType