Questions tagged [apache-synapse]

Apache Synapse is a lightweight and high-performance Enterprise Service Bus

Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB).

Powered by a fast and asynchronous mediation engine, Apache Synapse provides exceptional support for , and .

In addition to XML and , Apache Synapse supports several other content interchange formats, such as plain text, binary, Hessian and JSON. The wide range of transport adapters available for Synapse, enables it to communicate over many application and transport layer protocols.

As of now, Apache Synapse supports HTTP/S, Mail (POP3, IMAP, SMTP), JMS, TCP, UDP, VFS, SMS, XMPP and FIX.

207 questions
2
votes
1 answer

wso2 esb - How to handle request in case of mediator returning false

I have custom mediator where we are validating internal authentication system. If authentication fails, mediator return false. Client receiving response as HTTP status code 202. This I want to override with some JSON response like { "authError" :…
2
votes
1 answer

Addon issue with ofxOSC.h

I am facing an issue with integrating synapse with openframeworks in Xcode. the problem is that the file synapsestreamer.h cannot find ofOSC.h. I tried dragging the ofxOSC folder into the addon folder and it still would not work. I am new to…
2
votes
1 answer

WSO2 ESB XSLT Mediator creates temp files (never cleaned)

I use WSO2 ESB 4.5.1 on Windows. My problem is that the temp folder WSO2_HOME/tmp is growing up and never cleaned. I found out that the problem comes from the xslt mediator, everytime it transform a big xml file (~15kb) a new temp file is…
Darkpara
  • 304
  • 1
  • 2
  • 14
2
votes
1 answer

FIX transport logon message, username/password configuration

In the FIX transport implementation, If synapse acts as an initiator, it first sends logon message to the acceptor..If the acceptor requires username/password for logon message, is there a way to provide that configuration in initiator.cfg file? In…
Ratha
  • 9,434
  • 17
  • 85
  • 163
2
votes
0 answers

WSO2 API manager Synapse-HttpComponents-NIO get a 404 when curl get 200

I'm calling a PHP API located on the same host of the API manager using a published API. The client application is SoapUI or curl. I issue the call and it gets passed to the httpd server that return: curl -H "Authorization: Bearer…
Luca Gioppo
  • 195
  • 2
  • 12
2
votes
2 answers

WSO2 ESB Mediation Sequence vs Proxy Service

WSO2 ESB has Mediation Sequences and Proxy Services for implementing EAI patterns. I am currently new and couldn't distinguish when to use a Mediation Sequence or Proxy Service. Both seem to work well in most of the use cases. When should I use…
Leo Prince
  • 940
  • 2
  • 14
  • 33
2
votes
1 answer

WSO2 Enrich Mediator

[WSO2 ESB V4.5.0] What is wrong with how I'm configuring the enrich mediator to accumulate XML? I have a sequence of n PojoMediators that retrieve XML from a database with each setting a context property with the XML represented as a string. For…
2
votes
2 answers

POST Request to Proxy Service WSO2

I am sending a post request to proxy service but its giving error ... how can i resove this one [2012-06-15 12:24:27,656] INFO - BuilderUtil OMException in getSOAPBuilder org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:…
behinddwalls
  • 644
  • 14
  • 39
1
vote
2 answers

Access-Control Origin HTTP header on WSO2 ESB Out

How do I set custom HTTP headers on an ESB proxy service Out Sequence? I'm trying to set "Access-Control-Allow-Origin" to allow my javascript/html front-end page to be able to GET the XML that is provided by this service. I also need to add a…
1
vote
1 answer

How to start WSO2 ESB with different Synapse configuration like the samples?

I would like to have multiple Synapse configuration files like the WSO2 ESB samples, e.g. wso2esb-samples.bat -sn 1 to start the ESB with repository\samples\synapse_sample_1.xml and etc. How to configure WSO2 ESB to load Synapse configuration from a…
user851110
  • 259
  • 2
  • 4
  • 11
1
vote
1 answer

WSO2 IntegrationStudio 8.2.0 Endpoint requiring SSL

I've an endpoint which can be reached only through SSL validation. E.g. to reach it by Google Chrome, I've installed xxxx.p12 certificate. On other implementations, such as python, I can reach the endpoint by expliciting the cert part in the…
Cristiano
  • 51
  • 5
1
vote
1 answer

WSO2 API Manager(wso2am-4.0.0) - Where are the synapse configurations located in the latest version?

I'm currently using wso2am-4.0.0 and I have been using wso2am-2.1.0 previously. In the previous version, a synapse configuration xml per each API could be located in the below folder…
1
vote
1 answer

Problem with evaluating XPath while using Apache Synapse

I'm trying to run Apache Synapse samples on ubuntu 11.04 64-bit and I have found problem with evaluating XPath expression in sample nr 2. My XPath expression: $
user884147
  • 11
  • 2
1
vote
1 answer

XSL:FO to PDF Mediator fails in "no object DCH for MIME type application/pdf"

I’ve written a simple XSL:FO to PDF mediator. The transform of the XSL:FO document seems a success, but returning a PDF does not seem to work. In the axis2.xml file I’ve added the rules for application/pdf:
1 2
3
13 14