wso2

Apache Synapse/WSO2 API No response

不想你离开。 提交于 2019-12-11 10:00:50
问题 I want to send a query to the database and return the result to the client using WSO2 rest api. Here is the synapse config: <api xmlns="http://ws.apache.org/ns/synapse" name="RestDBLookup" context="/dblookup"> <resource methods="POST GET" uri-template="/channel/{name}" protocol="http"> <inSequence> <dblookup> <connection> <pool> <password>pass</password> <driver>oracle.jdbc.driver.OracleDriver</driver> <url>jdbc:oracle:thin:@localhost:1521:ORCL</url> <user>user</user> </pool> </connection>

WSO2 API Manager /services/… throw a NullPointerException

 ̄綄美尐妖づ 提交于 2019-12-11 09:57:27
问题 I have the WSO2 API Manager running on a Windows 2012 R2 server and all dashboard URL's like https://localhost:9443/store , https://localhost:9443/carbon , https://localhost:9443/publisher work fine. But when I configure and deploy (in the carbon.super tenant) the example WeatherAPI web service and try to reach it via the /services/... URL i.e.: https://localhost:9443/services/weather/1.0.0/*?q=Amsterdam I get the following error page returned: > HTTP Status 500 - > > > type Exception report

Is it possible to use username without domain for authentication in WSO2

£可爱£侵袭症+ 提交于 2019-12-11 09:55:12
问题 I just created tenant with name mycompany.com. Within this tenant, I registered Service Provider with name SP. After integrating my application with WSO2, the apps will create SAML Authn request <?xml version="1.0" encoding="UTF-8"?> <saml2p:AuthnRequest AssertionConsumerServiceURL="https://localhost:8443/myapp/auth/sso" Destination="https://localhost:9443/samlsso" ForceAuthn="false" ID="a2i70af753i64cce4ehj977h3h9085h" IsPassive="false" IssueInstant="2016-03-30T02:51:12.083Z" ProtocolBinding

API Console Issue

人走茶凉 提交于 2019-12-11 09:54:58
问题 I've been using WSO2 API Manager 1.9.1 for the past month on a static IP and we liked it enough to put it on Azure behind a full qualified domain name. As we are still only using for internal purposes, we shut the VM down during off hours to save money. Our Azure setup does not guarantee the same IP address each time the VM restarts. The FQDN allows us to always reach https://api.mydomain.com regardless of what happens with the VM IP. I updated the appropriate config files to the FQDN and

replace function with get-property in wso2esb

…衆ロ難τιáo~ 提交于 2019-12-11 09:48:28
问题 I am trying the below option and i m getting error, can anyone suggest me the solution. I have added synapse.xpath.dom.failover.enabled=true Code: trying to replace ~TOKEN~ with the property value <property name="verificationLink" expression="fn:replace($ctx:reqVerifyUrl , '~TOKEN~', get-property('verification_code'))" scope="default" type="STRING" xmlns:fn="http://www.w3.org/2005/xpath-functions" /> Error: TID: [-1234] [] [2017-02-15 00:14:19,318] ERROR {org.apache.synapse.util.xpath

WSO2 ESB mediate SOAP services

余生颓废 提交于 2019-12-11 09:38:22
问题 I am struggling to make work my message flow in the wso2 esb so I would need some help to implement a basic communication: Service1 wants to receive an integer number Service2 Generates random numbers Service1 has InSequence: log, send (to addresspoint specified). OutSequence: log, send this looks like: <proxy name="ClientAskNumber" transports="https http" startOnLoad="true" trace="disable"> <target faultSequence="fault"> <inSequence> <log level="full"> <property name="Insequence" value="***"

wso2 identity server oauth userinfo no role

若如初见. 提交于 2019-12-11 09:08:13
问题 I have a WSO2 Identiy server installed and i have written some java code to get user information with oauth 2. For this I am using OLTU. I have connected correctly and after negotiating the access_code, I ask for the userinfo endpoint like this: https://<serverIP>:9443/oauth2/userinfo?schema=openid I get user info correctly in JSON format: {"email":"xxxx@xxx.aa","name":"xxx","family_name":"xx","preferred_username":"xxx","given_name":"xx"} What I find is that no role information is returned. I

Return Home Realm Identifier WSO2 Identity Server

萝らか妹 提交于 2019-12-11 09:05:56
问题 As we know from this documentation , If you add in the SAML Request the fidp query parameter with the Home Realm Identifier value , WSO2 Identity Server can use this information and respond with the specified login. My question is if it is possible the opposite procedure in any way. If it is possible the WSO2 Identity Server to provide (as a claim ? ) the Home Realm Identifier value in the SAML Array Response. The question concerns the latest public available WSO2 Identity Server version (5.3

WSO2 APIM: Taking long time for retrieving applications list

最后都变了- 提交于 2019-12-11 08:53:03
问题 I'm using WSO2-APIM-2.1.0 . Which internally uses solr 5.2.1 . Inside WSO2-APIM-2.1.0 , I've added around 2087 applications. Wso2 internally generating the solr OR query which has around 2087 OR clauses of 121825 characters. When I tried to get application list though the API call: curl -k -H "Authorization: Bearer access_token" "https://localhost:9443/api/am/publisher/v0.11/subscriptions?apiId=apiId&limit=2200" (It took around 6 minutes, which is too long.) Using the link https://localhost

Magic link flow with WSO2 identity server

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 08:36:43
问题 I have a requirement to generate deep links/magic links for end users. The users will receive the link via email and on click of it requires to be auto logged in (passwordless login). The identity server that is being used is WSO2 identity server. I also have WSO2 API manager. Can you please suggest the mechanism via which WSO2 identity server would enable the view of the link/page without requiring the user to explicitly login. 回答1: I don't think this is supported out-of-the-box. But you can