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
3
votes
3 answers

WSO2 Synapse: setting a URL parameter

I am trying to do something that seems straightforward but can't get it to work. Basically I want the WSO2 API manager to add a URL parameter to a REST call. Setup and Problem I have a WSO2 API manager installed. I also have a Tomcat running with a…
JRobinss
  • 191
  • 1
  • 10
3
votes
1 answer

Pass property from inSequence to outSequence

I'm sending a message with a Proxy to a HL7 TCP/IP port and get the response in the outSequence. But my problem is that all properties set in the inSequence are not anymore available. All of them are null. I tested with all the different scopes…
Philipp
  • 4,645
  • 3
  • 47
  • 80
2
votes
1 answer

Can I obtain the full URL path of an endpoint inside WSO2 handler/mediator?

I am using WSO2 AM 2.6, with two domains pointing to the GW host: domain1.com domain2.com Is there a way to figure out, inside a mediator or a custom handler, if the API was invoked using domain1.com or domain2.com? Either a property or function…
Ofer Lahav
  • 411
  • 4
  • 14
2
votes
3 answers

Is there a way to set a default value for a property mediator if the property does not exist in the request body?

I am building a simple API in WSO2 EI/ESB. I am saving each of the request parameters to properties like so: And then building a payload using the…
2
votes
0 answers

synapse and https 500 error

There was a problem with the passage of authorization on the site https://www.google.com for receiving data. I use synapse HTTPSend. Connection I do as follows: procedure TForm1.Button2Click(Sender: TObject); var httpsend: httpsend; begin …
2
votes
1 answer

How to Configure custom synapsis handler for a specific API in wso2 EI 6.1.1

I need to map my custom synapse handler to a specific API in WSO2 EI 6.1.1. I tried below two separate methods to configure the Custom synapse Handler to map with API method 1: configure the handler in EI_HOME/conf/synapse-handlers.xml This way the…
2
votes
1 answer

unable to get endpoint from a property in wso2 esb 5.0.0

I am trying to send a message to JMS queue, the queue name is dynamic and it will be fetched from DB. Along with the queue name, connection factory details, initial context factory, provider url are concatenated and saved in a property (endpt) in…
Naresh sivaram
  • 37
  • 1
  • 11
2
votes
1 answer

WSO2 waiting for required OSGI services during startup

I'm running WSO2 AM 1.10.0 in cluster node on two virtual machines on my PC (one acting as manager node the other is a worker node). Recently I had to re-install my PC from scratch with Windows 10, and occasionally after restart I receive the…
Ofer Lahav
  • 411
  • 4
  • 14
2
votes
1 answer

The second service call in a sequence does not propagate http headers

I'm creating a sequence in WSO2 Api Manager which needs to receive a request A, transform this request to B and send it to a service S1. When response comes I need to update some elements of the original request based on the response body and send…
lukastymo
  • 26,145
  • 14
  • 53
  • 66
2
votes
1 answer

Changing WSO2 / Synapse to expose CXF service instead of AXIS2

Currently WSO2/Synapse uses AXIS 2 services as a base and proxy service tag exposes a typical service based on AXIS 2 engine. Is it possible to change this to expose CXF service instead? If it's not currently supported out of box, can you give an…
Harish
  • 7,589
  • 10
  • 36
  • 47
2
votes
1 answer

WSO2 ESB 4.8.1 ERROR White spaces are required between publicId and systemId

We are working with WSO2 ESB 4.8.1 with JAVA 1.7.0_55. Always, when we start the ESB and make the first request we receive this error: TID: [0] [ESB] [2015-04-22 10:51:31,067] ERROR {org.apache.synapse.transport.passthru.util.RelayUtils} - Error…
2
votes
1 answer

How can I assign a url from a property for a Send Mediator within WSO2 ESB?

I'm looking to create a Send Mediator using a url that's configured within a separate database. I have the url in question assigned to a property myurl within my sequence. How can I create a send using this property as the send's url? Something like…
Brian
  • 186
  • 2
  • 11
2
votes
3 answers

WSO2 XPATH always returns null

This is my problem. Im receiving the following xml from a DS that has an event trigger to the ESB. 3083e5b9-f8fd-426f-a017-42439f47eefc
Ray
  • 483
  • 4
  • 17
2
votes
1 answer

Change the timeout from 30 sec in wso2 esb 4.8.0

I am trying to change the wso2 esb response timeout which is by default 30 sec. I have tried changing the timeout in all the wso2 config files from 30000 to 60000. But it is still not helpful. I added the following in the axis2.xml:
2
votes
2 answers

How to handle Endpoint warnings in wso2esb

I am using wso2 esb 4.8.1, I wish to handle warning of endpoints.I am trying to hit CXF services in tomcat server. If I test with wrong action (Operation/method)name or service name in tomcat. I am getting this message in SOAP. No…
Faisal
  • 1,469
  • 2
  • 13
  • 25
1
2
3
13 14