wso2

WSO2 ESB - Dynamic value for proxy parameters (transport)

拟墨画扇 提交于 2019-12-23 12:29:06
问题 I need to be able to specify a dynamic value for proxy parameter. Actually, I have to specify each parameter with complete URL like : <parameter name="transport.vfs.FileNamePattern">.*.txt</parameter> I see some samples with property mediator and I guess it's working for next proxies but the problem here is that I need to change the proxy parameters value before its execution I think. I tried with a "trigger" proxy calling a custom mediator which change SynapseConfiguration of required proxy

wso2 esb file processing example smooks csv parser first line includes payload namespace

两盒软妹~` 提交于 2019-12-23 11:13:33
问题 Dabbling with WSO2 ESB example http://wso2.org/library/articles/2011/01/wso2-esb-example-file-processing but encountering a problem where when a simple csv file name0,value0 name1,value1 name2,value2 name3,value3 is parsed by smooks using this configuration <smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:csv="http://www.milyn.org/xsd/smooks/csv-1.1.xsd"> <csv:reader fields="name,value" /> </smooks-resource-list> results in largely the correct output but the first

Is WSO2 DAS the new name or successor product for WSO2 BAM?

我的未来我决定 提交于 2019-12-23 10:06:05
问题 We are evaluating the WSO2 API Manager 1.8.0 (WSO2 AM) together with the WSO2 Business Activity Monitor 2.5.0 (WSO2 BAM). From our support partner Yenlo we got the WSO2 recommendation to use WSO2 BAM 3.0 for new installation, because the changes from BAM 2.5.0 to BAM 3.0.0 are massive. BAM 3.0 is not released yet (see the release plan in JIRA). But milestone 4 should be available. But the only thing I can find is milestone 3 of BAM and milestone 4 of DAS (Data Analytics Server) as announced

TCPTransportSender cannot be found by axis2_1.6.1.wso2v15 in WSO2 DSS 3.5.0

☆樱花仙子☆ 提交于 2019-12-23 09:49:46
问题 I am upgrading WSO2 DSS 3.2.2 server to 3.5.0, but I am eventually getting this error: Caused by: java.lang.ClassNotFoundException: org.apache.axis2.transport.tcp.TCPTransportSender cannot be found by axis2_1.6.1.wso2v15 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi

Problems on WSO2 with Oracle RDS Amazon integration

爱⌒轻易说出口 提交于 2019-12-23 06:49:10
问题 When I accessed this URL http://my.domain.com:9763/services/Test_DataService.SOAP12Endpoint, I received the message bellow: This XML file does not appear to have any style information associated with it. The document tree is shown below. <soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Text xml:lang="en-US"> The endpoint reference (EPR) for the Operation not found is /services/User_DataService.SOAP12Endpoint and the WSA Action = null. If this EPR was

WSo2 ESB 4.0.3 and JSON in REST service

二次信任 提交于 2019-12-23 06:24:36
问题 I am trying to use a REST service spit out a JSON output in WSB403 and I have been highly unsuccessful. I followed the steps outlined from the below link. ESB and JSON I have added the DynamicResponseModule and I have it assigned globally. When I run the REST service normally, I get a XML formatted output as expected, but when I try to add a " response=json ", my service times out and I get the following stacktrace. Internally the DynamicResponseModule is supposed to map this responseType to

WSO2 ESB doesn't process Put request from API store

。_饼干妹妹 提交于 2019-12-23 04:25:13
问题 We are using WSO2 ESB 4.7.0 and WSO2 API Manager 1.6.0 I have an API defined the ESB which takes a PUT request and processes it to a back end system and sends back the response as success. The API works fine if I use the soap client or Advanced Rest Client. Request URL: http://:/CurriculumAdmin/Terms/2010/Classes/11513/LMSURL?LMSURL=KRanthiPUTARCAPI Response: Status 200 OK But if I create a API using the WSO2 API manager and use the try it option from there, I get a 202 response Request URL:

Connection issues after turning off embedded LDAP

帅比萌擦擦* 提交于 2019-12-23 04:16:08
问题 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

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

帅比萌擦擦* 提交于 2019-12-23 03:20:56
问题 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=

How to access response payload content from custom handler in WSO2 APIM 1.9

倖福魔咒の 提交于 2019-12-23 03:12:44
问题 How to access response payload content from custom handler in WSO2 APIM? I tried get this from org.apache.synapse.MessageContext or from org.apache.synapse.core.axis2.Axis2MessageContext; but I am not able get the response payload. Can anyone please help? 回答1: You need to build the message inside you handler before reading the payload, as shown below. public boolean handleResponse(MessageContext messageContext) { try { RelayUtils.buildMessage(((Axis2MessageContext) messageContext)