wso2

Error while installing features using POM in wso2

≡放荡痞女 提交于 2019-12-11 15:06:17
问题 i have tried to install features using the below method (https://docs.wso2.org/display/Carbon420/Installing+Features+using+pom+Files) I want to install the features using this method (instead of through UI) While building through maven,the features and plugins are properly inserted into the corresponding folder structure, but it's not updating the platform.xml and bundles.info file Can anyone help me on this... There is a bug in this Maven Installation i think Please help me ... Below is my

WSO2 ESB / WSO2 EI JSON Request to backend service

只愿长相守 提交于 2019-12-11 14:57:41
问题 I have sent JSON Message to backend server using WSO2 EI. But it sending wrong json format. I have used wso2ei-6.4.0 for this task. I have added sample XML request which I have used. <jsonObject> <checkInDate>2019-03-25</checkInDate> <checkOutDate>2019-03-26</checkOutDate> <cityCode>3086</cityCode> <hotelCode /> <roomOccupancyList> <jsonArray> <?xml-multiple jsonElement?> <jsonElement> <childAges>0</childAges> <numberOfAdults>1</numberOfAdults> <numberOfChildren>0</numberOfChildren> <roomNo>1

Source code of WSO2 GREG 4.6

送分小仙女□ 提交于 2019-12-11 14:53:39
问题 I'm looking for the source code os WSO2 Registry 4.6. I have installed the binaries but I have not been able to find the sources. Is the source code available? Thanks in advance 回答1: WSO2 Governance Registry related sources available in ckunk 2 tag. If you building product from the source, Please refer "Building from Source" guide. 回答2: Find the wso2 Governance Registry source from here. Note: make sure you follow this answer as well. 来源: https://stackoverflow.com/questions/19923292/source

Error in WSO2 ESB when calling service without Header element

情到浓时终转凉″ 提交于 2019-12-11 14:19:35
问题 I believe I found bug in WSO2 ESB. I defined proxy service for our customer. With security turned off I always get expected result, but when I enable security (scenario 1 - UsernameToken), then I get error "SOAP Envelope can not have children other than SOAP Header and Body". I'm able to reproduce this bug with 'echo' service. Here is request: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:echo="http://echo.services.core.carbon.wso2.org"> <soap:Body> <echo

WSO2 Application Server will redirect to “/carbon” upon 404 error is expected

橙三吉。 提交于 2019-12-11 14:16:30
问题 I am being confused by wso2 aplication server. When i access a non-exist page, it will always redirect to carbon console, I have studied the xml config files, but find no luck. I just want to know how to make it just report 404 error when it does happen? 回答1: I have found the answer, the reason is the carbon app occupied the context root, so all request to non exist context-roots will be received by carbon app. After changing the carbon WebContextRoot in carbon.xml, all seems ok now. 来源:

wso2 API-M 3.0 - how to get oauth token for product/admin api calls

狂风中的少年 提交于 2019-12-11 14:12:44
问题 I am testing out the pre-release version 3.0 of wso2 API-M with the generic admin/admin credentials and want to invoke the various publisher apis at http://wso2.github.io/carbon-apimgt/apis/publisher/v1.0/ - e.g. creating a new api. All of these apis take oauth access tokens, however in their documentation I only see the oauth2 scope for them noted, but I don't see how to generate the access token to pass in the api request. It is clear how to generate oauth tokens for apis and apps already

Configure a service provider via code WSO2 Identity Server

孤者浪人 提交于 2019-12-11 14:04:47
问题 I am trying to configure my WSO2 Identity Server to set up service providers via a .xml file. Here are the steps I am taking: Paste the service provider .xml file into the $WSO2_HOME/repository/conf/identity/service-providers folder Run the wso2server.sh script in a fresh WSO2 environment (never setup, databases with empty tables) The .xml file I created in step 1 was created using the "export" feature from the console, so I am pretty confident it is set up correctly. Just in case, this is

How do I give read access to all Schema permalinks to “wso2.anonymous.role”?

妖精的绣舞 提交于 2019-12-11 13:57:09
问题 Is it possible via the WSO2 Governance Registry Management Console to allow read access to all Schema permalinks for the role "wso2.anonymous.role" automatically? Do you have to program that as a Handler? Is there no simpler way? 回答1: First SignIn in to G-Reg management console Navigate to Main --> Resources --> Browse and Find your Schema's stored location(Ex: /_system/governance/trunk/schemas) In the middle pane, click on "Detail view" and expand the "Permissions" area. Then select "wso2

WSO2 API Manager Public NAT IP

柔情痞子 提交于 2019-12-11 13:32:56
问题 I have installed the api manager on a windows server 2008. The server has a LAN-IP and a Public-IP over NAT. Example: LAN-IP: 192.168.100.1 Public-IP over NAT: 10.0.0.10 I want to test the API Manager over the Public-IP, but the Server works only local with the LAN-IP. Has someone an idea, how can I get the api manager to work over the Public-IP? The Ports are open on the firewall. THX 回答1: Please try out with the following configurations. Note to restart the server once done. Set the

I am unable to login to admin-dashboard application in WSO2 API manager

夙愿已清 提交于 2019-12-11 12:47:59
问题 I'm unable to login to admin dashboard in WSO2 API manager. I got an error "Unable to log you in! Login Failed " API Manager is configured with LDAP read only primary user store. Our LDAP do not have groups and roles are not red from LDAP. Additionally API Manager is configured to work with MySQL DB and WSO2 IS as key manager. But I think this is not a reason of such behavior. If I configure API Manager with a standard user store (without any changes to user-mgt.xml) login to admin-dashboard