wso2

WSO2 EMM server Cannot read property “accessToken” from null

∥☆過路亽.° 提交于 2019-12-25 08:44:28
问题 I am configuring WSO2 EMM (Ver 2.0.1) server on ubuntu (14.04) machine. All configuration look proper but when I try to authenticate on device on url https://server-name:9443/emm-web-agent/enrollments/iOS/login-agent Server throws error of Cannot read property "accessToken" from null Stack trace [2016-05-16 15:22:33,696] ERROR {org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler} - Token request with Password Grant Type for an invalid tenant : https://server-name:9 [2016

java.lang.NoSuchMethodError: org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.addAnonymousOperations

谁说我不能喝 提交于 2019-12-25 08:08:39
问题 Hi im having while im trying to create a web application and i want to call the WSO2 identity server API RemoteUserStoreManagerService The error is this java.lang.NoSuchMethodError: org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.addAnonymousOperations()V org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.populateAxisService(RemoteUserStoreManagerServiceStub.java:42) org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceStub.<init>

WSO2EMM rebuilding the mobile agent fails

回眸只為那壹抹淺笑 提交于 2019-12-25 08:00:10
问题 I'm trying to rebuild the Android agent with custom keystores (to allow SSL with own SSL certificates) and optionally other customizations. When building the project as described in the documentation (product-emm 2.0.1), the Android studio (Android studio 2.2, Androind 5.1.1, API 22) claims the following methods are unknow: org.wso2.emm.agent.api.RuntimeInfo - Environment.getLegacyExternalStorageDirectory (line 159) org.wso2.emm.agent.services.AlarmReceiver - intent.getExtra (line 56) org

WSO2 API Manager 1.10 issue

。_饼干妹妹 提交于 2019-12-25 07:58:34
问题 We are running into an issue where a call to a WSO2 API REST endpoint fails with a "412 Precondition Failed" when the Content-Length exceeds 1068. Just adding a space to the request (increasing size to 1069) causes this failure. This issue can also happen when content length is less than 1069, if the API is called fast enough (using SOAPUI for testing). We have a theory that the header and body are split between packets and confuses the request. We tried turning off chunking and that didn't

Publishing API in WSO2 ESB from WSDL

核能气质少年 提交于 2019-12-25 07:19:05
问题 I can see here that I can publish a WSLD like Proxy Service in WSO2 ESB. But, I want to publish an API from a WSDL. Is it possible to do that in 4.8.1? 回答1: WSO2 API Manager allows you to publish an api from a WSDL. If your soap service is accessible from internet, you can easily try this using WSO2 API Cloud. This tutorial shows how to do it in cloud. But, its also valid for the standalone product too. 回答2: Short answer is no. You cannot create an ESB Rest API from a WSDL or WSDL url as you

wso2carbon.log not rolling as expected

蓝咒 提交于 2019-12-25 07:11:35
问题 I seem to be having some issues with the wso2carbon.log rolling appropriately in multiple applications. I'm running the stack on windows 2008 server with Java 1.7. The issues are: ESB 4.8.1 - Log does not rotate daily, log is clobbered on application restart DSS 3.1.1 - Log does not rotate daily, log is clobbered on application restart log4j.properties relevant section below: ESB log4j.appender.CARBON_LOGFILE=org.wso2.carbon.logging.appenders.CarbonDailyRollingFileAppender log4j.appender

WSO2 api mgr mysql db

故事扮演 提交于 2019-12-25 06:39:16
问题 i guess i'm not the only one trying to play with the new WSO2 API mgr. As explained in readme, i try to use mysql to store all data. I uploaded in the correct file the jdbc driver for mysql now the question is to change the setting in master-datasources.xml but the only example provided is in the readme file but only for mssql and i also never used jdbc ... using the mssql example in README what do you think of this setup customized for mysql : <datasource> <name>WSO2_CARBON_DB</name>

Using XPath functions in filter mediator

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 06:32:10
问题 In my inSequence of a proxy I'm filtering with a xpath query in the filter mediator. But I want to use XPath functions like exists() or count() . But this does not work and always creates an exception. Here my example: <filter xpath="count($body/myElement)>2"> <drop/> </filter> And the exception I always get: ERROR - FilterMediator Error evaluating XPath expression : n:exists($body/avintis:Exception) org.jaxen.UnresolvableException: No Such Function exists How can I make these functions work?

Configuring WSO2 API Manager to use the WSO2 BAM Server

我的未来我决定 提交于 2019-12-25 05:38:11
问题 Using WSO2 API Manager 1.3 and WSO2 BAM 2.0. I followed the instructions found in the README.txt in /statistics. I am getting the following error when starting API Manager: TID: [0] [AM] [2013-05-02 11:42:44,239] ERROR {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher} - Error initializing APIMgtUsageDataBridgeDataPublisher {org.wso2.carbon.apimgt.usage.publisher.APIMgtUsageDataBridgeDataPublisher} org.wso2.carbon.databridge.agent.thrift.exception.AgentException:

WSO2 AM Training Doc Issue

…衆ロ難τιáo~ 提交于 2019-12-25 04:55:24
问题 I am working on WSO2 API Manager Developer Fundamentals training doc(LabkitAPIM200DF.pdf). It can be download from https://github.com/wso2/WSO2-Training/releases/tag/APIM2.0.0DF, Here I am trying to do Publisher API in page 53. I followed all steps but I am getting Forbidden error. 1. Create the payload.json file in the [APIM_HOME]/bin folder with the following text and save: { "callbackUrl": "www.google.lk", "clientName": "rest_api_publisher", "tokenScope": "Production", "owner": "admin",