wso2

WSO2 BPS 3.2 human task assignment to multiple people creating Process in failed status

岁酱吖の 提交于 2019-12-11 08:21:30
问题 I am trying to create wso2 human task where the approval has to be given by multiple owners in some sequence. I am calling human task from Asynchronous BPEL process. I am able to upload the Process and task packages successfully. But when I try to create the process instance, i am getting below error in the logs: ERROR {org.wso2.carbon.humantask.core.integration.AxisHumanTaskMessageReceiver} - Task creation failed. java.lang.NullPointerException at org.wso2.carbon.humantask.core.dao.jpa

how to get all the scopes user has access to in WSO2 API manager

馋奶兔 提交于 2019-12-11 08:03:21
问题 My web client application has different menus like read , delete , add ,view etc depending up on the users roles. I have different scope as read , delete , add etc and associated roles with them which is configured in WSO2 API Manager. when user logs in , I authenticate user via WSO2 API Manager and gets the token .How can i obtain all the valid scopes for that token so that i can show the user different menu's depending on the scopes i received? Since i have many scopes , i hope to have some

WSO2AM - SAML - Provided Authorization Grant is invalid

↘锁芯ラ 提交于 2019-12-11 07:59:50
问题 I am integrating WSO2AM with our in-house proprietary Identity Provider (IDP). I was following the wso2 documentation "Exchanging SAML2 Bearer Tokens with OAuth2 - SAML Extension Grant Type". I have added Identity Providers in API Manager's management console and added public certificate .pem of IDP. Next I added wso2am as service provider on our IDP. I have generated a saml token from idp and i now i am ready to exchange it for OAuth token from API Manager. I am getting following error: {

WSO2 Authentication failure on gateway node running WSO2 AM 2.1.0

醉酒当歌 提交于 2019-12-11 07:25:41
问题 After working with WSO2 AM 1.10.0, we're now evaluating AM 2.1.0 for our WSO2 cluster. The cluster has two types of nodes: A manager node: a complete set of WSO2 AM products. A worker node: which runs only the gateway (-DworkerNode=true -Dprofile=gateway-worker) At the manager node, everything works ok. I am able to create a tenant (0000s7.com) and an API, and run it (I defined the GET verb to be unauthenticated, so no subscription is needed): $ curl http://localhost:8280/t/0000s7.com/ofer1/1

WSO2 ESB File connector 2 search returns empty response

扶醉桌前 提交于 2019-12-11 07:14:17
问题 I use file connector 2 provided by WSO2 ESB (v 5.0.0) to search for a file in the given directory. isFileExist function returns true but when I search for the same file, it returns empty response. Is this a bug or am I missing something? This is my code <fileconnector.isFileExist> <source>file:///home/test/abc.OUT</source> </fileconnector.isFileExist> <log level="full"/> <fileconnector.search> <source>file:///home/test/</source> <filePattern>abc.OUT</filePattern> <recursiveSearch>false<

WSO2APIM - Application visible to all admins

江枫思渺然 提交于 2019-12-11 07:09:05
问题 Using WSO2AM 2.1.0 we have a question. By default the applications of the store are created by subscriber and each subscriber can see only own application (what makes sense). However here we have an environment where admins want to create a clientapplication configuration and then just pass client credentials to the clients (or developers). In this case - is it possible for admins could see/access applications of other admins? Edit: I thought I could see applications of other users in the

How can I modify the port 5672 in AM?

对着背影说爱祢 提交于 2019-12-11 07:04:18
问题 I start the AM server by running the commond wso2carbon.sh and the carbon.log prompts the 5672 was used. So I have to modify the port. Thus, which configuration file I should modify? Thanks a lot. 回答1: Here is a quick grep which will help you. (note: here the port is changed from 5672 to 5678.) bhathiya@bhathiya-x1:/data/products/am/wso2am-2.0.0/bin$ grep -r 5678 ../repository/conf/ -A 5 -B 5 ../repository/conf/api-manager.xml- <!--InitDelay>300000</InitDelay> ../repository/conf/api-manager

Outputtng html by using Ballerina

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 06:59:24
问题 Is there any way to output a html page with some data in it by using Ballerina language? Assume that I need the "orderid" string in the below code to be displayed inside a H1 tag in a HTML page.. import ballerina.net.http; import ballerina.lang.system; @http:BasePath {value:"/shop"} service echo { @http:GET{} @http:Path {value:"/order"} resource echoGet (message m, @http:QueryParam {value:"orderid"}string orderid) { http:convertToResponse(m); system:println("orderid" + orderid); reply m; } }

WSO2 APIM 2.0 Clustering deployment issue when try API console from API store

泄露秘密 提交于 2019-12-11 06:16:35
问题 I deployed 2 keymanager nodes, 2 pub-store nodes, 1 gateway manager node and 2 gateway worker nodes in one server, and deployed nginx for load balance. When i try to access API via API Console, it reported below error: TID: [-1234] [] [2016-08-29 21:10:57,237] WARN {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} - API authentication failure due to Unclassified Authentication Failure {org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler} TID: [

WSO2 ESB alters the wsdl

ぐ巨炮叔叔 提交于 2019-12-11 06:07:28
问题 I have a backend service which I configure as a proxy service in WSO2 ESB. The ESB exposes slightly different wsdl, which is also valid and works as expected. The problem is I can't use my old stubs with the ESB wsdl because of the changed structure. I want to create the service in such a way that the wsdl from ESB is EXACTLY the same as my endpoint service. Is such approch poissible or do I need to generate again the stubs (this would require a lot of effort in my case)? EDIT: The difference