wso2

how to add additional parameters in WSO2 API call

和自甴很熟 提交于 2019-12-12 04:09:26
问题 I am using WSO2 API manager 1.7. What I want is that when WSO2 API manager gets a REST API call then I want to pass 2 additional parameters to Endpoint gateway API. So e.g. API manager get 3 params then I want to pass 2 more static params to endpoint URL. how can I achieve that, please help. Thanks Parvendra 回答1: You can append a sequence to the exposed API and add these parameters in a header. You can add a sequence to the API Manager by following the doc below[1]. Similarly u can add the

Create Mediation Exception In WS02 API Manager

怎甘沉沦 提交于 2019-12-12 04:05:56
问题 I am having following issues and questions: I am getting exceptions when creating a mediation. When select the ‘Browse’ icon in the Resources tab, I got blank screen with following error. I am using IE browser. Java env is JDK8. [2016-01-17 22:23:36,275] ERROR - RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/res ources/resource.jsp'. ServletException while including page. java.io.IOException: JSPException while including path '/resources/resource.jsp'.

WSO2 Identity Server listening to port 9999

不想你离开。 提交于 2019-12-12 03:58:54
问题 When ever WSO2 ID Server or WSO2 API Manager starts , it always listens to port 9999.. How can i change this port to some other port? I have tried editing carbon.xml RMIRegistryPort .But no luck..Its still listening to port 9999.. 回答1: "listening for transport dt_socket at address" message will get printed when server is stared in debug mode. check JAVA_OPTS , debug option[1] might have been set in system level so all application will get affected [2] [1] JAVA_OPTS=-Xdebug -Xnoagent -Djava

How can I declare and use a “global property” in WSO2 ESB? (a property that is outside the sequence defined by a message processor)

人盡茶涼 提交于 2019-12-12 03:54:56
问题 I have the following doubt related how to store something like a global property in WSO2 ESB . I try to explain my situation. I have a message processor in which is defined a sequence that is executed every second, something like this: <?xml version="1.0" encoding="UTF-8"?> <messageProcessor class="org.apache.synapse.message.processor.impl.forwarder.ScheduledMessageForwardingProcessor" messageStore="glisMessageStore" name="glisMessageProcessor" targetEndpoint="glisEndpoint" xmlns="http://ws

WSO2 DAS + Clustering APIM with mysql

孤街醉人 提交于 2019-12-12 03:49:55
问题 My APIM version is 1.10.0 and DAS is 3.0.1. At first ,I deploy no Clustering APIM + DAS with mysql. the stats shows good. Then,I clustering APIM into publisher、store、keymanager and gateway.Configured APIM and DAS order this article,when I invoke an api , gateway node then show error [2016-10-13 11:13:54,775] ERROR - APIMgtUsageHandler Cannot publish event. null java.lang.NullPointerException at org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher.publishEvent

WSO2 API POST Python Web Service - Empty or No Payload to server

独自空忆成欢 提交于 2019-12-12 03:44:49
问题 I am not able to send request payload to my POST service from WSO2. On rest console, my service is working. From WSO2 server I am able to do curl to my server with successful response. here is my API configuration Payload to send: {"query":"Hi I am a POST query parameter"} My server is receiving {} as request payload. It expect RAW body in JSON (as above) in payload. I have tried all combinations for Parameter Type, but still not able to send payload to my server from WSO2. How can I do this?

WSO2IS after upgrading to 5.1.0 SPs is disappering

丶灬走出姿态 提交于 2019-12-12 03:44:11
问题 After upgrading wso2is from 5.0.0 to 5.1.0, all my Services Providers disappeared, it's listing in the table SP_APP but the interface don't show the SPs. There any step that I may forgot to execute? I follow the proccess described in wso2 site. https://docs.wso2.com/display/IS510/Upgrading+from+a+Previous+Release, with 0 erros. Creating new SPs, work perfect, only old SPs its problem. 来源: https://stackoverflow.com/questions/38010700/wso2is-after-upgrading-to-5-1-0-sps-is-disappering

WSO2ESB: Property setting not accepting empty value

好久不见. 提交于 2019-12-12 03:39:56
问题 Actually I'm trying to get an empty value when I set a Property in a sequence in WSO2 ESB with an empty string. I have tried many things but always get the result "null" or "\"\"" instead of "" when I get the property, here is my code: <property value="""" name="arq.general.DestinationSystem" scope="default" type="STRING" xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns2="http://org.apache.synapse/xsd"/> <property name="arq.general.ParentInstanceID" scope="default" type="STRING" value=""/>

Invalidating old Reset Password Links in WSO2 Identity Server

北战南征 提交于 2019-12-12 03:28:05
问题 I am following this guide to allow the users to reset the password using email. The problem is when the user requests "password reset link" for multiple times, the old links generated are not invalidated. (Password can be reset using either the latest link or old links). Is there any parameter I can set to invalidate the old links? 回答1: Currently, generated confirmation codes will invalidate only once user change his password successfully. So as you have mentioned user will be able to recover

Push user SAML attributes to backend service via WSO2 API Manager

醉酒当歌 提交于 2019-12-12 03:22:48
问题 I am using WSO2 API Gateway to service API calls. The backend requires custom user attributes (username, e-mail, etc.) to be sent as part of the query string in the URL. The values for the query string pairs will be provided in the SAML2 token embedded in the API call. How can a mediator access these custom SAML2 attributes? 回答1: You can create a custom mediator or custom handler to parse the saml token and set it to a header or something . see Writing Custom+Handlers for sample handler which