wso2

WSO2 class mediator not work

一个人想着一个人 提交于 2019-12-12 02:25:28
问题 This is my first time to write NTLM mediator followed by NTLM Mediator The mediator project: Exported Jar and [ESB_HOME]/repository/components/dropins Proxy service to test: The mediator seems not work: Line 73 throw out exception: 回答1: You have to put jars into lib ($ESB_HOME/repository/components/lib). Delete jar in the dropins. As ESB start, it will put that jar into dropins folder. Try that. If not you may have to add three folders as given in documentation[2]. Further references: [1]

WSO2 API Manager - How to get User profile with consumer key & secrete

感情迁移 提交于 2019-12-12 02:25:25
问题 Does anyone know how to get the user profile (including username & password) via rest API provided by wso2am with consumer key and secrete? Because we don't store username & password in client side but only consumer key and secrete, and generally, we have to provide 4 parameters (username,password,consumer key and consumer secrete) to get access token. so we want to use only consumer key and secrete to get access token. 回答1: // how to get the user profile (including username & password) via

WSO2 APIM security - separation of the publisher access

佐手、 提交于 2019-12-12 02:25:08
问题 I have question about the separation of the publishers. If we want the publishers to manage only their own API, can we restrict them to see/update APIs published by other publishers? Or do we need to create a separate tenant? In theory - there's possibility to restrict API visibility to a specific role, but there's a way around. If a publisher is displaying statistics - the statistics shows records for APIs which should not be visible to the user without the specific restriction role.

WSO2 ESB 4.9 - Send mediator causing errors

南笙酒味 提交于 2019-12-12 02:24:34
问题 I've been working on a resource over the last few days (I'm very new to WSO2 so I'm still pretty slow) and when I submit a request to it via SoapUI, it logs everything it should up to the <send/> mediator and then dumps the following errors: ERROR - Failed to submit the response {org.apache.synapse.transport.passthru.PassThroughHttpSender} java.lang.NullPointerException at org.apache.synapse.transport.passthru.util.SourceResponseFactory.create(SourceResponseFactory.java:64) at org.apache

How can i pick out value from consecutive value of event by using siddhi

帅比萌擦擦* 提交于 2019-12-12 02:21:36
问题 for example, that is data: 1,1470732420000,0 2,1470732421000,0 3,1470732422000,0 4,1470732423000,86 5,1470732424000,87 6,1470732425000,88 7,1470732426000,84 8,1470732427000,0 9,1470732428000,0 10,1470732429000,0 11,1470732430000,89 12,1470732431000,89 13,1470732432000,87 14,1470732433000,89 15,1470732434000,85 16,1470732435000,89 17,1470732436000,89 18,1470732437000,87 19,1470732438000,86 20,1470732439000,88 21,1470732440000,0 22,1470732441000,0 23,1470732442000,0 24,1470732443000,87 25

External DataSources not working with secured WSO2 DSS 3.2.2

扶醉桌前 提交于 2019-12-12 02:15:34
问题 Following is a sample dbs file which is deployed as dataservice in WSO2_DSS_3.2.2 <data name="login" serviceNamespace="www.abc.com/services/security" transports="http https"> <description>security service</description> <config id="a_security"> <property name="carbon_datasource_name">sample-ds</property> </config> <query id="login" useConfig="a_security"> ... </query> <operation name="login"> <call-query href="login"> ... </call-query> </operation> <resource method="POST" path="login"> ... <

Failed to start wso2 API Manager v2.0.0 on centos 7.0

本小妞迷上赌 提交于 2019-12-12 02:10:03
问题 I am trying WSO2 API Manager 2.0 and failed to start the server. Would you like give a hand? Thanks a lot Michael Below is the version information. [wso2@srv11 bin]$ ./wso2server.sh --version WSO2 API Manager v2.0.0 WSO2 Carbon Framework v4.4.7 But when I start the API Manager with "wso2server.sh --start" command, I found following error information in wso2carbon.log. ID: [-1234] [] [2016-08-15 09:48:32,824] INFO {org.wso2.andes.server.security.auth.manager

Can CEP http receiver receive multi data nodes one time

三世轮回 提交于 2019-12-12 02:08:42
问题 I used ESB to transform the XML message to CEP http receiver, the XML: <result> <event> <tag>0101A01B001</tag> <time>10:00:01</time> <value>30.45</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:02</time> <value>33.7</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:03</time> <value>23.4</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:04</time> <value>33.15</value> </event> </result> And the http receiver in CEP : <?xml version="1.0" encoding="UTF-8"?>

Invoke Soap Service Using Proxy Service

删除回忆录丶 提交于 2019-12-12 02:07:42
问题 I want to create a proxy service to call an external Soap service using wso2 proxy service. I have created a proxy service like this: <target> <inSequence> <property name="messageType" value="text/xml" scope="axis2"/> <property name="ContentType" value="text/xml" scope="axis2"/> </inSequence> <outSequence> <property name="messageType" value="text/xml" scope="axis2"/> <property name="ContentType" value="text/xml" scope="axis2"/> <send/> </outSequence> <faultSequence> <log level="full">

Unable to view statics in the WSO2 API Manager Publisher?

喜夏-厌秋 提交于 2019-12-12 01:59:37
问题 I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null Below is the page I get. I checked below questions as well. but didn't work out for me. Why am I unable to view stats in the WSO2 API Manager Store?