wso2esb

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:

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=

Access NTLM Secured WS Througth WSO2ESB

倾然丶 夕夏残阳落幕 提交于 2019-12-23 02:04:11
问题 Hello guys I'm trying to setup a proxy service on WSO2ESB to access a NTLMv2 secured WS. I created a mediator class to achieve this but not luck so far, I keep receiving 401 status Here is the code. Proxy Service: <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="test" transports="http" statistics="disable" trace="disable" startOnLoad="true"> <target endpoint="fincasEP"> <inSequence> <class name="com.aig.mediator.NTLMAuthMediator"> <property name=

Access NTLM Secured WS Througth WSO2ESB

守給你的承諾、 提交于 2019-12-23 02:01:56
问题 Hello guys I'm trying to setup a proxy service on WSO2ESB to access a NTLMv2 secured WS. I created a mediator class to achieve this but not luck so far, I keep receiving 401 status Here is the code. Proxy Service: <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="test" transports="http" statistics="disable" trace="disable" startOnLoad="true"> <target endpoint="fincasEP"> <inSequence> <class name="com.aig.mediator.NTLMAuthMediator"> <property name=

TCP transport in Proxy wso2 esb

放肆的年华 提交于 2019-12-22 17:42:10
问题 I want to send a request over TCP transport to a proxy service, when use this code to send my soap xml Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); outToServer.writeBytes("soap xml instance"); clientSocket.close(); it works fine and my business is continues. But when i send two xml without closing the socket like this: Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new

TCP transport in Proxy wso2 esb

那年仲夏 提交于 2019-12-22 17:42:07
问题 I want to send a request over TCP transport to a proxy service, when use this code to send my soap xml Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); outToServer.writeBytes("soap xml instance"); clientSocket.close(); it works fine and my business is continues. But when i send two xml without closing the socket like this: Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new

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

烂漫一生 提交于 2019-12-22 14:59:14
问题 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

wso2 esb how to increase endpoint timeout

别说谁变了你拦得住时间么 提交于 2019-12-22 14:02:07
问题 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

WSO2 API Manager - Displaying Private IP in the store

天大地大妈咪最大 提交于 2019-12-22 10:58:08
问题 I have installed the API manager 1.6.0 and got API Manager running as well. However the problem is IP address shown within store is the private IP of the server. Private IP is accessed via a VPN. Below is the URL which is shown in the store as Production and Sandbox URLs, http://192.168.6.162:8280/railway/2.0 For 192.168.6.162 I have assigned a public IP which is 103.11.35.xx and assigned a domain my-domain-name as well. What I would like to see is as below, http://my-domain-name/railway/2.0