wso2

How to Configure HTTP Basic Auth for WSO2 EI proxy service

三世轮回 提交于 2021-01-29 15:10:36
问题 i am using WSO2 Enterprise Integrator 6.5.0 (lastest) I need to enable HTTP Basic Authentication through a Proxy Service (SOAP, REST) I have tried below resource - WSO2 EI and WSO2 Developer - Setup an ESB Proxy with http basic authentication <?xml version="1.0" encoding="UTF-8"?> <proxy name="ProxyWithBasicAuth" startOnLoad="true" trace="disable" transports="https" xmlns="http://ws.apache.org/ns/synapse"> <target> <endpoint name="endpoint_urn_uuid_xxxxxxxx-yyyy-zzzz-1111-234567892345">

in wso2 ei i am getting org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed exception

自作多情 提交于 2021-01-29 12:29:50
问题 After calling an endpoint I am getting the response as <!DOCTYPE html> <. ..> So, it is throwing exception org.apache.axis2.AxisFault: Error while building Passthrough stream at org.apache.synapse.transport.passthru.util.RelayUtils.handleException(RelayUtils.java:384) at org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:196) at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:113) at org.apache.synapse.mediators

WSO2 EI giving preflight request CORS error while requesting from Angular client

断了今生、忘了曾经 提交于 2021-01-29 09:57:56
问题 I am using angular client to call a rest api in wso2 which is exposed from a data service not directly built as an api and also tried many solutions provided in stack overflow and also wso2 documentation , nothing helps. 回答1: With regard to OPTIONS requests in the preflight, the WSO2 Enterprise Integrator (EI) behaves as follows depending on the implementation of the API. If we have defined OPTIONS as a resource method, then EI sends the request to the backend service to collect the

Error: Unable to retrieve custom url info from APIM Admin API - WSO2 API Manager Analytics

痴心易碎 提交于 2021-01-29 09:19:20
问题 I am trying to configure WSO2 API Manager Analytics. I tried the Quick Setup locally (it works) and am now attempting the Standard Setup with API Manager in a VM and API Manager Analytics in a separate VM. But when I access /analytics-dashboard, I get a blank dark screen with the following error: The returned error is : Error: Unable to retrieve custom url info from APIM Admin API Any pointers on what could have been misconfigured? 回答1: Please try the following: Open the <API-M_ANALYTICS_HOME

Creating WSO2 BPEL project for JSON webservices

…衆ロ難τιáo~ 提交于 2021-01-29 08:31:52
问题 I have the WSO2 Developer Studio Eclipse Plugin downloaded. And I was looking at this tutorial: http://wso2.com/library/tutorials/2010/07/eclipse-bpel-designer-wso2bps-tutorial/. But it seems to be talking about using SOAP. But my webservices, which are written in PHP(in live servers) are REST using JSON. Accepts data via HTTP GET methods by these webservices and respond back with JSON data. So how will I implement a BPEL project making use of the JSON webservices? Any ideas or suggestion? Am

WSO2 IdentityServer 5.11 and WSO2 API Management 3.2.0 integration have DB script issue

一笑奈何 提交于 2021-01-28 21:55:40
问题 Following the below URL https://apim.docs.wso2.com/en/latest/install-and-setup/setup/distributed-deployment/configuring-wso2-identity-server-as-a-key-manager/#step-4-configure-wso2-is-with-wso2-api-m When I am trying to configure WSO2 IS 5.11.0 and WSO2 APIM 3.2.0, found below issues The table alternation sql commands are not working until removing AUTO_INCREMENT tag. The sql commands are shared_db ALTER TABLE REG_RESOURCE_COMMENT ADD COLUMN REG_RESOURCE_COMMENT_ID INTEGER NOT NULL AUTO

WSO2 EI: Dataservice using giving INCOMPATIBLE_PARAMETERS_ERROR when calling through REST API

匆匆过客 提交于 2021-01-28 19:57:26
问题 I am using WSO2 EI 6.3.0 version. I am creating data service within the application which reads data from CSV. I am running into very unusual case where I have created two data services. One with sample Product.csv which is shipped with WSO2 EI. When calling Sample (Product.CSV) I am able to get the json response message. but when I am trying to invoke another API which other data service it is giving me below error: [2018-10-10 17:57:31,916] [EI-Core] ERROR - JsonStreamFormatter Error

Error: Connection refused while token generating via WSO2 Devportal

北慕城南 提交于 2021-01-28 19:45:10
问题 I am configuring WSO2 fully distributed APIM 3.1.0 with IS as KM and Dev/Publisher in one node. My IPs are as below, Gateway IP - 172.42.42.20 DNS: gw.local.com ISKM IP - 172.42.42.40 DNS: iskm.local.com Dev/Publisher - 172.42.42.80 DNS: apim.local.com All the configurations are done following WSO2 documentation and ansible scripts. But an error occurred while generating tokens via devportal. Using the curl command the tokens can be generated successfully. How to fix this issue? The carbon

WSO2is XACML API

感情迁移 提交于 2021-01-28 17:47:22
问题 I can use the API REST for XACML without problem following this article https://docs.wso2.com/display/IS560/Using+REST+APIs+via+XACML+to+Manage+Entitlement. My basic question is, how can i access to pdp endpoint for validate access for the logged user, using the access token of the user that i want to apply the access rules? For every request i need to send the admin user and password for tenant where the user that i can validate exist. I want to know if is possible to use this same endpoint

WSO2is XACML API

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-28 17:45:54
问题 I can use the API REST for XACML without problem following this article https://docs.wso2.com/display/IS560/Using+REST+APIs+via+XACML+to+Manage+Entitlement. My basic question is, how can i access to pdp endpoint for validate access for the logged user, using the access token of the user that i want to apply the access rules? For every request i need to send the admin user and password for tenant where the user that i can validate exist. I want to know if is possible to use this same endpoint