wso2

WSO2 analytics datasource

岁酱吖の 提交于 2020-01-04 10:59:15
问题 I was trying to explore the analytics event & summary datasource. I have installed a H2 client and found strange tables names ( ANX___7LKA5XV8_ !!) Why using these names, I was expecting a more clear names (names like the ones used in the external DB,the one partaged with the API manager)? And is there any documentation about these tables? Thanks 回答1: These tables represent the data that you've set to be persisted on the WSO2 Analytics product. For each stream definition that you have, there

wso2 wait loop doesn't work after restart

风格不统一 提交于 2020-01-04 10:36:41
问题 I've developed a pooling logic in bpel process on the WSO2 BPS 3.0.0 connected to a Postgresql 9 DB. It looks like this: <bpel:repeatUntil name="RepeatUntilIncidentCompleted"> <bpel:sequence name="CheckIncidentStatus"> <bpel:wait name="Wait"> <bpel:for expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA['PT1M']]></bpel:for> </bpel:wait> <!-- invoke a service, copy status to a vStatus variable --> </bpel:sequence> <bpel:condition expressionLanguage="urn:oasis:names:tc

How to invoke a REST Proxy service running on the ESB from a BPEL process on the BPS

情到浓时终转凉″ 提交于 2020-01-04 09:13:22
问题 I have setup BPS and have created a few BPEL processes which i can use to invoke services on the Application Server. I have created a REST proxy service on the ESB which uses an endpoint to a Labview server. In Labview i have a very basic REST service which generates a random value every second. I can access the REST service as follows http://localhost:8000/Maths/random . This generates the follwing output with a random value RValue:19.000000 I have had success in accessing this service

Axis2 web service error: services.xml not found

*爱你&永不变心* 提交于 2020-01-04 09:12:19
问题 I have been trying to deploy a simple axis2 web service onto a wso2 application server but I keep on getting the error: Error: org.apache.axis2.deployment.DeploymentException: The services.xml file cannot be found for the service: /WSO2/wso2as-4.1.0/repository/deployment/server/axis2services/SomeService.aar However, a quick peek at that .aar file revealed that the services.xml file was indeed contained in the META-INF folder as needed. What would cause such an error, and how do I proceed with

WSO2 API Manager - Setting 'CacheId' when clustering with SQL Server

时间秒杀一切 提交于 2020-01-04 06:08:33
问题 I'm clustering WSO2 API Manager (v1.10.0) across three servers (Gateway + Publisher/Store + Key Store) by following this guide: https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+1.10.0 I am on Step 11a of the 'Installing and configuring the databases' section. This states the following: To give the Publisher and Store components access to the registry database, open the /repository/conf/registry.xml file in each of these two components and configure them as follows: a. In the

Pass property from inSequence to outSequence

北城余情 提交于 2020-01-04 01:59:05
问题 I'm sending a message with a Proxy to a HL7 TCP/IP port and get the response in the outSequence. But my problem is that all properties set in the inSequence are not anymore available. All of them are null. I tested with all the different scopes (transport, axis2, axis2-client), but none of them worked. I saw in this post that it should be possible. Is the HL7 sender destroying the properties? How can use my properties from the inSequence in the outSequence? Example of my Proxy (get message

How to fix error “Enrollment failed” when trying WSO2 IoT 3.3.0 android enrollment?

天大地大妈咪最大 提交于 2020-01-03 18:38:34
问题 I set up a new server windows 2012R2 in a VM machine. The latest active-mq and Apache-ant are downloaded. Oracle JDK 8u192 is used. After installation and setup of the WSO2 IoT application, I cannot enroll an android device. I installed the WSO2IOT by following the instructions in the online documentations for version 3.3.0. CARBON_HOME and JAVA_HOME are set up in environment variables already. The process of steps that I go are as follows: I start the activemq by running it inside a cmd

Getting only sub in UserInfoEndpoint

与世无争的帅哥 提交于 2020-01-03 17:19:50
问题 I am just following what is on the guide I've already populated the user's profile information but so far I only get sub . I want to get something same like in the guide: { "sub":"admin", "email":"admin@wso2.com", "website":"https://wso2.com", "name":"admin", "family_name":"admin", "preferred_username":"admin", "given_name":"admin", "profile":"https://wso2.com", "country":"Sri Lanka" } CONFIG Identity Server - AWS Cloud with Domain and SSL + Nginx Proxy Sample Web App - local machine UPDATE:

wso2 API manager for authorsation and authentication of a web application

 ̄綄美尐妖づ 提交于 2020-01-03 03:30:13
问题 I have a web app where front end layer has a angular based UI.It has both public pages and other private pages which are accessible to logged in users and it depends on roles of the logged in users as well My server based application is a java based rest service api . How can i use wso2 for handle user authenticaiton and role based authorsation.i would like to have an additional layer of api security depending on the role of the user as well. can someone explain the best architecture for this

WSO2 API PayloadFactory mediator XML array to JSON array

北城余情 提交于 2020-01-03 03:29:10
问题 I am trying to build a Proxy between a client and a server using WSO2-AM. The ultimate goal is changing the content of the response the server sends to a format that the client understands. Therefore I wrote a custom mediator using a PayloadFactory. This works OK when the server sends just 1 element, but it can be possible that the servers sends multiple elements. I am trying to use an iterator to iterate all the elements and aplying a payloadfactory to each element, but this only returns the