wso2

Connection issues after turning off embedded LDAP

你离开我真会死。 提交于 2019-12-06 16:41:39
When disabling embedded-LDAP in my Identity Server install, I receive the following startup errors: [2017-10-09 14:12:03,955] ERROR {org.wso2.carbon.user.core.ldap.LDAPConnectionContext} - Error obtaining connection. [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1] javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1] Caused by: org.wso2.carbon.user.core.UserStoreException: Cannot create connection to LDAP server. Error message Error

WSO2 ESB as a Pure Pass-Through WSDL Server with All Original Operations

拈花ヽ惹草 提交于 2019-12-06 15:58:32
I am a newbie in the world of WSO2 EST so my question below could be somewhat pathetic but I just wanted to ask to get help asap. I have a WSDL of a remote web service but it is only presented in SOAP 1.2. My application can only work with SOAP 1.1 WSDL's. So I installed WSO2 ESB, added new proxy service, namely pass-through proxy, and on the "deployed services" list page, I right-clicked WSDL 1.1 on the newly created service row and used "save as" to save WSDL 1.1 version. However, the only operation available in this WSDL is "mediate" and that's all. What I want to do is just to be able to

How to call python script file from wso2 proxy services

自闭症网瘾萝莉.ら 提交于 2019-12-06 15:52:10
How to call python script file from wso2 proxy service. We tried with send mediator to call the python script file which is located in my local machine. <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="FilepythonTest" transports="http https" startOnLoad="true"> <description/> <target > <inSequence> <send> <endpoint> <address uri="local:///Users/vikashsaharan/Desktop/python/testpy.py"/> </endpoint> </send> </inSequence> <outSequence> <log level="full"/> </outSequence> </target> </proxy> We are unable to call with this call. Please guide me how can i

How we can write a data in to text file using wso2esb

别来无恙 提交于 2019-12-06 14:45:35
i am getting a data or string from front end i am setting the data or string in one property that property data i need to send in text file every time they will send the data i need keep the data in same file without override how can i do i have done using VFS transport i uncommented sender section of vfs in configuration file even though its not working fine below configuration <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="FileWrite" transports="https http" startOnLoad="true" trace="disable"> <description/> <target> <inSequence> <property name=

wso2 governance registry - client looks up service and call service

谁说胖子不能爱 提交于 2019-12-06 13:32:22
问题 I understand that a web service client may use the governance registry to return an endpoint of a service that implements the wsdl specified by the client. The client can then use the endpoint to call the service. The benefit of this approach using the governance registry is that the client does not need to know the location of the destination service up front. The client only needs to know the wsdl and the location of the registry service. Is this a valid reason for using the governance

Loading a registry entry into a wso2 property mediator

江枫思渺然 提交于 2019-12-06 12:22:17
I am currently loading data from a local entry in the wso2 esb using the following satement: <property name="MAPPING" expression="get-property('mapping_id_ep_v1')" /> It loads the following local entry with the name mapping_id_ep_v1: <mappings> <mapping id="ep_1">http://localhost:8280/services/ep_1</mapping> <mapping id="ep_2">http://localhost:8280/services/ep_2</mapping> <mapping id="ep_3">http://localhost:8280/services/ep_3</mapping> <mappings> I would like to load the data from a registry entry. I thought the following would work: However, it throws an exception: Evaluation of the XPath

Call WSO2 DSS service using ajax?

我是研究僧i 提交于 2019-12-06 12:20:36
问题 I have one data service in WSO2 DSS. And also its possible to call using browsers.But i can't make a request using ajax to call this service.I think CORS issue is occurring.So i want to add Access-Control-Allow-Origin parameter to response header.How this is possible in WSO2 DSS ,Any suggestion ? 回答1: I think you can put a custom headers by adding axis2 custom out flow handler. http://shivendra-tripathi.blogspot.com/2010/04/adding-handler-in-axis2.html?m=1 http://shivendra-tripathi.blogspot

Running WSO2 Carbon as Web Application in Tomcat

穿精又带淫゛_ 提交于 2019-12-06 11:52:03
I'm trying to run WSO2 Carbon as a web application in Apache Tomcat. I've followed the procedure discussed at http://pradeepfernando.blogspot.com/2012/09/running-wso2-carbon-as-web-app-apache.html . I've added the web application folders into Tomcat webapps folder, configured HTTPS listener of Tomcat. Server logs show that application is successfully deployed and OSGI console is started. When I try to connect to application from https://localhost:8443/crbn/carbon , I get a 404 error. There are no exceptions in server logs. Tomcat error screen contains reference to BridgeServlet: /crbn/carbon ,

How to convert SOAP response with xsi values to json in WSO2esb

时光总嘲笑我的痴心妄想 提交于 2019-12-06 11:37:45
I'm using wso2 esb 4.8.1 version for SOAP to rest conversion with as API. I have a soap request with xsi values. After I generate the proper soap request with script mediator and um getting an expected response. But I have an issue with response. Because I need t convert the soap response into json. When I tried with following out sequence um not getting the proper json response with axis2. How can I convert this soap response into json properly? This it the soap response. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Deploying WSO2 ESB 4.6.0 onto JBoss 7

北城以北 提交于 2019-12-06 11:36:20
问题 I'm looking for a way to deploy WSO2 ESB onto JBoss 7 . I saw in the Web such manuals for JBoss 5.1.0 . AFAIK JBoss 7 is quite different from JBoss 5.1.0 . In particular, forked from Tomcat JBossWeb is used there instead of Tomcat. Therefore I don't think that a manual for JBoss 5.1.0 is suitable for JBoss 7 . Has somebody done the subj successfully? Is there any manual, guide or something like that, describing how to do this? 回答1: We stopped supporting webarchive deployment model from carbon