wso2

Sequence defined in the Message Processor doesn't receive the response

本秂侑毒 提交于 2019-12-31 05:50:48
问题 I have a separate proxy (in WSO2ESB4.8.1 ) which sends the message to the message store (which is configured with WSO2MB 2.2.0 ) and then the processor sends the message to the backend and backend receives the message, but the response from backend doesn't come back to the defined sequence, Seq_IfcFileCheckinResponse in the processor. My backend is rest service and I am sending a json request. I noticed following warning message in esb console, WARN - JmsConsumer [JMSMessageStore-C-1]. Did

Set WSO2 identity provider as default IDP for new applications

 ̄綄美尐妖づ 提交于 2019-12-30 13:25:17
问题 I am using WSO2 Identity Server 5.1.0 and configured ADFS as an Identity Provider using the management console. I tested the created IDP by selecting it in one of my service provider and all is working as expected. Now I want to set up the ADFS IDP as the default IDP. For that I configured the file (identity/service-providers/default.xml) as explained in this post. The problem is that when I try to access my application, I get the following error: TID: [-1234] [] [2016-02-11 16:21:46,521]

wso2 identity server oauth userinfo only returns sub

和自甴很熟 提交于 2019-12-30 07:27:27
问题 I have set up SP in wso2 Identity server and was able to get access_token in auth2 using playground. Ref : https://docs.wso2.com/display/IS510/OAuth+2.0+with+WSO2+Playground Then I accessed userinfo endpoint like : curl -k -H "Authorization: Bearer 603b0a91-0354-3b64-90e9-0eb1fdd8f162" https://localhost:9443/oauth2/userinfo?schema=openid I always get JSON : {"sub":"admin@carbon.super"} But there should also be other properties like first name,last name, email ... etc by default. How do I

Supported XPath functions in WSO2 ESB 4.8.1

半世苍凉 提交于 2019-12-30 06:58:25
问题 The following XPath functions seem not be supported in WSO2 ESB 4.8.1: escape-html-uri() iri-to-uri() encode-for-uri() Does anyone know what XPath functions are supported and what are not supported in WSO2 ESB 4.8.1? 回答1: As far as I can tell from the JavaDocs, the synapse XPath implementation is built on Jaxen, which is XPath version 1.0 only. Therefore none of those functions will be supported, you only have the very limited function library of XPath 1.0 plus the synapse-specific get

Cannot see any option in WSO2 Identity Server dashboard

穿精又带淫゛_ 提交于 2019-12-29 06:33:09
问题 I'm evaluating WSO2 Identity Server 5.0.0 but I'm getting a strange issue using the dashboard. I installed it on a server of mine (so it is not on localhost) and configured the following configuration files so that WSO2 knows where to point File wso2is-5.0.0/repository/conf/carbon.xml <HostName>SERVER_IP</HostName> <MgtHostName>SERVER_IP</MgtHostName> File wso2is-5.0.0/repository/conf/security/saml2.federation.properties WSO2=https://SERVER_IP:9445/samlsso File wso2is-5.0.0/repository/conf

Spring SAML integration with WSO2 Identity server, SAML Message ID not reconised

浪尽此生 提交于 2019-12-29 06:24:08
问题 I have taken the Spring SAML example (see section 4.2 in this guide) which works with the Open source login page SSO, and tried to add support to use WSO2 Identity Server as an additional IDP service. To do this I changed the spring SAML sample project by adding a metadata xml file for IS, and added an entry for the IS metadata to the securityContext.xml. On running the spring application I now get presented with an option to login using IS, and I can successfully login in on WSO2 when I'm

Spring SAML integration with WSO2 Identity server, SAML Message ID not reconised

丶灬走出姿态 提交于 2019-12-29 06:24:03
问题 I have taken the Spring SAML example (see section 4.2 in this guide) which works with the Open source login page SSO, and tried to add support to use WSO2 Identity Server as an additional IDP service. To do this I changed the spring SAML sample project by adding a metadata xml file for IS, and added an entry for the IS metadata to the securityContext.xml. On running the spring application I now get presented with an option to login using IS, and I can successfully login in on WSO2 when I'm

WSO2 API Manager CORS

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-29 01:38:16
问题 I'd like to enable CORS on my WSO2 API Manager instance for all endpoints. I've been through the documentation (which is great) and it suggests altering the repository/conf/api-manager.xml file as there is a CORS configuration node within it (below). <!--Configuration to enable/disable sending CORS headers in the Gateway response and define the Access-Control-Allow-Origin header value.--> <CORSConfiguration> <!--Configuration to enable/disable sending CORS headers from the Gateway--> <Enabled

How to append response message to a text file?

喜你入骨 提交于 2019-12-25 18:23:30
问题 I need write the response message to a "response.xml" file. And the response should be appended to this file, I set parameter "Append" true, but no use, is completely overwritten every time. Anyone can help me? Thanks and best regards. <proxy xmlns="http://ws.apache.org/ns/synapse" name="EndpointTest" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <log level="full" /> </inSequence> <outSequence> <log level="full" /> <send> <endpoint>

WSO2ESB HTTP Endpoint throws exception when using uri.var parameters in the uri-template

给你一囗甜甜゛ 提交于 2019-12-25 18:14:52
问题 I tried to invoke a REST endpoint by using the following configuration: ... <property name="uri.var.host" value="localhost:8080"/> <property name="uri.var.context" value="my-service"/> <call> <endpoint> <http method="POST" uri-template="http://{uri.var.host}/{uri.var.context}" /> </endpoint> </call> ... But then I get an XMLStreamException that says "DOCTYPE is not allowed": [2016-06-01 17:16:15,702] ERROR - RelayUtils Error while building Passthrough stream org.apache.axiom.om.OMException: