wso2esb

Invoking HTTPS end point from wso2 esb

你离开我真会死。 提交于 2019-12-08 02:01:41
问题 How do I invoke a HTTPS endpoint from WSO2 ESB. My web service deployed on weblogic server is secured with policy Wssp1.2-2007-Https-UsernameToken-Plain.xml and the SOAP address specified in WSDL is https://172.16.91.21:7102/WLSAMLPack_62_64/CustomAsTAPIOnBuildingSAMLService When I try to create an endpoint from WSO2 esb and access it, it throws following error: [2012-08-29 11:43:49,769] ERROR - ClientHandler I/O error : General SSLEngine problem For : 172.16.91.21:7102 For Request :

How to set ThreadPool (Dsnd_t_max) in WSO2 ESB

…衆ロ難τιáo~ 提交于 2019-12-08 00:25:17
问题 WSO2 ESB is not loading all proxies (more than 20). Then we increased following two values in the startup script and it worked: -Dsnd_t_core=120 -Dsnd_t_max=600 But then we encountered several fatal issues of the WSO2 ESB. Several JMS proxies were blocked and did not consume anymore messages. The worst thing of all: NO ERROR in the carbon.log! In addition the CPU load on the server went up to 100%. A restart did not solve the problem, only deactivating scheduled tasks or proxies solved the

How to avoid endpoint suspension in wso2 esb when actual end point is down

蹲街弑〆低调 提交于 2019-12-07 11:17:55
问题 I am using message store to store the message in case the actual end point is down. My proxy uses vfs transport, i.e it will read the message from the file and deliver to end point. In case the end point is down it will store the message in configured activemq. My configuration is working fine when i kept single file. While keeping more files(i.e more messages) and end point is down only first few message get stored others are lost. Even i searched a lot of content most of them suggesting it

WSO2 Python Script Mediator

纵然是瞬间 提交于 2019-12-07 01:43:38
I'm trying to use a Script Mediator in WSO2 that has the following definition: <script xmlns="http://ws.apache.org/ns/synapse" language="py" key="myPythonScript" function="process"/> I had to hard-code the "py" as language since Javascript, Ruby, and Groovy were the only options available in the language drop down list, although the WSO2 ScriptMediator documentation states that Python is supported. When I try to save my proxy changes I get the error "ERROR - ScriptMediator No script engine found for language: py" Is Python, in fact, unsupported in WSO2 in the ScriptMediator? Or do I need to

How can i get HEADER in my ESB i am using following property, its not not working

我是研究僧i 提交于 2019-12-06 21:09:30
i am getting the data from mobile client they are sending data in JSON as well as sending some values as HEADER to WSO2ESB i am getting normal values using this property <property name="asset" expression="//asset/text()" scope="default"/> but how can i get HEADER in my ESB i am using this property its not not working <property name="username" expression="get-property('transport', 'Accept')"/> how it will work will you revert me as soon as Thanks in advance if what you are trying to access is 'username', the configuration should be: <property name="some_name_here" expression="get-property(

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=

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

wso2 esb how to increase endpoint timeout

我们两清 提交于 2019-12-06 11:55:26
I have JMS queue message processor sequence where request is send to SOAP endpoint. However request to this endpoint can take a long time, up to 30 minutes or so. How can I can configure ESB to allow long timeout values ? Currently I'm getting following error after 60 seconds: [2014-01-20 14:18:31,772] WARN - TargetHandler http-outgoing-4: Connection time out while in state: REQUEST_DONE [2014-01-20 14:18:31,775] WARN - SynapseCallbackReceiver Synapse received a response for the request with message Id : urn:uuid:c6a023c2-7fb4-4321-b1c2-d78e9bb13add But a callback is not registered (anymore)