wso2

WSO2 Identity Server Deactivating user account

不打扰是莪最后的温柔 提交于 2019-12-25 16:46:16
问题 By looking at the user account's log i see that there is a claim named "http://wso2.org/claims/accountStatus" that is displayed as a checkbox. I have enabled that claim and now i set it's value. However it does nothing except keeping the value. Is there a way to prevent a user with disabled account from login (especially login through SAML SSO login)? 回答1: You can disable login by changing the permission of the user's user group. (So add him to that user group if you need to prevent login).

How to Get the Dynamic Namespace prefix for XSLT Transformation in WSO2WSB 4.8.0

不打扰是莪最后的温柔 提交于 2019-12-25 16:07:29
问题 I am Using wso2esb4.8.0. I wish transform my messages into a different format using XSLT transformation. My request messages are: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:open="http://www.openuri.org/" xmlns:env="http://eai.dd,kk/Envelope" xmlns:poin="http://eai.mng.par/hhh"> <soapenv:Header/> <soapenv:Body> <open:clientRequest> <env:EaiEnvelope> <env:Domain>1</env:Domain> <env:Service>hhh</env:Service> <env:ServiceId>1</env:ServiceId> <env:Language>En

WSO2 API Manager compatibility with Python

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 15:42:55
问题 I want to know if WSO2 API Manager is compatible with Python and PHP based restful services or not? I have several webservices which are developed on JavaEE, Python and PHP. Except JavaEE, no other platform is communicating with WSO2. On Python, I don't receive any RAW payload in my POST requests from WSO2. These services are working fine and can communicate with them via REST Console. Please see my other STACKOVERFLOW POST for details. I need to know how I can consume Python services just

WSO2 API Manager compatibility with Python

橙三吉。 提交于 2019-12-25 15:41:30
问题 I want to know if WSO2 API Manager is compatible with Python and PHP based restful services or not? I have several webservices which are developed on JavaEE, Python and PHP. Except JavaEE, no other platform is communicating with WSO2. On Python, I don't receive any RAW payload in my POST requests from WSO2. These services are working fine and can communicate with them via REST Console. Please see my other STACKOVERFLOW POST for details. I need to know how I can consume Python services just

WSO2 ESB: log and convert response from the RDF REST service back to SOAP

旧巷老猫 提交于 2019-12-25 12:10:08
问题 I am working on the WSO2 ESB POC for my company, which involves exposing the internal RESTful service via SOAP endpoint on the ESB. I've read all the threads and blog posts related to the SOAP-REST mediation, but still could not find an answer. My RESTful service returns "application/rdf+xml" message format. Here is my sequence: <proxy xmlns="http://ws.apache.org/ns/synapse" name="CQProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence>

WSO2 ESB: log and convert response from the RDF REST service back to SOAP

跟風遠走 提交于 2019-12-25 12:09:06
问题 I am working on the WSO2 ESB POC for my company, which involves exposing the internal RESTful service via SOAP endpoint on the ESB. I've read all the threads and blog posts related to the SOAP-REST mediation, but still could not find an answer. My RESTful service returns "application/rdf+xml" message format. Here is my sequence: <proxy xmlns="http://ws.apache.org/ns/synapse" name="CQProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence>

WSO2 DSS issue when selecting Timestamps from Database

久未见 提交于 2019-12-25 09:28:39
问题 I've an issue defining a query to get some data out of Cassandra in WSO2 DSS. The query (and the operation) itself is working but my problem is when I try to get a timestamp as a result. I only get the date and the timezone (2017-01-11+0100) the time part is missing. I guess that this is somehow related on the mapping to dateTime xsdType that is not working correctly. Did you already face this issue, and do you have a solution to get the timestamp? Here is a query sample <query id=

wso2 bps bpel logging and troubleshooting

故事扮演 提交于 2019-12-25 09:18:06
问题 I have to admin the WS2 BPS (3.6.0) is not very revealing about internal exceptions. There's a small chapter in the documentation about troubleshooting, however this setup logs only messages passed to the endpoints. Questions: is there way to see internal exceptions thrown during the BPEL execution) wether handled or unhandled? (such as errors in the expressions or scripts). Maybe on the Apache-ODE level? is there any way to access the fault caught by the "catchAll" fault handler? Thank you

Combine two queries using WSO2 ESB

情到浓时终转凉″ 提交于 2019-12-25 09:17:26
问题 I've been trying to figure out how to get WSO2's ESB to make calls to two different APIs and combine their results into a single response, and running into nothing but trouble. At its most basic, I've got two backends I'm making requests to that respond something like this: http://example.com/items : <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www

Output of Java code is not getting in WSO2 logs

不羁的心 提交于 2019-12-25 09:10:29
问题 I am unable to see the output of the below java code in WSO2 logs. package com.esb.integration.mediators; import java.text.SimpleDateFormat; import java.util.Date; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.Statement; import org.apache.axiom.om.OMAbstractFactory; import org.apache.axiom.om.OMElement; import org.apache.axiom.om.OMFactory; import org.apache.axiom.om.OMNamespace; import org.apache.axiom